santosh_csc
8 years agoGuide
How to do Text replace in email template?
Text key looks like this.
footer={communityTitle} sent this message to {Recipient}.
Now I have to replace {communityTitle} with the name of the community which is available in the context object.
#set ($footer1=$footer.replace("communityTitle",${community.title})) ${footer1}
Above piece of code is not working.
Any idea why?
How can I achieve this?