How to filter HTML code in Joomla 2.5?

You can define different filtering options regarding the entered HTML code by the members of the different user groups. The HTML filtering configuration can be set through the Joomla 2.5 admin area -> Site -> Global Configuration -> Text Filters.

There you will find a list with all the user groups created for your Joomla 2.5 script. You can pick a text filtering option for each usergroup from the Filter Type drop-down menu. The possible options are:

    • Default Black List - All the tags and attributes are allowed expect the following ones:

Tags - 'applet', 'body', 'bgsound', 'base', 'basefont', 'embed', 'frame', 'frameset', 'head', 'html', 'id', 'iframe', 'ilayer', 'layer', 'link', 'meta', 'name', 'object', 'script', 'style', 'title', 'xml';

Attributes - 'action', 'background', 'codebase', 'dynsrc', 'lowsrc';

More tags and attributes can be entered in the Filter Tags and Filter Attributes fields. The list items should be separated with comma.

  • Custom Black List - Can overwrite the tags and attributes included in the above list. Again, they should be added in the Filter Tags and Filter Attributes fields.
  • White List - Only the specified tags and attributes will be allowed. 
  • No html - All the HTML code will be filtered.
  • No filtering - The filtering is disabled. Usually this option is selected for the Joomla 2.5 Super Users and Administrators accounts.

Once  you complete the setup save the changes.

Joomla is a powerful software that is easy to work with once you have the right host to support you. Before you lose any more time with the wrong host, check out the hostlantern Joomla hosting offer.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Multiple Joomla websites with a single memcached server

hostlantern offers its customers the option to enable memcached in their Joomla applications....

How to configure Joomla 2.5 ACL?

One of the great features available in Joomla 1.6, 1.7 and 2.5 is called ACL. The abbreviation...

How to set drop-down menu with Joomla 2.5?

There are different ways to create a drop-down menu for your Joomla 2.5 web site. For example,...

How to reset my Joomla 2.5 password?

If you have problems to access your Joomla 2.5 admin area and can not remember the correct...

How to activate SSL protection for your Joomla 2.5 web site?

In order to turn on an SSL certificate support for your web site you should load your Joomla 2.5...

Powered by WHMCompleteSolution