Hello! I have what seems to be a simple task that I'm failing to get going. I've got a pretty simple dupal6 install going with the tinymce editor installed for all pages/stories/blogs. What I want is the ability to allow my users to cut and paste the embedded links generated by Google Maps into their content.

The problem is that the google maps module hasn't been updated for 6. I found a few threads with patches, but my install won't even allow me to activate the google maps module.

When I paste the

links into tinymce, it auto-matically escapes them and just displays the link. I have added iframe to tinymce's valid_elements array, to luck. The content type I have enabled for tinymce has no filters enabled. If I disable tinymce, the iframe links work fine, and embed the map inside my content. Is there any way to allow the tinymce editor to just pass through the link? Or do I have to choose between downgrading to drupal5 (for maps module) and using or not using a decent text editor? Thanks in advance for any suggestions.

Comments

yuriy.babenko’s picture

Sounds like you need to set the input format to 'full html' for that content.
---
Yuriy Babenko
www.yubastudios.com

---
Yuriy Babenko | Technical Consultant & Senior Developer
http://yuriybabenko.com

senjiro’s picture

Tried that - same thing. Just the full iframe link I posted.

yuriy.babenko’s picture

---
Yuriy Babenko | Technical Consultant & Senior Developer
http://yuriybabenko.com

toodlepip’s picture

Hiya - had exactly the same problem myself. Ended up tinkering around directly with the TinyMCE code, but every time I needed to update the module kept forgetting to go back and change the settings in the TinyMCE folder.

Switching to the Wysiwyg module solved a bunch of the problems as it separates out the TinyMCE Javascript files from the editor code and also provides a bunch of plugins. I ended up using the suggestions in #544032: Add iframes via TinyMCE to build a teeny-tiny module which did the trick:

http://www.toodlepip.co.uk/blog/2009/12/using-iframes-drupals-wysiwyg-mo...

Seems to work, although a longer-term solution for advanced editor config would be good. Still, solves the problem in the meantime. Don't forget to keep an eye on the security issues though, it's a potential black hole if not locked down properly. Hope that helps.