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 »
  • Using Import (Moderator: Yashodha Chaku) »
  • Joomla user registration Name
Pages: [1]

Author Topic: Joomla user registration Name  (Read 1059 times)

noven

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.0.4
  • CMS version: Joomla 1.6
  • MySQL version: 5.5.14
  • PHP version: 5.2
Joomla user registration Name
July 08, 2011, 10:36:49 am
I have an individual profile that automatically creates a Joomla user if not logged in on submission. So far so good. However the Joomla user Name field is populated from the username field on the form. I would like to change this mapping to fill Joomla Name field in with the CiviCRM Firstname field. Where would I find the file that controls this mapping?

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: Joomla user registration Name
July 09, 2011, 01:36:11 am

CRM/Core/BAO/CMSUser.php, function createJoomlaUser

Might want to fill the joomla name field with the civicrm firstname + lastname field. If you do make the change, please contribute your changes back so we can potentially incorporate it into a future release

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 »
  • Using Import (Moderator: Yashodha Chaku) »
  • Joomla user registration Name

This forum was archived on 2017-11-26.