radus Posted November 22, 2014 Share Posted November 22, 2014 (edited) Hi, at image caption in product page, I get D' instead of a single quote [ ' ] how to make it back to [ ' ] ? {l s="{$image.legend|htmlspecialchars|escape:'html':'UTF-8'}"} thnx Hi, at image caption in product page, I get D' instead of a single quote [ ' ] how to make it back to [ ' ] ? {l s="{$image.legend|htmlspecialchars|escape:'html':'UTF-8'}"} thnx Edited December 2, 2014 by radus (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted November 23, 2014 Share Posted November 23, 2014 This probably does it: http://www.smarty.net/docs/en/language.modifier.unescape.tpl 1 Link to comment Share on other sites More sharing options...
radus Posted November 24, 2014 Author Share Posted November 24, 2014 (edited) Pascal, thanks for help. I did not solved the "puzzle" , maybe because I am a beginner. I would need "the fish not the fishing rod" to cite a Chinese saying. PS. It is the IMages caption of Product.TPL http://www.winerepublic.ro/en/white-wine/1170-cuvee-d-excellence-riesling-italian.html Edited November 24, 2014 by radus (see edit history) Link to comment Share on other sites More sharing options...
radus Posted November 27, 2014 Author Share Posted November 27, 2014 Up Link to comment Share on other sites More sharing options...
PascalVG Posted November 28, 2014 Share Posted November 28, 2014 Hi Radus, As you seem to have some custom theme, it's hard to say where to modify this. Would you mind to allow me access to your files, so I can have a quick look? If so, please grant FTP access (Maybe ask you host to set it up for you), or alternatively, give me access to your cPanel or so. Then send the login info to my Email address: [email protected] Let me know, pascal. 1 Link to comment Share on other sites More sharing options...
PascalVG Posted December 3, 2014 Share Posted December 3, 2014 For those interested in what went wrong: In the custom theme, the caption was the product name, but around the product name was a added a translate-function {l s='...'} This function is not necessary, as in the Product definition, you can already add different product name- translations for other languages. Removing the function solved the problem. (Another option would be to fix the {l ..} function at the core, to make it compatible with accents etc. I will leave that as an exercise :-) ) pascal. 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