Solved

Add iframe to extended_valid_elements with TinyMCE WYSIWYG module for Drupal

Posted on 2009-05-11
2
1,897 Views
Last Modified: 2012-05-06
Hi experts,
I have drupal 6 and the WYSIWYG module with TinyMCE 3. I need to add iframe to extended_valid_elements but I'm wondering what is the drupal way of doing this? I'm assuming I can use hook_wysiwyg_plugin() or something similar?
0
Comment
Question by:mstrelan
2 Comments
 
LVL 6

Assisted Solution

by:priceline
priceline earned 200 total points
ID: 24408595
You can create block using views, and place it in the node.  While adding the content, switch to plain editor, and place your iframe tags there.

Let me know if you need more information.
0
 
LVL 10

Accepted Solution

by:
mstrelan earned 0 total points
ID: 24409135
@priceline
this doesn't directly answer my question but thanks for the tip. the reason i wanted to do this was to insert google maps and i decided to use the Rep[lacement]Tags module for Drupal instead. That way I define that $GOOGLE-MAP$ translates to the HTML for the google map iframe and i can insert it pretty much anywhere
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question