Solved

Add iframe to extended_valid_elements with TinyMCE WYSIWYG module for Drupal

Posted on 2009-05-11
2
1,898 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Code Manager | Snippits 2 63
Add a loading gif while php runs server side 15 67
warning code: class php incomplete message 6 33
How to post data to an API using ASP Classic 3 30
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to dynamically set the form action using jQuery.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

749 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