Jump to content

Add custom HTML to CMS page?


Recommended Posts

Hi forum,

 

I'm desperately trying to add some custom HTML to a CMS page, and when I add the code it looks exactly as it should in the editor, but every time I save the changes it deletes a lot of the code and messes things up.

 

For example it deletes all of the html, head and body tags including my links to stylesheets etc.

 

I've follow a tutorial to update TinyMCE to the extended version and edited validate.php, plus I've disabled HTML Purifier in the options. Still it edits and deletes a lot of my code.  :(

 

What can be done about this issue?

 

Kind regards and thanks for the help!  :)

Link to comment
Share on other sites

Hi Vekia,

 

Sorry for the late reply. I don't have the exact code on me at the moment, but what I need for example is to use <link> to import a stylesheet for the page. It removes that one every time. Or is there a more correct way to apply CSS to a CMS page?

 

I hope my question makes sense. :-)

 

Regards.

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...