BoKr Posted February 8, 2014 Share Posted February 8, 2014 (edited) Well my aim was to edit three cms pages today. Two went fine and the third throws an error when I try to save?!! No matter I do I can not save the cms page. Why? Edited February 11, 2014 by B.Köring (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted February 9, 2014 Share Posted February 9, 2014 Hi Boris, 1) activate debug-modus. 2) are you using one of the modules of german community ? If yes you should disable module and also delete the overrides. Regards Conny 1 Link to comment Share on other sites More sharing options...
vekia Posted February 9, 2014 Share Posted February 9, 2014 you use probably some html tags that are blocked in validate function, or for example javascripts. can you show contents of your cms page (full html code) please? 1 Link to comment Share on other sites More sharing options...
BoKr Posted February 10, 2014 Author Share Posted February 10, 2014 Dear Conny, you are right. I use of course German button fix with its overrides but no module going in this direction. I am going to activate debug mode as fast as I can and post news then. Dear Vekia, I think it could be very much possible I have no clean or prestashopable HTML code in the CMS. At least the problem CMS pages are pretta old and I think to remember I created them partially in dreamweaver or some extern tool and copy and pasted then them into tinycms. For sure I know I make use of anchor links. Remarkable is I never had issues like saving a cms pages. May be they came with PS1562. I'd preder to post you the CMS in html via pm as fast as it is possible. Thanks in advance! Boris Link to comment Share on other sites More sharing options...
vekia Posted February 10, 2014 Share Posted February 10, 2014 thak you! i received it and checked problem is with this part: <script type="text/javascript" language="JavaScript" src="//smarticon.geotrust.com/si.js"></script> by default prestashop doesn't accept javascripts <script></script> there are two ways to fix: - change validate.php file - add this script right in cms.tpl file Link to comment Share on other sites More sharing options...
selectshop.at Posted February 11, 2014 Share Posted February 11, 2014 Vekia, isn't it possible to add the JS with your free-box module ? This script normally is for SSL-certificates. I added mine through your module and have not the problems Boris is having. Link to comment Share on other sites More sharing options...
BoKr Posted February 11, 2014 Author Share Posted February 11, 2014 Interesting idea Connie. I found here in the forum and much more detailed information on http://mypresta.eu/ how to break the constraints of CMS in Prestashop (at least the issues with scripts, advanced tags etc. in CMS html code - I hope I use the proper terms here). I will look when time has come for an override of validate.php or edit it myself as the tuts explain. PS: I wonder why I was able to edit and safe those CMS pages without any problems before 1.5.6.2. At least now I noticed the issues. However, if it is ok, I set this thread to solved. I could change that again if needed Link to comment Share on other sites More sharing options...
vekia Posted February 11, 2014 Share Posted February 11, 2014 prestashop changing script core all the time latest 4 updates (1.5.6.2, 1.5.6.1, 1.5.5.0, 1.5.4.1) has got different isCleanHtml validate functions this is why it doesn't want to work in 1.5.6.2 Link to comment Share on other sites More sharing options...
vincent89 Posted July 10, 2014 Share Posted July 10, 2014 prestashop 1.6.0.8 I Found the solution without modify anything in the presta files. enable ssl and force the ssl on all pages but uncheck html purifier library (very important). you could enable it after insert the image. then go on CMS (exemple: about us) the image who's already there when you install prestashop work well even in ssl so you have to copy how they wrote the code. <img title="cms-img" src="../img/cms/cms-img.jpg" alt="cms-img" width="370" height="192" /> replace by your name image <img title="your name image" src="../img/cms/your name image.jpg" alt="your name image" width="370" height="192" /> write this way on the little popup window [insert/edit image] right after uploaded and chose the image from your file manager. source ../img/cms/your name image.jpg image description .... dimensions ... Save it and go to enable the html filter purifier if you done to put new images. Now it should work. your image is here and your page is still SSL. ps: you'll have to disable html purifier library every time you need to add a new picture from your file manager otherwise it will appear this famous question mark instead of the image and your page won't be SSL It tooks 2weeks to found that, I hope you'll appreciate this post. That's the most annoying bug on prestashop, I don't even know why the Presta team didn't fix that so far!!!!???? I still have a problem with the homeslider who's disappear when running on Safari, need to refresh the page every time I come back on the home page!!! if somebody have the Solution I'll appreciate to know it thanks vince Link to comment Share on other sites More sharing options...
vekia Posted July 10, 2014 Share Posted July 10, 2014 im affraid that purifier can't generate "cms->content is not valid" error. its totally not related to back office. 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