Page 1 of 1

Re: Problem with links in email events since Update to Version 3.2.1

Posted: Thu Mar 01, 2018 10:24 pm
by amosbatto
When you put this in the template's rich text editor:
Code: Select all
https://@=ticket_id_link
The template editor will automatically recognize it as a URL and transforms it into this HTML code:
Code: Select all
<p><a href="https://=ticket_id_link">https://@=ticket_id_link</a></p> 
You can fix this by editing the HTML code and changing it to:
Code: Select all
<p><a href="https://@=ticket_id_link">https://@=ticket_id_link</a></p> 
You can also prevent this problem by putting the protocol in your variable. If you set the variable in the trigger like this:
Code: Select all
@@ticket_id_link = "https://example.com/extra/info"; 
Then you can use this HTML in the template:
Code: Select all
<p><a href="@=ticket_id_link">@=ticket_id_link</a></p> 

Re: Problem with links in email events since Update to Version 3.2.1

Posted: Fri Mar 02, 2018 7:54 pm
by amosbatto
I now see the problem that your are describing. When the form is saved, it changes the HTML code.

To get around it, I used this trigger code:
Code: Select all
@@ticket_id_link = '<a href="https://myexample/extra/info">Extra Info</a>'; 
Then I used this in my template:
Code: Select all
For more, see: @=ticket_id_link
Please register a bug report about this at http://bugs.processmaker.com

Re: Problem with links in email events since Update to Version 3.2.1

Posted: Mon Dec 04, 2023 9:23 am
by robert3erw
I get this bug to. It's breaking a lot of stuff for me. Can you link to the raised issue