InMotion Hosting Support Center

In this Joomla 3.0 tutorial, we'll show you how to add an iframe when writing an article. You can't simply use the HTML editor and type in your iframe code because Joomla will strip it out for security reasons. Therefore, you need to update your editor's settings and allow iframes.

To use an iframe in Joomla 3.0:

  1. Log into your Joomla 3.0 administrative dashboard
  2. In the top menu, click Extensions and then click Plug-in Manager
  3. In the left menu under Filter, click Select Type and then click editors. In the list of results, click Editor - TinyMCE.
  4. At the top of the page, click the Basic Options tab
  5. Scroll down until you find the Prohibited Elements setting:

    prohibited-elementsProhibited Elements
    Elements that will be cleaned from the text. Do not leave empty - if you do not want to prohibit anything enter dummy text e.g.cms

    The default text is script,applet,iframe. Delete ,iframe so that the setting now reads script,applet

    Click Save in the top left menu.

    You should now be able to use the HTML editor within the TinyMCE WYSIWYG editor without worrying about your iframe code being stripped out.
Was this article helpful?
Continued Education in Course 102: Writing Articles in Joomla 3
You are viewing Section 6: How to add an iframe in a Joomla 3 Article
Section 5: How to Assign an Article to a Category in Joomla 3.1
Section 7: How to link to another article in Joomla 3.1

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

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

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

n/a Points
2018-03-08 6:33 pm

Hi. Thanks.


n/a Points
2017-08-10 3:33 pm

Hi... I'm working on a Joomla 3.4.1 site made from a template... and would like to have a contact form show up... I have the iframe code from the site, but despite trying all of the above, it is still stripping it out.

Any help in this regard would be wonderful!

Thanks so much!

3,820 Points
2017-08-10 4:37 pm
Hello there!

You may need to disable the editor altogether. This is how I was able to get the iframe code to not be stripped by the TinyMCE editor specifically:

  1. Login to your Joomla! Administrator Dashboard

  2. Navigate to Extension > Plugin Manager

  3. Click the check box next to "Editor - TinyMCE"

  4. Then click Disable

  5. Once you have disabled this editor, navigate back to editing your article. You can paste the following iframe code into your article:
    <iframe src=""></iframe>

  6. Click Save & Close

  7. Then navigate to your article to review your changes.

I hope this helps!
Carlos E
n/a Points
2017-02-06 5:59 pm


n/a Points
2016-11-15 9:13 am

Hi, following your suggestion only let me as an admin to put the iframe in articles, but not for another user like an author. If an author put an iframe, and saved. The iframe code gone, not saved.

Any ideas?


11,043 Points
2016-11-15 2:57 pm
You may need to check privileges for the authors. You can try checking for PHP errors, but it may be a permissions issue.
n/a Points
2015-11-14 3:23 pm

I've had the same problems, maybe the new joomla versions, like 3.4 doesn't allow iframe, and I found a solution that works> here it is: find the source code and there you see that if you try to write <iframe> this signs "<"">" does not appear it writes for me this "&lt;" and this "&gt;", so i just changed it for the signs and it works perfectly, but this is not just for the iframe, for any html link that i try to write.

31,595 Points
2015-11-16 11:51 am
Helo Bako,

Thank you for sharing your solution. Feel free to contribute to our User Submitted section of the Support Center.

Thank you,
n/a Points
2015-02-24 2:50 pm
This article is perfect.
n/a Points
2015-02-05 6:24 am

Hi just a quick word i use joomlaCK as my editor since i was having trouble with code been stripped. I use joomla 3.3.6 and dont have any more problems with the code been stripped hope it helps a little.

n/a Points
2014-11-12 10:40 am
This tells me how to keep the tiny editor from stripping iframes. My issue is that Joomla 3.2 displays a blank page when I try to use an iframe to show our pressroom at prlog. This has nothing to do with the editor -- I long ago abandoned the use of a Joomla editor because they strip so much code without warning. The iframe displayed fine in Joomla 1.5, but won't work in Joomla 3.2. Since your article Title is "Using Iframes in Joomla 3", I had hoped you would address why I'm getting a blank page, despite the code being in tact.
31,595 Points
2015-02-05 12:02 pm
Hello Shawn,

Thank you for contacting us. Typically, when you see a blank page, an error is being suppressed.

Using Error reporting can provide a more detailed message, and provide clues into the cause of the problem.

Thank you,
n/a Points
2014-11-12 8:25 am
it's perfect!!
n/a Points
2014-10-29 5:25 am
iframe information is still being stripped from my source code despite following all steps. There must be another setting involved...
31,595 Points
2014-11-06 10:39 am
Hello Erik,

Thank you for contacting us. We're happy to help, but need some additional information. Are you using Joomla 3?

What themes/addons are you using? They may be interfering with your iframe.

Can you provide a link to the website where the iframe is being stripped?

Thank you,
n/a Points
2014-07-08 1:20 pm
Your solution worked perfectly!
n/a Points
2014-06-20 11:00 am

It's not working here also:

<p><iframe src="" width="500" height="1000"></iframe></p>

how can I include an iframe in article (the newest Joomla 3.xx). I tried everything since a week, no chance.

Maybe somebody know a solution.

9,968 Points
2014-06-20 2:36 pm
Hello Jack,

Were you sure to remove the iframe text from the Prohibited Elements option? When you see the resulting page that you've published, if you hit (Ctrl-U) and look at the page source, does it still retain the <iframe> tag?

- Jacob
n/a Points
2014-06-05 4:52 am


I did all the above steps aswell but it doesn't work ?

So, what can I do ?



31,595 Points
2014-06-05 9:08 am
Hello Neveen,

Thank you for your question. We are happy to assist you, but will need more information.

What version of Joomla 3 are you using? If you are using Joomla 3.2, the steps are a little different. Please see my response above to Shila, where I provided the instruction.

What is happening when you try to follow this guide? Are you getting an error? What is the error?

What modules/extensions are you using?

Can you provide a link to your website.

If you have any further questions, feel free to post them below.
Thank you,

n/a Points
2014-06-02 12:14 pm

I did all the steps listed above and removed iframe from the tiny editor restricted parameters.  The iframe code now shows up in the article and looks lik eit should work.  However, when I create a menu itema and link it to the article then refresh my webpage, the new page shows up in the menu but the iframe is still not showing the web page.


Here's the code I used:  <p><iframe src="//" width="1000" height="600"></iframe></p>


Any thoughs on why this still isn't working?  Are there additional configuration steps that need to take place?

n/a Points
2014-06-02 12:45 pm



Try to add:





Just to test... and let me know if that works?



n/a Points
2014-06-02 1:20 pm

@Eddie, tried that as well...still nothing.

n/a Points
2014-02-28 4:35 pm

I followed the step by step on Joomla 3.2

Still doesn't work. the only thing from the <iframe> code that shows up is the text and not the image

31,595 Points
2014-02-28 5:32 pm
Hello Shila,

Thank you for your question. I tested this out on a clean install of Joomla 3.2, and it works; but the steps are a little different:

  1. Log into your Joomla 3.0 administrative dashboard

  2. In the top menu, click Extensions and then click Plug-in Manager

  3. In the left menu under Filter, click Select Type and then click editors. In the list of results, click Editor - TinyMCE.

  4. Then you will see Prohibited Elements over to the right. Delete", iframe" then click the save button. Then you can use the HTML editor within the TinyMCE WYSIWYG editor without worrying about your iframe code being stripped out.

If you have any further questions, feel free to post them below.
Thank you,

n/a Points
2014-02-28 6:50 pm

Hi John,

Thank you so much for your reply.

I did that aswell, still can't see the box.... I am thinking maybe it has something to do with the div code as well.

here is a example of the code I am trying to put in my blog.


<iframe src=";h=230&amp;r=1&amp;ids=441715238%2C435968886%2C300846758&amp;color=2693a5af5db3f2ff4d3c06aab75377a5%2C2d08aa5bfc67db1fc24294e3940841b9%2C8476cf82adbf4f9655e973a0af5072f5&amp;pid=uid8601-24265699-3" seamless="seamless" style="margin:0 auto;background: #fff" frameborder="0" height="230" scrolling="no" width="550"></iframe><div id="details" style="margin: 10px auto 20px; padding: 10px; width: 570px; line-height: 16px;"><a target="_blank" style="color:#999;text-decoration:none;font-size:11px;" title="Contrarian Evening Dresses" href=""> Contrarian Evening Dresses</a> · <a target="_blank" style="color:#999;text-decoration:none;font-size:11px;" title="Blaque Label Cocktail Dresses" href=""> Blaque Label Cocktail Dresses</a> · <a target="_blank" style="color:#999;text-decoration:none;font-size:11px;" title="McQ by Alexander McQueen Longsleeve Tops" href=""> McQ by Alexander McQueen Longsleeve Tops</a></div>

Once pasted in he Toggle JCK or Anyother editors the only thing that shows up is the text.

42,943 Points
2014-02-28 10:17 pm
Hello Shila,

I took a little bit of time I and tried breaking down the iFrame request. As far as I know, when I put the URLs that you're using in your iFrame statment, it works by itself (the URLs that you're using). I would suggest using your iFrame statement with a URL that goes to a graphic (e.g. http;//, and see if that works. If it's working, then it's possible that the URLs you have provided simply do not work within the Joomla framework. If you continue to have problems with this issue, please contact our live technical support.

I hope this helps to provide some clarity. Let us know if you still require assistance.

Arnel C.
n/a Points
2014-03-04 2:33 am

Thank you so much Arnel,

It seem to work! the only problem is that the products are not visiable in the backend, but once I save the blog and publish it they are visiable ont he frontend.


Thanks so much for all your help.



n/a Points
2014-06-02 11:04 am

I understand your problem Shila. Try to remove the "https:" in the beginning of the code.

Your updated code should look like this:

<iframe src="//


Let me know if that works ! =)


Post a Comment

Email Address:
Phone Number:

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

29 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


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:
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!