[email protected] Posted January 5 Share Posted January 5 I use 8.2.0 Prestashop When I add code I can't save the changes Link to comment Share on other sites More sharing options...
ComGrafPL Posted January 5 Share Posted January 5 (edited) "Normal" text allow you to save it? check console if it show you any errors on saving. Edited January 5 by ComGrafPL (see edit history) Link to comment Share on other sites More sharing options...
Daresh Posted January 5 Share Posted January 5 What code are you trying to add exactly? Link to comment Share on other sites More sharing options...
[email protected] Posted January 5 Author Share Posted January 5 6 minutes ago, ComGrafPL said: "Normal" text allow you to save it? check console if it show you any errors on saving. Yes, there is no problem in saving plain text. Link to comment Share on other sites More sharing options...
[email protected] Posted January 5 Author Share Posted January 5 1 minute ago, Daresh said: What code are you trying to add exactly?Unfortunately, I could not write it, so I put a picture. Link to comment Share on other sites More sharing options...
Daresh Posted January 5 Share Posted January 5 PrestaShop will not allow you to add scripts like this, and in general this is not a good practice. You should use classes for this, and then add styling in the CSS (like custom.css). 1 Link to comment Share on other sites More sharing options...
[email protected] Posted January 5 Author Share Posted January 5 I remember that I should had changed some settings in the advanced parameters but I can't remember them anymore. Link to comment Share on other sites More sharing options...
Daresh Posted January 5 Share Posted January 5 There is a setting regarding the HTML Purifier library, but I don't know if that's the case here. Either way, a good practice would be to give these items a class and put all the additional effects in an external file. 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