CRM-2590 Standardize token naming convention

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      We need to standardize the naming convention for token that is used in CiviCRM.

      We use token replacement mechanism in following places:

      1. Message template
      2. CiviMail
      3. Send Email to Contact Activity
      4. Mailing labels

      For 1,2,3 we use "

      {contact.first_name}

      " convention. but for 4 it is "

      {first_name}

      ".

      Check and fix all the places to use "

      {contact.fieldname}

      " convention. (eg.

      {contact.street_address}

      ,

      {contact.custom_1}

      etc)

      Also fix default values for Address formats.

        Attachments

          Activity

          [CRM-2590] Standardize token naming convention
          Kiran Jagtap added a comment -

          -fixed in r - 13057.

          Manish Zope added a comment -

          Assigning to Sunil for verificaiton

          David Greenberg added a comment -

          Support for custom field tokens has also been added for Mailing Labels.

            People

            • Assignee:
              Junia Biswas
              Reporter:
              Kurund Jalmi

              Dates

              • Created:
                Updated:
                Resolved: