Custom HTML Code Management In Joomla!

Starting with version 1.5.8, as a security measure a default filtering rule for custom code content was implemented to prevent possible XSS attacks. As a consequence, if you are using certain HTML tags or JavaScript code into the published articles, the resulting browser output could not be always the expected result because of the default Blacklist filter. (related article: Security Release: Joomla! 1.5.9 Is Ready For Free Download)

The default installation of a Joomla! content management system includes a filter called Blacklist which contains a series of tags that will be automatically deleted when occur in an article. This filter is not enabled for the Super Administrator users group. Other two types of filters (White List and No HTML) can be applied from the Parameters area accessible through the Article Manager window. The details about the filters setup and description are available on the official website.

In conclusion, even you turn off the default WYSIWYG (What You See Is What You Get) editor in order to maintain the natural code formatting, the enabled filtering options must be checked if a certain HTML or JavaScript code is not interpreted correctly and the resulting web page is rendered with errors.

If you want to add any types of code, like PHP or CSS in articles even with the WYSIWYG editor enabled, Sourcerer (module and plugin) is a suitable choice. In this way, you will be able to correctly integrate the desired custom code in Joomla! Articles, modules, components and other content type.

http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/digg_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/reddit_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/dzone_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/delicious_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/blinklist_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/furl_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/newsvine_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/technorati_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/magnolia_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/google_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/facebook_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/sphinn_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/mixx_48.png http://www.downloadtube.com/blog/wp-content/plugins/sociofluid/images/twitter_48.png
Tags: , , ,

Related Articles

Leave a Reply