iFrames and Joomla

Don’t you just hate it when you do something, and forget to write down what you did to fix the problem. That happened to me [again] today.

Had a new Joomla 1.7 installation, went to put a google maps iFrame in to it and it kafooed on me. Got it all going again and here is what I did to make iFrames work in Joomla. Thanks to JCE guys for the tip.

IFrame tags are removed when clicking the Save button

Check that the Editor Profile Parameters allow IFrames

In the JCE Control Panel, click on the Editor Profiles button.

Click on the Profile name that the user, usergroup or component is assigned to, eg: ‘Default’

Click on the Plugin Parameters tab, then on the Media Support tab.

Check that the Allow IFrames is set to Yes.

Optionally, install the IFrame Plugin.

Configure Joomla! Article filters

By default Joomla!  ‘cleans’ content on saving, removing script tags, event attributes (such as onclick, onmouseover etc.) and style tags.

A simple article parameter change is all that is required to fix this.

Joomla! 1.5

See this article – http://docs.joomla.org/Why_does_some_HTML_get_removed_from_articles_in_version_1.5.8%3F

Joomla! 1.7

  1. In the Joomla! Article Manager, click on the Options button
  2. In the Options Dialog, click on the Text Filters tab.
  3. For the Super Users group, or any other trusted user group, set Filter Type to No Filtering. Make sure that you only set this option for user groups that can be trusted as setting the Filter Type to No Filtering will essentially allow the user to include any html in an article.

Joomla! 2.5

  1. In the Joomla! Global Configuration, click on the Text Filters tab.
  2. For the Super Users group, or any other trusted user group, set Filter Type to No Filtering. Make sure that you only set this option for user groups that can be trusted as setting the Filter Type to No Filtering will essentially allow the user to include any html in an article.
  3. In the JCE Control Panel, click on the Editor Profiles button.
    1. Click on the Profile name that the user, usergroup or component is assigned to, eg: ‘Default’
    2. Click on the Plugin Parameters tab, then on the Media Support tab.
    3. Check that the Allow IFrames is set to Yes.
    4. Followed these instructions and all seems to be working well.
    5. Thanks from here.

About howlmc

50 something geek, who has owned way too many computers.
This entry was posted in Joomla, Websites. Bookmark the permalink.

One Response to iFrames and Joomla

  1. Pingback: Google Translate on your website. | doing something flash with the 'Net

Comments are closed.