[SOLVED] Need smarty REPLACE help for the FEU email notification
Posted: Mon May 03, 2010 11:30 pm
Hi,
Newbie needs help. I want to remove some html tags from a smarty tag (the $link of the FEU email confirmation template)
I guess I should use smarty "replace", but can not find the right syntax.
Something like:
(yes, I know the syntax is bad, that's why I need help)
The failure rate of signups wit the default full long URL has been very high (lots of complaints / emails like "I can not sign up, the link does not work").
I think the reason is that many email clients can not wrap a long URL properly co I´d like to try if this idea works better.
Thanks in advance
Newbie needs help. I want to remove some html tags from a smarty tag (the $link of the FEU email confirmation template)
I guess I should use smarty "replace", but can not find the right syntax.
Something like:
Code: Select all
{$link=replace:'<a href=':'':$link}
{$link=$link|replace:'</a>':'':$link}
<p>Follow <a href="{$link}">this link</a> to complete the registration.</p>
The failure rate of signups wit the default full long URL has been very high (lots of complaints / emails like "I can not sign up, the link does not work").
I think the reason is that many email clients can not wrap a long URL properly co I´d like to try if this idea works better.
Thanks in advance