CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • View Only feature in Cutome Data Field
Pages: [1]

Author Topic: View Only feature in Cutome Data Field  (Read 1284 times)

DHLao

  • Guest
View Only feature in Cutome Data Field
March 31, 2009, 01:11:08 am
I need to make a profile form that only available to logged in user.

The profile form has 2 view only data field that show the login user name and the email address.

I know the php coding of getting those data from Joomla, but I don't know where to put those code within CiviCRM.

Or CiviCRM has such feature that no need coding ?

I don't use "Synchronize Users to Contacts" function, because I only want CiviCRM to manage those who had submit the profile.

DHLao

  • Guest
Re: View Only feature in Cutome Data Field
March 31, 2009, 01:46:05 am
I found that "Invididual First name" data field automatically get the "Username" from Joomla.
Also, "Contact Email" data field automatically get the "Email" from Joomla.

How CiviCRM make this ? I don't want Username fill in "First name" data field.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: View Only feature in Cutome Data Field
March 31, 2009, 07:15:40 am

u'll need to modify the code at: CRM/Core/BAO/UFMatch.php, line 220 or so to fix this

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • View Only feature in Cutome Data Field

This forum was archived on 2017-11-26.