-
-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REF] Permit domain tokens being used within Thank You letters #17230
[REF] Permit domain tokens being used within Thank You letters #17230
Conversation
(Standard links)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seamuslee001 Just one request to move a line of code and then this is good to merge.
$domain = CRM_Core_BAO_Domain::getDomain(); | ||
$tokenHtml = CRM_Utils_Token::replaceDomainTokens($tokenHtml, $domain, TRUE, $messageToken); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seamuslee001 Can you put this above replaceContactTokens()
- we found a scenario with the mailings recently when for some reason replaceContactTokens()
stripped the domain tokens and they didn't get set.
Re-arrange code as per Matt's comment
ce6123b
to
cb9b864
Compare
@mattwire done now |
Merging as per MOP tag. |
Overview
Contribution Thank you letters do not output domain tokens e.g. {domain.name}
Before
Domain tokens are not outputted in Contribution Thank you letters
After
Domain tokens are replaced in Contribution Thank You letters
ping @mattwire @eileenmcnaughton @monishdeb