Jump to content

Insert html content en CMS page


Recommended Posts

Hello, this is my first time in the forum and I need some help...

 

I'm using the 1.6.0.8 Prestashop version and I have a problem that I don't understand...

 

When I edit a CMS page, I insert html in the source code but something strange happens... For example, if I insert:

 

<p><a href="http://www.mueblesrusticos.tienda" class="button button-exclusive btn btn-default" title="Volver a inicio"><span><i class="icon-chevron-left"></i>Volver a inicio</span></a></p>

 

When I save, the following is saved:

 

<p><a class="button button-exclusive btn btn-default" title="Volver a inicio" href="http://www.mueblesrusticos.tienda">Volver a inicio</a></p>

 

Prestashop delete the <span> and <i> tag...

 

But for example, if I add a id="test" in the span, it doesn't disappears but <i class="icon-chevron-left"></i> disappears always when I save... To insert the correct html code I have to put in the bda directly or use javascript in the tpl file...

 

Is there any solution to solve it? I want to add all kind of html code in the CMS pages...

 

Thank you very much!

Link to comment
Share on other sites

  • 1 year later...

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