How to add an IFRAME to a Joomla 2.5 article

Joomla 2.5 has reached its end of life as for 12/31/2014. Please be advised this may be a security risk to your website. You can view more information about the end of life here.

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
Share this Article