franky74 Posted July 14, 2015 Share Posted July 14, 2015 Hi, Was hoping someone could help me out here. I'm trying to place an image map into a CMS page. I went into the </> scource code area and added the image map html code. <p><img src="http://www.prestashopStore.com/img/cms/map.jpg" alt="" width="563" height="516" usemap="#Map" /> <map name="Map" id="Map"> <area shape="poly" coords="355,98,351,237,391,289,557,290,420,5" href="#" /> <area shape="poly" coords="215,64,228,323,86,395,49,372,5,262,1,198,127,97,171,50" href="#" /> <area shape="poly" coords="217,60,236,14,332,11,351,95,346,236,229,238" href="#" /></map></body> </p> But when I save the page prestashop just removes the map html code. Any help much appecitated. Link to comment Share on other sites More sharing options...
vekia Posted July 14, 2015 Share Posted July 14, 2015 you have to extend your tinymce editor there is no other way to add contents like this to cms pages (or other "description" fields) Link to comment Share on other sites More sharing options...
musicmaster Posted July 14, 2015 Share Posted July 14, 2015 I am not sure about 1.6 but in 1.5 you can add maps via standard cms. See here for an example: http://www.topsnoep.nl/content/4-wie-zijn-wij But there is one catch: - Google maps uses iframes. The standard safety settings of Prestashop are that iframes are not allowed. So you need to go to settings->general to allow iframes. Once you have saved your map you can switch it off again. - TinyMCE may not display everything correctly. But it will be saved and will work. Link to comment Share on other sites More sharing options...
vekia Posted July 14, 2015 Share Posted July 14, 2015 as far as i know in 1.6 <map> tag is excluded from accepted html tags in tinyMCE Link to comment Share on other sites More sharing options...
franky74 Posted July 16, 2015 Author Share Posted July 16, 2015 Hi Vekia, Thanks for your help thus far. I upgraded the tinyMCE editor. And I can see the new editor with the extra buttons. But unfortunatly it's stilling not adding the map html tag. I tested some javascript code and that works. Am I missing something? Frank Link to comment Share on other sites More sharing options...
musicmaster Posted July 16, 2015 Share Posted July 16, 2015 If you search on internet then it appears that there is a imgmap module for TinyMCE 3. However, it looks like there is nothing for the 4 version. 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