Difference between revisions of "Add arbitrary HTML to an article"

From HAA Best Practices Wiki
Jump to: navigation, search
(Created page with 'If you try to add arbitrary html to an article you are liable to run up against the fact that both Joomla and the TinyMCE Editor that we use filter out some html tags. For the m…')
(No difference)

Revision as of 18:25, 15 March 2011

If you try to add arbitrary html to an article you are liable to run up against the fact that both Joomla and the TinyMCE Editor that we use filter out some html tags. For the most part, this is desirable behaviour but occasionally you may want to enter arbitrary html. Here's how to disable the filtering:

  • First, you need to be logged in as a super-administrator. The admin account that was in your system when it was delivered is a super-administrator. I will assume that you are editing using this account.
  • Next you need to turn off the use of TinyMCE for the admin account. Go to Joomla->Site->User Manger, click on the admin user, and, in the Parameters block, set the 'User Editor' to 'Editor - no editor'. Now when you go to edit an article you will only see the raw html, not a WYSIWYG representation of it.
  • Finally, there is a setting that allows you to turn off the html filtering by Joomla itself. I have set that to off for super-administators in all of the template sites, but I want to document it here so you will be aware of the setting. Go to Joomla->Content->Aricle Manager. Click on the 'Parameters' icon. Scroll down to 'Filtering Options'. Select 'Public Front End' through 'Administrator' - leaving out 'Super Adminstrator'; click on the 'Blacklist (default)' button and then scroll up to the top and press 'Save'. This turns off filtering for the Super Aministrators and uses 'Blacklist' filtering for everybody else.

Return to the Basic Management How-To's page