Jump to content

[solved] Property CMS->content is not valid -- can not edit CMS Page?


Recommended Posts

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

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

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 :P

Link to comment
Share on other sites

  • 4 months later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...