Joomla 2.5 is Stripping all Html Code

by Elaine on February 10, 2012

cmsmind elaine joomla25 strip html code 1 Joomla 2.5 is Stripping all Html Code

2. Joomla 2.5 Site Global Configurati

Updated: April 14, 2012 at bottom.  Added Step 9.

With an upgrade to Joomla 2.5, the option for text filtering automatically turns back on because the option has moved from the Article Manager to Global Configuration.  Text filtering is useful if you want to restrict authors from inserting tags or harmful HTML code into your articles that might cause errors to your site.   But as a Super User, most cases you need to add HTML code or IFRAME codes into your articles, so you will turn off text/html filtering.  

In previous version – Joomla 1.7, this option was found in the Article Manager – Options (You can see the post here) but  Joomla 2.5, text filtering has moved to the Global Configuration.

See below how to turn off Text Filtering:

cmsmind elaine joomla25 strip html code 2 Joomla 2.5 is Stripping all Html Code

3. Joomla 2.5 - Global Configuration Text Filtering

1.  Login to your Joomla 2.5 Administrator backend

2.  Click on Site, Global Configuration

3.  Switch to the ‘Text Filters” tab

4.  Under ‘Text Filter Settings’, ‘Filter Groups’, set the following:

    • Super Users = No Filtering

5.  Click on ‘Save & Close’

cmsmind elaine joomla25 no text filtering 3 Joomla 2.5 is Stripping all Html Code

4. Joomla 2.5 - Set Super User No Filtering

Now you can try to add HTML and IFRAME code into your Joomla 2.5 articles and  should not be stripping your code.  If you are still having problems, you can try the following:

6.  Go back into the ‘Text Filters’ tab and under ‘Filter Groups’, set:

    • Super Users = Default Black List

7. Click on ‘Save & Close’

8.Then repeat Step 4 and 5 above.

Updated from William’s Comment (Thanks William):

9.  TinyMCE is default editor. It also strips the iframe.

GO – Extensions -> Plug In Manager -> Editor – TinyMCE
Basic Options -> Prohibited Elements

remove iframe from the list

Hope that helps you.

Thanks,

Elaine

 Joomla 2.5 is Stripping all Html Code

Elaine

Elaine is the founder of CmsMind, an online blog providing Joomla and Wordpress tutorials. Elaine lives in Toronto and when she is not online, she is either Marathon and Triathlon training or travelling and racing somewhere in the world. Find her also at: Save Money, Premium Themes and Templates, and at Webhosting Tips.

More Posts - Website

{ 14 comments… read them below or add one }

Arran Management February 19, 2012 at 1:53 pm

You saved my life! Thanks for the tip – it worked!

Reply

Elaine February 19, 2012 at 3:48 pm

Hi Arran,
No problem, glad it worked for you.
Thanks for your visit,
elaine

Reply

Charlie February 19, 2012 at 7:42 pm

I tried all the steps to no avail.

Reply

William February 23, 2012 at 5:24 am

This article is not complete.
TinyMCE is default editor. It also strips the iframe.

GO – Extensions -> Plug In Manager -> Editor – TinyMCE
Basic Options -> Prohibited Elements

remove iframe from the list

Regards,
William

Reply

Corbin February 27, 2012 at 4:13 am

Thanks! this tip just helped me out. Other people said to change the editor, but I was already using ‘Editor – None’ and this solved my problem.

Reply

Paulo April 14, 2012 at 2:03 pm

Thanks for all of the above info. Saved me from a lot of frustration.
Especially thanks to William.

Reply

Elaine April 14, 2012 at 2:32 pm

Hi Paulo,
No problem. Glad you found the post helpful! :)
Thanks for your visit,
elaine

Reply

Free Joomla 2.5 Templates April 24, 2012 at 1:25 pm

Thanks for the tips…so simple but effective..

Reply

Elaine April 25, 2012 at 3:49 am

No problem. Glad it worked for you.
Thanks for your visit,
elaine

Reply

personalised items April 28, 2012 at 5:43 pm

The header tag 1 is the path for search engines to sense your site. So, the H1 tag should highlighted with main keyword. You can use the other additional keywords in the H2 tag. Many websites fail to use the keyword properly in the header tags. Since header tags are going to define the content of your webpage, never ignore it.

Reply

Maggie October 23, 2012 at 2:54 pm

This was very helpful as I was still having problem with stripping of an iframe even after setting no filters in global configuration. It was the setting for my editor which was JCE. Hope it helps others with same issue.

Reply

Stephen March 20, 2013 at 2:13 am

Thanks alot man u just made me get an A in my course.

Reply

Tim April 14, 2013 at 11:13 pm

Thank you very much for this clear and concise explanation of ALL the places where Joomla! is stripping these tags from my code, very helpful indeed!

Reply

DR1579 May 20, 2013 at 3:43 pm

Very helpful information!
Definitely saved a bunch of time and effort with this!
Now if we could just have it a bit higher in the google search for “posting a video in joomla” haha.

Reply

Leave a Comment

Captcha Captcha Reload

Older Post:

Newer Post: