Solved

Add iframe to extended_valid_elements with TinyMCE WYSIWYG module for Drupal

Posted on 2009-05-11
2
1,894 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now