Solved

Add iframe to extended_valid_elements with TinyMCE WYSIWYG module for Drupal

Posted on 2009-05-11
2
1,890 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
Comment Utility
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
Comment Utility
@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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

762 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

8 Experts available now in Live!

Get 1:1 Help Now