stasinus Posted February 15, 2015 Share Posted February 15, 2015 (edited) Hi all, Please help to sort out the issue with saving e-mail templates. Main issue: some of the '{' and '}' in templates tokens are somehow being changed to %7B and %7D, so tokens are nor replaced with the values and corresponding links are not working. Saving issue: I've changed ALL templates in both /mail/<lang> and /themes/<my_theme>/mail/<lang> and replaced %7B and %7D with the normal signs - still same issue. I've tried to edit templates with the editor (in translation) - same issue. More to say - when I open a template just after saving it (after fixing) I can see same issue like a template was not saved at all. And weird, why it changes only some signs? Example: <a style="color: #337ff1;" title="{shop_name}" href="%7Bshop_url%7D"> <img src="%7Bshop_logo%7D" alt="{shop_name}" /></a></td> Just realized. Looks like it changes only for href and src (only for links) Prestashop version 1.6.0.11 Edited February 15, 2015 by stasinus (see edit history) Link to comment Share on other sites More sharing options...
Crezzur.com Posted February 15, 2015 Share Posted February 15, 2015 (edited) UPDATE: Solution for this issue can be found here: https://www.prestashop.com/forums/topic/413406-email-templates-urls-broken-after-editing-and-saving-%7B-%7D/ I'm already looking for a solution for this, there is also already a bug report for this (http://forge.prestashop.com/browse/PSCSX-4594?jql=)keep track on the bug report if someone find its it will be released there Greets, Jaimy Edited February 15, 2015 by Crezzur (see edit history) 2 Link to comment Share on other sites More sharing options...
stasinus Posted February 15, 2015 Author Share Posted February 15, 2015 Hi Jaimy, Thank you for the solution, it helped. Will add a comment to the JIRA that I had this issue. Link to comment Share on other sites More sharing options...
Crezzur.com Posted February 16, 2015 Share Posted February 16, 2015 (edited) Hi Jaimy, Thank you for the solution, it helped. Will add a comment to the JIRA that I had this issue. Your welcome Edited February 16, 2015 by Crezzur (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now