Jump to content

Is there a module for allowing Javascript in CMS pages?


Recommended Posts

Basically I find it to difficult / limiting to design content pages within the CMS system.

 

Plan A was to just design websites and host them on the same server and then embed them in CMS pages with iframe -- so far this seems to work just fine. The problem is that apparently this is not great for SEO.

 

Looking around online I have found a decent amount of discussion on this topic but a lot of it is contradictory so not sure what applies to what version of PrestaShop -- I am using 1.6.  It also seems like if I want to get this to work I need to edit a bunch of core files.

 

So my question is -- there are a bunch of HTML modules. Do any of them allow you to just copy and paste a functioning website into them and include them in a CMS page? 

 

I would need external javascript library use and preferably css as well although I could make that inline if I had to.

 

 

Link to comment
Share on other sites

Basically I find it to difficult / limiting to design content pages within the CMS system.

 

Plan A was to just design websites and host them on the same server and then embed them in CMS pages with iframe -- so far this seems to work just fine. The problem is that apparently this is not great for SEO.

 

Looking around online I have found a decent amount of discussion on this topic but a lot of it is contradictory so not sure what applies to what version of PrestaShop -- I am using 1.6.  It also seems like if I want to get this to work I need to edit a bunch of core files.

 

So my question is -- there are a bunch of HTML modules. Do any of them allow you to just copy and paste a functioning website into them and include them in a CMS page? 

 

I would need external javascript library use and preferably css as well although I could make that inline if I had to.

 

you can extend tinymce rich text editor - then you wiill be able to use CSS + js scripts

modules that will display contents inside cms pages (there where contents appears) not exist, because there is no hook.

you can add hook manually but it also require modification of the files.

Link to comment
Share on other sites

Sorry -- sloppy language. A web page not an entire site.

 

Basically, I am looking at a way to easily have access to javascript in CMS pages. Currently, I achieve it by using iframes but that is not great for SEO. I have seen several modules that allow for HTML in PrestaShop so I was hoping someone could confirm that they would basically allow me to just cut and paste individual web pages with javascript into CMS pages. 

 

-------------

 

Edit: Looks like I have my answer. Thank you Vekia.

Edited by Naldinho (see edit history)
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...