cokenour Posted August 18, 2009 Share Posted August 18, 2009 I'm trying to insert an embed snippet from a Google Map into a CMS page. The html editor strips out the iframe and some other code.Sure there is a simple way around this...help! Link to comment Share on other sites More sharing options...
Star Posted August 22, 2009 Share Posted August 22, 2009 Take a look at this.http://www.prestashop.com/forums/viewthread/22214/developpement_et_modules/module_prestashop__block_google_map Link to comment Share on other sites More sharing options...
cokenour Posted August 24, 2009 Author Share Posted August 24, 2009 Thanks. That's a decent module, but I need something that will display in a CMS page. Also, I'm using a "My Map" from Google Maps with multiple locations and other info included on it. So ideally I want to avoid using GPS markers for the map.Is there a way to get the html editor to allow iframes? Link to comment Share on other sites More sharing options...
Star Posted August 24, 2009 Share Posted August 24, 2009 Thanks. That's a decent module, but I need something that will display in a CMS page. Also, I'm using a "My Map" from Google Maps with multiple locations and other info included on it. So ideally I want to avoid using GPS markers for the map.Is there a way to get the html editor to allow iframes? I don't understand your question. Do you want to add the map into the CMS page or using an iframes for it? If you just want to put it into a cms page, then BO/tools/cms/ click on the pencil/click on the html icon, and add your map codes onto the pop up window. save.If you want to add the codes on a page with iframe, that is something else. Using an iframe is not a good idea as some browsers can not read it. You will end up getting an empty box instead of the content. Sorry, I am not trying to give a lecture here.... Link to comment Share on other sites More sharing options...
DutchT Posted August 25, 2009 Share Posted August 25, 2009 hello,I tried this but is not working.When pasted the link from Google maps, only the link to the big map works but there is no map in the CMS.Some suggestions. Link to comment Share on other sites More sharing options...
Gregory Roussac Posted August 25, 2009 Share Posted August 25, 2009 I think that TinyMce Editor strips some tags when it does not manage it in wysiwg. You should maybe consult its doc about it. Link to comment Share on other sites More sharing options...
DutchT Posted August 25, 2009 Share Posted August 25, 2009 do you recommend some other wysiwg editor? Link to comment Share on other sites More sharing options...
Gregory Roussac Posted August 25, 2009 Share Posted August 25, 2009 Well i prefer the easy done easy go method > i would try directly in database, table 'cms_lang' field 'content'. Without guarantee....Cheers Link to comment Share on other sites More sharing options...
cokenour Posted August 25, 2009 Author Share Posted August 25, 2009 I don't understand your question. Do you want to add the map into the CMS page or using an iframes for it? If you just want to put it into a cms page, then BO/tools/cms/ click on the pencil/click on the html icon, and add your map codes onto the pop up window. save.If you want to add the codes on a page with iframe, that is something else. Using an iframe is not a good idea as some browsers can not read it. You will end up getting an empty box instead of the content. Sorry, I am not trying to give a lecture here.... No problem at all. I do want the Google map in a CMS page. I've created a map on Google that lists all the locations for the business. The embed code for that map (the code provided by Google) is in an iframe. Your point about the lack of cross browser support is a good one, I'm going to look around for another way to make it work. Iframes are frustrating because they haven't been completely deprecated and yet they have limited support. Link to comment Share on other sites More sharing options...
dulux Posted August 25, 2009 Share Posted August 25, 2009 Cokenour if you solve to put iframe or something about it, please tell us how, becouse Im interested too, thanks Link to comment Share on other sites More sharing options...
Gregory Roussac Posted August 25, 2009 Share Posted August 25, 2009 http://www.prestashop.com/forums/viewthread/24932/#119623 ??? Link to comment Share on other sites More sharing options...
Recommended Posts