MX Newsletter Forum :: using variable in anchor in HTML mail

This thread was displayed: 305 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
dacar
10-13-2006 13:43:18 GMT +2

Hi, i am wondering, how to use a variable in the source of a ahref?

Everytime i use it, KTML converts { to %7B and } to %7D. Can anybody help?

The variable i want to use is: {email}.


Greetings, Carsten.

Back | Reply | Quote | Top
dacar
10-13-2006 14:10:44 GMT +2

is it ok to alter admin/n/templates/form.php like that:

<input type="hidden" id="sourcehtml_tem" name="sourcehtml_tem" value="<?php echo htmlentities($row_mll_templates_tem['sourcehtml_tem']); ?>" size="" maxlength="">


to


<input type="hidden" id="sourcehtml_tem" name="sourcehtml_tem" value="<?php echo htmlspecialchars($row_mll_templates_tem['sourcehtml_tem']); ?>" size="" maxlength="">


Reply | Quote | Top
dacar
10-13-2006 14:59:41 GMT +2

i think it is a ktml2 problem.

i also set xhtml to no but that doesn't hel-. on inserting into mysql,
tml sents the htmlentities. How can i stop this? It is urgent, because i have to send my first newsletter tomorrow.

Reply | Quote | Top
dacar
10-13-2006 16:22:02 GMT +2

hi, i have solved it on a sightly different way:

i have altered the sendmail.php:


$messagehtml        = str_replace("%7B", "{", $row_RS_mailings["usermessagehtml_mal"]);
$messagehtml        = str_replace("%7D", "}", $messagehtml);


It works fine! Have a nice weekend.

@Alexandru: haven't read anything new on your blog for a long time now. I am very keen on what is going on ;-)

Reply | Quote | Top
benjamin wende
02-09-2008 01:56:38 GMT +2

Good Work.

thx

benjamin

jobbörse

Reply | Quote | Top
© Adobe Systems Romania. All rights reserved.