Why does some HTML get removed from articles? E-mail
Written by Administrator   
Friday, 27 November 2009 12:37

IMPORTANT: Please note that your content is likely to be deleted by Joomla! regardless of the editor or plug-ins used unless you have configured your Article Filters. From Joomla! 1.5.8+ a default article filtering was set in place for all user groups except ‘Super Administrators’, in Joomla! 1.6 this rule is imposed on all user groups by default. This includes the following tags: 'applet', 'body', 'bgsound',

'base', 'basefont', 'embed', 'frame', 'frameset', 'head', 'html', 'id', 'iframe', 'ilayer', 'layer', 'link', 'meta', 'name', 'object', 'script', 'style', 'title', 'xml'.

You can quickly configure Joomla! to stop stripping away your HTML tags by configuring your user groups ‘Filter Type’ to: ‘No Filtering’. To do this go to the ‘Article Manager‘ and click on the ‘Parameters’ icon (in Joomla! 1.6 it is call ‘Option’)  located on the top right of your screen.

Please read Joomla’s official documentation on how to setup and configure your Article Filters:

•    For Joomla! 1.6 - docs.joomla.org/Help16:Content_Article_Manager#List_Filters
•    For Joomla! J1.5 - docs.joomla.org/Why_does_some_HTML_get_removed_from_articles_in_version_1.5.8%3F

TROUBLE SHOOTING: How to perform a quick filtering test.

The JoomlaCK framework is known for being very good at respecting and handling code however, you can perform a quick test by switching backwards and forwards between the source code and wysiwyg mode. If your code is being transformed or stripped out before saving the article, then it points towards the editor.

If it is being stripped out after being saved to the database then its likely to be joomla!’s Article Filtering. Of course this is all on the presumption that your code is valid html, if not your web browser will strip out anything it can't read even before the editor or Joomla! gets a chance to handle your code.

Last Updated on Friday, 27 May 2011 09:05