mpoulter Posted March 11, 2010 Share Posted March 11, 2010 HiI'm fairly new to PrestaShop and was wondering if anyone new of a way to insert a JavaScript code into the Home text Editor and it actually works. I have been through every forum about this and no such luck. I've tried the {literal} command as well but still nothing.Thanks in advance.mpoulter Link to comment Share on other sites More sharing options...
rocky Posted March 12, 2010 Share Posted March 12, 2010 See this topic. Link to comment Share on other sites More sharing options...
mandrin Posted March 12, 2010 Share Posted March 12, 2010 I tried Rocky's suggestion, but unfortunately, it did not work for me. I am running Prestashop ver 1.2.5.What did work for me was the following:Without having to edit any code I used the following solution from another post in this forum relating to users trying to embed googlemap code (Any javascript for that matter):“Once you have those go to the page (using FireFox) you need to edit. Whather it's the CMS editor or your home page editor...Then you will have to go to on your webbrowser (Firefox)… Tools > Web Developer > Disable > Disable Javascript > All Javascript.Now refresh the page (press cntrl + F5). The Editor will now not load. Put your google maps code in and save.Once you have done that. turn Javascript back on. Tools > Web Developer > Disable > Disable Javascript > All Javascript.Then your done.”I did this and successfully managed to load up my dealer application form.Again, thanks for the assistance Damien 1 Link to comment Share on other sites More sharing options...
Jeff Chan Posted April 29, 2014 Share Posted April 29, 2014 I tried Rocky's suggestion, but unfortunately, it did not work for me. I am running Prestashop ver 1.2.5. What did work for me was the following: Without having to edit any code I used the following solution from another post in this forum relating to users trying to embed googlemap code (Any javascript for that matter): “Once you have those go to the page (using FireFox) you need to edit. Whather it's the CMS editor or your home page editor...Then you will have to go to on your webbrowser (Firefox)… Tools > Web Developer > Disable > Disable Javascript > All Javascript. Now refresh the page (press cntrl + F5). The Editor will now not load. Put your google maps code in and save. Once you have done that. turn Javascript back on. Tools > Web Developer > Disable > Disable Javascript > All Javascript. Then your done.” I did this and successfully managed to load up my dealer application form. Again, thanks for the assistance Damien Life saver!! Work perfect!!!!!! Link to comment Share on other sites More sharing options...
mandrin Posted April 29, 2014 Share Posted April 29, 2014 Glad to see you got sorted 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