Iframe in Joomla

In this tutorial we will 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. Therefor, you need to update your editor’s settings and allow iframes.

To Use an iframe in Joomla 3:

  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.  Scroll down until you find the Prohibited Elements setting:

220_using_iframes

 

Prohibited Elements – elements that will be cleaned from the text. Do n ot 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.

 

Allow IFRAME In The Global Configuration

  1. Go to System -> Global Configuration from the top menu
  2. Click on the Text Filters tab. Under the Text Filter Settings, set Filter Type to No Filtering for the Super Users user group.

Now the Global Text Filters also ready to allow the IFRAME code for Super Users.

Leave a Reply

Your email address will not be published.

*