![]() |
|
add a map with zenpage - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: add a map with zenpage (/thread-7024.html) |
add a map with zenpage - vincent3569 - 2010-05-09 hello is it possible to have a map (taken from google map) in a news ? google map gives me this code to put in my web page, but, if i paste it in news, it doesn't displays my map how can I do ? add a map with zenpage - sbillard - 2010-05-10 There are "codeblocks" that allow you to insert pretty much anything into a page or article. Of course, you will have to figure out the PHP needed to make a map appear. add a map with zenpage - acrylian - 2010-05-10 Also your theme must support these codeblock. But they can easily be added. add a map with zenpage - vincent3569 - 2010-05-10 yes, i do that i wish add a map in my text as the same way as a photo with TinyEditor. add a map with zenpage - acrylian - 2010-05-10 Sure, html is possible as our default editor TinyMCE has a html view, too. But remember you have to allow the iFrame tag on the allowed tags on the options, otherwise it would be cleared. add a map with zenpage - vincent3569 - 2010-05-10 ok Quote:iframe => (width=>() height=>() frameborder=>() scrolling=>() marginheight=>() marginwidth=> () src=>() ) Quote: add a map with zenpage - vincent3569 - 2010-05-12 hello I'm sorry to up this msg add a map with zenpage - acrylian - 2010-05-13 Look at the examples, they explain it. add a map with zenpage - vincent3569 - 2010-05-16 I looked and folowed the exemples and i put this code in the admin tab ` iframe => (width=>() height=>() frameborder=>() scrolling=>() marginheight=>() marginwidth=> () src=>() ) ` it doesnt' work and i still don't understand why. add a map with zenpage - acrylian - 2010-05-17 It might be possible that TinyMCE clears iFrame code, but I don't know. add a map with zenpage - vincent3569 - 2010-05-17 hello I've changed the text editor (html editor) and i've writed the correct code and saved the news without changing text editor (i remain with html editor). by following this instructions, it's ok (but I can't modify the news otherwise the code is cleared by TinyMCE). it really is not very easy and convenient but it works add a map with zenpage - acrylian - 2010-05-17 Of cousre the normal edit mode of TinyMCE does not allow html tags directly. You always need to switch to the html mode. I assumed you knew this, sorry. I suggest to look if there is maybe a TinyMCE plugin for Google maps maybe and change the config file accordingly to include that. add a map with zenpage - vincent3569 - 2010-05-17 yes of course, I've understood that i must switch on html mode to insert iframe tag. i said that : if you save under html mode : it's ok, the iframe tag is correctly saved and displayed. so,if you have to insert iframe tag in a news, you must follow the tip i've described |