Difference between revisions of "Why does some HTML get removed from articles in version 1.5.8?"

From Joomla! Documentation

(Added headings. Modified some punctuation.)
 
Line 3: Line 3:
 
Due to this change, you might notice problems trying to save a Youtube video, or embedding other Javascript or Flash objects into your Articles.  
 
Due to this change, you might notice problems trying to save a Youtube video, or embedding other Javascript or Flash objects into your Articles.  
  
 +
===Changing the Article Global Configuration===
 
If the default filtering option is not suitable for your needs, you can change it by using the Article Global Configuration options. For example, to change the default settings so that no filtering happens for members of the Super Administrator group:
 
If the default filtering option is not suitable for your needs, you can change it by using the Article Global Configuration options. For example, to change the default settings so that no filtering happens for members of the Super Administrator group:
 
# Navigate to Content → Article Manager.
 
# Navigate to Content → Article Manager.
Line 10: Line 11:
 
With this setting, Joomla! will use the default Blacklist filter for all users except for the Super Administrator group. If you want to let other groups of Users submit content with no filtering, just modify the instructions above to exclude these groups. If you want no filtering on any groups, follow the instructions above but select only the Registered group.
 
With this setting, Joomla! will use the default Blacklist filter for all users except for the Super Administrator group. If you want to let other groups of Users submit content with no filtering, just modify the instructions above to exclude these groups. If you want no filtering on any groups, follow the instructions above but select only the Registered group.
  
Note: If you are using the Tiny MCE Editor you may also want to adjust these settings in the plugin:
+
===TinyMCE Editor Configuration===
 +
If you are using the Tiny MCE Editor, you may also want to adjust these settings in the plugin:
  
* Code Cleanup on Startup -> Off  
+
* Code Cleanup on Startup → Off  
* Code cleanup on save -> Always (TinyMCE since J! 1.5.12).
+
* Code Cleanup on Save → Always (TinyMCE since Joomla! version 1.5.12)
* Do not clean HTML entities -> Yes [In 1.5.15 and later it is called Entity Encoding -> Raw]
+
* Do Not Clean HTML Entities → Yes (In Joomla! version 1.5.15 and later, it is called Entity Encoding -> Raw)
  
 
+
More detailed instructions for filtering options can be found by pressing the Help button when in the Article Manager, or [http://docs.joomla.org/Screen.content.15#Filtering_Options_.28HTML.29 here in the Joomla documentation].
More detailed instructions for filtering options can be found by pressing the Help button when in the Article Manager, or by clicking [http://docs.joomla.org/Screen.content.15#Filtering_Options_.28HTML.29 this link].
 
  
 
[[Category:Version 1.5 FAQ]]
 
[[Category:Version 1.5 FAQ]]
 
[[Category:Version 1.5.8 FAQ]]
 
[[Category:Version 1.5.8 FAQ]]

Latest revision as of 16:47, 31 January 2011

In Joomla! 1.5.8 and later, a default filtering choice is in place for those who have not selected an Article Filter option. The default applied for those who have not made a selection implements "black list" filtering as a security precaution against possible XSS. In version 1.5.8, all users, including members of the Super Admin group, have this set by default. In versions 1.5.9 and later, users in the Super Admin group do not have any filtering by default.

Due to this change, you might notice problems trying to save a Youtube video, or embedding other Javascript or Flash objects into your Articles.

Changing the Article Global Configuration[edit]

If the default filtering option is not suitable for your needs, you can change it by using the Article Global Configuration options. For example, to change the default settings so that no filtering happens for members of the Super Administrator group:

  1. Navigate to Content → Article Manager.
  2. Press the Parameters icon in the toolbar to show the Articles - Global Configuration screen.
  3. Scroll down to Filtering Options, highlight all Filter groups except Super Administrator, and select Filter type of Blacklist (Default), as shown in the screenshot below.
    Html filter example.png

With this setting, Joomla! will use the default Blacklist filter for all users except for the Super Administrator group. If you want to let other groups of Users submit content with no filtering, just modify the instructions above to exclude these groups. If you want no filtering on any groups, follow the instructions above but select only the Registered group.

TinyMCE Editor Configuration[edit]

If you are using the Tiny MCE Editor, you may also want to adjust these settings in the plugin:

  • Code Cleanup on Startup → Off
  • Code Cleanup on Save → Always (TinyMCE since Joomla! version 1.5.12)
  • Do Not Clean HTML Entities → Yes (In Joomla! version 1.5.15 and later, it is called Entity Encoding -> Raw)

More detailed instructions for filtering options can be found by pressing the Help button when in the Article Manager, or here in the Joomla documentation.