space_life80 Posted October 10, 2014 Share Posted October 10, 2014 (edited) hello i can not insert any links that can open in a new window, all links are opening in the same window even i set the target to a new window, even when editing the source code in the cms page. all i want to make is to make a separate cms page and insert an external link in it.. Edited October 10, 2014 by space_life80 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted October 10, 2014 Share Posted October 10, 2014 Can you share the site's url? What method are you using to open in a new window? Link to comment Share on other sites More sharing options...
nutxlago Posted October 10, 2014 Share Posted October 10, 2014 (edited) Perhaps Html Purifier is deleting your target _blank attribute. Please, add a target="_blank" (= open in a new window) to a link after deactivating it in B.O. > Preferencies > General > Use HTML Purifier Library. (set to "no") And disable cache in Advanced parameters > Performance, as well to force PS to show changes. If that is not resolving your issue (or you want to have HTML purifier enabled), please, make as proposed by Nemo1. Edited October 10, 2014 by nutxlago (see edit history) 2 Link to comment Share on other sites More sharing options...
space_life80 Posted October 11, 2014 Author Share Posted October 11, 2014 i deactivated HTML Purifier Library and it works fine now, thank you so much. Link to comment Share on other sites More sharing options...
Sacha FROMENT Posted December 12, 2014 Share Posted December 12, 2014 Hello, It has been fixed a there is a long time ago The best way to fix your problem will be to take the function purifyHTML in this class https://github.com/PrestaShop/PrestaShop/blob/1.6/classes/Tools.php#L3245-L3309 Best regards. 1 Link to comment Share on other sites More sharing options...
Recommended Posts