need4speed Posted August 23, 2010 Share Posted August 23, 2010 I cant insert the iframe link from googlemap into one of the CMS pages because the TinyMC editor is not allowing iframe tags.How can I get around it? Link to comment Share on other sites More sharing options...
cactusman2 Posted August 23, 2010 Share Posted August 23, 2010 In cms.tpl (in your template file) maybe you can try to add something like that:{if $cms->id == X}ADD YOUR CODE HERE{/if}X is the ID number of the cms page you want to display your map in Link to comment Share on other sites More sharing options...
jhnstcks Posted August 23, 2010 Share Posted August 23, 2010 http://www.prestashop.com/forums/viewthread/15790/You could try this module, sys it only works for 1.1v of prestashop, havent used it myself so not sure how/if it works for other versions. Link to comment Share on other sites More sharing options...
need4speed Posted August 23, 2010 Author Share Posted August 23, 2010 I will first try with cactusman2 solution. It sounds pretty good I have seen the solution your linking to but I decided not to go for it because it havent been updated for ages Link to comment Share on other sites More sharing options...
need4speed Posted August 27, 2010 Author Share Posted August 27, 2010 cactusman2 thanks for the example! It solved my problem.Best regards Link to comment Share on other sites More sharing options...
cloudsky Posted February 24, 2011 Share Posted February 24, 2011 In cms.tpl (in your template file) maybe you can try to add something like that:{if $cms->id == X}ADD YOUR CODE HERE{/if}X is the ID number of the cms page you want to display your map in that solution totally worked for me too, but what if I'd like to add 2 locations? Link to comment Share on other sites More sharing options...
LDDS Posted March 10, 2011 Share Posted March 10, 2011 Great code !It works perfectly !I added it for each cms page needing an iframe Link to comment Share on other sites More sharing options...
ImpulsoTecnologico Posted March 26, 2011 Share Posted March 26, 2011 In cms.tpl (in your template file) maybe you can try to add something like that:{if $cms->id == X}ADD YOUR CODE HERE{/if}X is the ID number of the cms page you want to display your map in Thanks, that worked for me. I had it fixed before by editing the tiny_mce.js and inserting the "iframe" as valid tags, but it stopped working for some reason. Link to comment Share on other sites More sharing options...
Recommended Posts