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

profile fields are not populated in ReceiptMessage.tpl

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8
    • Component/s: CiviContribute, CiviEvent
    • Labels:
      None

      Description

      The contribution thankyou email (templates/CRM/Contribute/Form/Contribution/ReceiptMessage.tpl) includes sections for $customPre profile, and $customPost profile. Like:

      {foreach from=$customPre item=value key=name}

      {$name} : {$value}

      {/foreach}

      There's three problems:
      1) These fields are arrays hence you get something like "phone-Primary-Phone : Array"
      2) $name is the internal name and not the display name
      3) the arrays contain only information about the field, not the actual field value

        Attachments

          Activity

            People

            • Assignee:
              junia Junia Biswas
              Reporter:
              dalin dave hansen-lange
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: