Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-11317

Creating Joomla User from a Civicrm Contact Record does not load the com_user language file correctly

    Details

      Description

      To reproduce:
      1) Create a contact record with an email you control
      2) Hit the Actions button, then 'Create User Account'
      3) Fill out the fields and hit 'Add'
      4) Check your email You will find one with the subject line: COM_USERS_EMAIL_ACCOUNT_DETAILS and the body of: COM_USERS_EMAIL_REGISTERED_WITH_ACTIVATION_BODY Both of which should have been replaced from the com_user language file.

      On the upside the fix is easy:
      Fix:
      In File: /administrator/components/com_civicrm/civicrm/CRM/Utils/System/Joomla.php
      Replace
      Line: 87 $lang->load('com_users');
      With:
      $extension = 'com_users';
      $base_dir = JPATH_SITE;
      $lang->load($extension, $base_dir);

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              galieth Daniel Greig
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: