The default settings in the Joomla 2.5 article editor will strip iframe tags out of the page. If you're having trouble inserting an iframe into an article, this is most likely why. Removing iframes from articles is done as a security measure for your hosting account and your site visitors, as it attempts to prevent any hidden iframes (or visible iframes for the matter) that could potentially load a malicious website.

One way to prevent the stripping of these iframes to is update your editor's settings to allow the iframe. These steps vary by editor, and in this article we'll show you how to allow iframes within Joomla 2.5's default TinyMCE editor.

We'll also show you how to allow an iframe via the global text filters section of Joomla.

Allow iframes with TinyMCE editor

  1. Log into your Joomla 2.5 Admin
  2. In the top menu, hover over Extensions and click Plug-in Manager
  3. From the Select Type filter, choose editors
    from-the-drop-down-choose-editors
  4. From the list of editors, click on Editor - TinyMCE
  5. From the list of Basic Options, remove iframe from Prohibited Elements
    remove-iframe-from-prohibited-elements
  6. Click Save in the top right menu. Now that you have removed iframes from the prohibited elements setting, you can add iframes to your articles and they should not be taken out.

Allow iframes with global text filters

  1. In the top menu, hover over Site and click Global Configuration
    navigate-to-site-global-configuration
  2. Click on the Text Filters tab
  3. For your Super Users select No Filtering from the drop-down
    select-no-filtering-in-super-users-drop-down
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Comments

Post a comment
2013-05-07 4:25 pm
Thanks for you rich information article. Its awasome tips and tricks for website design . Actually i hardly like this article . this article make a goul for make money . thanks again we will wait your next magic article. <a href="http://www.joomlanew.com/free-joomla-templates.html">free joomla templates</a> Free joomla templates visit now http://www.joomlanew.com
2013-05-20 5:47 pm
wondering why I do not have a "text filtering" tab
Staff
2013-05-20 6:53 pm
Hello Veeray,

I've been trying to find an answer to your question about the "text filtering" tab. I checked my own installation (Joomla 3.0) and TEXT FILTERING is in a different area, but still available. If you are in Joomla 3.0, click on Gobal Configuration, then in the menus above SITE SETTINGS, you will see the option for Text Filters. It is applied to the different user groups in the newer version.

Check out our article on applying iFrames in Joomla 3.0 if you need any further information.

If this does not answer your question, please let us know. We would need more information, such as what version you are using. Also, any screenshots would help us troubleshoot further if necessary. We appreciate your patience.

If you have any further questions, please leave a comment with more details and and we will be happy to review the issue for you. If we answered your question and it's a great solution for you, please make sure to mark the answer as the BEST answer. Or please leave a comment or note of thanks so that we know your issue is resolved or ongoing.

Arnel C.
Community Support Team
2013-05-21 12:13 pm
thanks for the reply but I dont see that option anywhere in my global configuration page. Could it be because My user has limited permissions?
Staff
10,626 Points
2013-05-21 5:55 pm
Hello Veeray!

Yes, that is most likely the cause since this can be limited by the user group permissions. Please let us know if you have any further questions or require further assistance!

Arnel C.
2013-06-11 4:52 am
Nice post.Thank you for taking the time to publish this
information very useful!


2013-06-18 6:44 am
Thank you for your help!
But the solution: Global Configuration / Text Filters tab / Super Users / No Filtering

Is safe? Or we are waiting the bad boys to destroy the system :-)
2013-08-10 12:13 am
I wonder how come i didnt know this trick? Thanks for the article. now i can add iframe and javascript in articles :)
2014-01-27 4:45 am
Thanks for this nice post....I like all informations...Now i can add IFRAME to a Joomla 2.5 article informations...
<a href="http://www.hdwplayer.com">Joomla Video player</a>
n/a Points
2014-03-31 8:36 am

Thanks for the best and easiest solution!

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!