refloblu Posted December 10, 2015 Share Posted December 10, 2015 Hello guys, i have a little problem: i added some html text in the HTMLbox module, in order to show a promotion text in the header of my website, however my website is multilanguage and i would like that text to change depending on what language is selected. could anybody help me with that? is the htmlbox content located in some folder? 1 Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 11, 2015 Share Posted December 11, 2015 (edited) You should buy the paid version. It is fantastic, https://mypresta.eu/modules/front-office-features/html-box.html Or you can enter the content in HTML mode and use a conditional if statement, something like, {if $lang_iso == 'en'} <p>Your words here</p> {elseif $lang_iso == 'fr'} <p> Vos mots ici </p> {/if} Edited December 11, 2015 by Bill Dalton (see edit history) 1 Link to comment Share on other sites More sharing options...
refloblu Posted December 11, 2015 Author Share Posted December 11, 2015 You should buy the paid version. It is fantastic, https://mypresta.eu/modules/front-office-features/html-box.html Or you can enter the content in HTML mode and use a conditional if statement, something like, {if $lang_iso == 'en'} <p>Your words here</p> {elseif $lang_iso == 'fr'} <p> Vos mots ici </p> {/if} Hello thanks for your reply, i tried but unfortunately when i insert something like that it shows it as a normal text, like if that command {if $lang_iso == 'en'} (which i think is php) is not working in the htmlbox.. 1 Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 11, 2015 Share Posted December 11, 2015 You have to use the code mode of your tinyMCE editor. But really you are at the point where you really need to buy the module. 1 Link to comment Share on other sites More sharing options...
Eolia Posted December 11, 2015 Share Posted December 11, 2015 This one can help you: http://eoliashop.com/Modules_Prestashop/allblocks Mullti-language and multishops ^^ 1 Link to comment Share on other sites More sharing options...
mjkout Posted July 1, 2017 Share Posted July 1, 2017 have you found a solution for that ? i'm facing the same issue i just need to change a small code to display a different image Link to comment Share on other sites More sharing options...
Recommended Posts