##AGNUID## being replaced only once in an HTML template
Posted: Tue Jul 01, 2008 1:43 pm
Hi there,
I'm just working on a template. I defined one template using agnDYN tags which works really fine. I found that the text-only content is being generated from the HTML content automatically by just omitting the HTML tags. This works fine for me *except* ...
If I wanted to place the unsubscribe link in the HTML content I would do this by something like
When I do this, the plain text content ist just "some text" without the link. No problem, yet. So I should replace the "some text" with the complete URL and it would end up in something like
But this is where the problem begins: The ##AGNUID## token is being replaced only once so that the URL inside the a-tag is correct, but the text being displayed still contains the ##AGNUID## token, resulting in the fact that the plain text readers of the newsletter (those who prefer to even view HTML emails in plain text) still won't be able to get the correct unsubscribe link.
Bug or feature? And what is the solution?
Best regards
Carsten
I'm just working on a template. I defined one template using agnDYN tags which works really fine. I found that the text-only content is being generated from the HTML content automatically by just omitting the HTML tags. This works fine for me *except* ...
If I wanted to place the unsubscribe link in the HTML content I would do this by something like
Code: Select all
<a href="url incl. ##AGNUID##">some text</a>
Code: Select all
<a href="url incl. ##AGNUID##">url incl. ##AGNUID##</a>
Bug or feature? And what is the solution?
Best regards
Carsten