Open main menu

Changes

1,131 bytes added ,  09:41, 11 October 2015
draft
I'm working on getting the CiviMail component to work with custom data tokens that are of type "multi-value".

== Resources ==
# [https://issues.civicrm.org/jira/secure/ReleaseNote.jspa?projectId=10050&version=13690 Release Notes for 4.7]
# [https://issues.civicrm.org/jira/browse/CRM-16448?jql=text%20~%20%22civimail%22 JIRA Board issues for 'CiviMail']


== Tokens ==
The code for <code>[https://github.com/colemanw/civicrm-core/blob/f551f7d327747a4ffc2e34cc7a4be9b044f7004c/CRM/Utils/Token.php Token.php]</code> has changed with [https://github.com/colemanw/civicrm-core/commit/f551f7d327747a4ffc2e34cc7a4be9b044f7004c this commit] to fix tokens in ''greetings'', but I think that might have fixed other issues too because the fix removes the "filter" of the 'contact' key in the $remainingTokens array and now loops through everything/anything in the array.

Additionally, that commit changes the call to <code>CRM_Utils_Token::replaceContactTokens()</code> by setting the <code>$returnBlankToken</code> argument (5) to TRUE. In fact, this part of the change was identified in https://issues.civicrm.org/jira/browse/CRM-17038
4,558

edits