Help15

Difference between revisions of "Screen.content.15"

From Joomla! Documentation

m (→‎Related Information: category reorganizing)
 
(31 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{underconstruction}}
 
 
==How to access==
 
==How to access==
Click on the Article Manager icon in the [[screen.cpanel.15|Control Panel]], or click on 'Article Manager' in the 'Content' menu on the back-end of your Joomla! installation.
+
Click the Article Manager icon in the [[screen.cpanel.15|Control Panel]], or click 'Article Manager' in the 'Content' menu in the back-end of your Joomla! installation.
  
 
==Description==
 
==Description==
The Article Manager is the place on the back-end where you add and manage all of the articles for your web site.
+
The Article Manager is the place in the back-end where you can add and manage all of the articles for your web site.
  
 
==Screenshot==
 
==Screenshot==
[[Image:article_manager.png|frame|center]]
+
[[Image:Article.Manager.png]]
 +
 
 +
''Note: greyed item (# 15) is archived and cannot be edited before unarchived.''
  
 
==Column Headers==
 
==Column Headers==
 +
Click on the column heading to sort the list by that column's value.
 +
{{colheader|Number}}
 
{{colheader|Checkbox}}
 
{{colheader|Checkbox}}
 
{{colheader|Title}}
 
{{colheader|Title}}
{{colheader|Published}}
+
{{colheader|Article Published}}
 
{{colheader|Front Page}}
 
{{colheader|Front Page}}
 
{{colheader|Order}}
 
{{colheader|Order}}
Line 22: Line 25:
 
{{colheader|Hits}}
 
{{colheader|Hits}}
 
{{colheader|Id}}
 
{{colheader|Id}}
 +
{{colheader|Display #}}
  
 
==Toolbar==
 
==Toolbar==
At the top right you will see the toolbar:
+
At the top right you will see the following toolbar:
[[Image:article_manager_toolbar.png|center]]
+
[[Image:article_manager_toolbar.png]]
  
 
The functions are:
 
The functions are:
Line 41: Line 45:
  
 
==List Filters==
 
==List Filters==
You can filter the list of items either by entering in part of the title or ID number or by selecting a Section, Category, Author, or Published State.
+
'''Filter by Partial Title'''
 +
 
 +
You can filter the list of items either by entering in part of the title or the ID number. Or you can select a combination of Section, Category, Author, and Published State.
 
{{colheader|List Filter}}
 
{{colheader|List Filter}}
  
 +
'''Filter by Section, Category, Author, Published State'''
 
In the upper right area, above the column headings, are 4 drop-down list boxes as shown below:[[Image:article_manager_filter2.png|center]] The selections may be combined. Only items matching all selections will display in the list.
 
In the upper right area, above the column headings, are 4 drop-down list boxes as shown below:[[Image:article_manager_filter2.png|center]] The selections may be combined. Only items matching all selections will display in the list.
 
{{colheader|Select Section}}
 
{{colheader|Select Section}}
Line 77: Line 84:
 
{{colheader|Global Print Icon}}
 
{{colheader|Global Print Icon}}
 
{{colheader|Global E-mail Icon}}
 
{{colheader|Global E-mail Icon}}
{{colheader|Global Hits}}
+
{{colheader|Hits}}
 
{{colheader|Global For each feed item show}}
 
{{colheader|Global For each feed item show}}
  
===Filtering Options===
+
===Filtering Options (HTML)===
  
Web sites can be attacked by users entering in special HTML code. Filtering is a way to protect your Joomla! web site. Joomla! 1.5.2 brings new filtering options to give you more control over the HTML that your content providers submit. You can be as strict or as liberal as you require to suit your site's needs. The filtering is opt-in. If you don't do anything, the default settings afford good protection against markup commonly associated with web site attacks. You can define which user groups are to receive additional filtering, and then control the type and extent of that filtering.
+
Web sites can be attacked by users entering in special HTML code. Filtering is a way to protect your Joomla! web site. Joomla! 1.5 brings new filtering options to give you more control over the HTML that your content providers are allowed to submit. You can be as strict or as liberal as you desire, depending on your site's needs.  
  
The default filtering is modified by entering in the following fields:
+
It is important to understand that filtering occurs at the time an article is saved, ''after'' it has been written or edited. Depending on your editor and filter settings, it is possible for a user to add HTML to an article during the edit session only to have that HTML removed from the article when it is saved. This can sometimes cause confusion or frustration. If you have filtering set up on your site, make sure your users understand what types of HTML are allowed.
 +
 
 +
The default setting, as of Joomla! version 1.5.9, is that all users ''except members of the Super Administrator group'' will have "black list" filtering on by default. This is designed to protect against markup commonly associated with web site attacks. So, if you do not set any filtering options, the Super Administrator will have no filtering done, and all other users will have "black list" filtering done using the default list of filtered items. If you create a filter here, this overrides the default, and the default filter is no longer in effect. Only one filter option is allowed per site.
 +
 
 +
There are two steps to setting up filtering:
 +
# Decide on the user groups that will receive filtering. This will normally include the highest level group you want to filter and all of the groups below that level. For example, if you want to filter Publishers and below, this would include Publisher, Editor, Author, and Registered.
 +
# Enter the type and extent of the desired filtering.
 +
For example, if you want filtering only for Author, Registered user, and guests, select "Author", "Registered", and "Public Front End" for the Filter Groups and then select the desired type of filtering. This will apply to members of the Author, Registered and public groups but not to "higher" groups, such as Editors, Publishers, and so on.
 +
 
 +
The default filtering is overridden by entering in the following fields:
 
 
 
 
*'''Filter Groups.''' This sets the user groups that you want additional filters applied to. Other groups will have no additional filtering done. By default, all groups have filtering to protect against markup commonly associated with web site attacks.
+
*'''Filter Groups.''' This sets the user groups that you want filters applied to. Use Ctrl+Click to select multiple groups. Groups that are not selected will have no filtering done. <blockquote>''Important Note: There is a bug, as of version 1.5.8, such that you must specify at least two groups for the filtering to take place. If you only specify one group, no filtering will happen. This is easy to work around. Just be sure to always specify at least two groups here.''</blockquote>
 
*'''Filter Type.''' Black List (Default), White List, No HTML.  
 
*'''Filter Type.''' Black List (Default), White List, No HTML.  
 
**Black list means allow all HTML tags and attributes ''except'' those listed.  
 
**Black list means allow all HTML tags and attributes ''except'' those listed.  
 
**White list means allow ''only'' the listed tags and attributes.  
 
**White list means allow ''only'' the listed tags and attributes.  
 
**No HTML means allow no HTML markup at all. All HTML is removed from an Article when it is saved.
 
**No HTML means allow no HTML markup at all. All HTML is removed from an Article when it is saved.
*'''Filter Tags.''' The ''extra'' tags to ''exclude'' in a Black List, or the ''only'' tags to ''allow'' in a White List.
+
*'''Filter Tags.''' The ''extra'' tags to exclude in a Black List, or the ''only'' tags to allow in a White List.
*'''Filter Attributes.''' The ''extra'' tag attributes to ''exclude'' in a Black List, or the ''only'' tag attributes to ''allow'' in a White List.
+
*'''Filter Attributes.''' The ''extra'' tag attributes to exclude in a Black List, or the ''only'' tag attributes to allow in a White List.
  
 
====Default Filters====
 
====Default Filters====
The default filter method in Joomla! is 'Black List'. The default black list contains the following tags (which will be excluded):
+
The default filter method in Joomla! is 'Black List'. The default 'Black List' contains the following tags to exclude:
  
 
:'applet', 'body', 'bgsound', 'base', 'basefont', 'embed', 'frame', 'frameset', 'head', 'html', 'id', 'iframe', 'ilayer', 'layer', 'link', 'meta', 'name', 'object', 'script', 'style', 'title', 'xml'
 
:'applet', 'body', 'bgsound', 'base', 'basefont', 'embed', 'frame', 'frameset', 'head', 'html', 'id', 'iframe', 'ilayer', 'layer', 'link', 'meta', 'name', 'object', 'script', 'style', 'title', 'xml'
  
The default black list contains the following attributes to exclude:
+
The default 'Black List' contains the following attributes to exclude:
  
 
:'action', 'background', 'codebase', 'dynsrc', 'lowsrc'
 
:'action', 'background', 'codebase', 'dynsrc', 'lowsrc'
  
You can 'Black List' (disallow) additional tags and attributes by adding to the Filter tags and Filter attributes fields, separating each tag or attribute name with a space or comma.
+
You can 'Black List' (disallow) additional tags and attributes by adding to the Filter tags and Filter attributes fields, separating each tag or attribute name with a space or comma. If you select a Filter Type of "Black List", this list will always be used, plus any additional tags and attributes you add.
  
 
Please note that these settings work regardless of the editor that you are using.  Even if you are using a WYSIWYG editor, the filtering settings may strip additional tags and attributes prior to saving information in the database.
 
Please note that these settings work regardless of the editor that you are using.  Even if you are using a WYSIWYG editor, the filtering settings may strip additional tags and attributes prior to saving information in the database.
  
====Filter Example====
+
====Filter Examples====
  
For example, to allow people in your Author group to only submit content with basic HTML tags, use the following settings:
+
'''Example One:'''
 +
To allow people in your Author group to only submit content with basic HTML tags, use the following settings:[[Image:Screen_content_article_filter_example1_20090126.png|frame|center]]
 +
* In the Filter groups box, select Registered and Author.
 +
* Select White List as the Filter type
 +
* Set the Filter tags to: p, b, i, em, br, a, ul, ol, li, img
 +
* Set the Filter attributes to: href, target, src
 +
In this example, no filtering will be done for members of the Editor, Publisher, Manager, Administrator, and Super Administrator groups.
  
 +
'''Example Two:'''
 +
To apply the default black-list filtering to all groups except for Admin and Super Admin, use the following settings:[[Image:Screen_content_article_filter_example2_20090126.png|frame|center]]
 +
* In the Filter groups box, select all groups ''except'' Admin and Super Admin.
 +
* Select Black List as the Filter type.
 +
* Leave the Filter Tags and Filter attributes fields empty.
 +
In this example, no filtering will be done for members of the Administrator and Super Administrator groups.
 +
 +
'''Example Three:'''
 +
If you allow others you do not know (and therefore have no reason to trust) to submit articles on your Joomla! Web site, the safest (and most restrictive) filtering is as follows:[[Image:Screen_content_article_filter_example3_20090126.png|frame|center]]
 +
* In the Site &rarr; Global Configuration &rarr; System, set "New Registration Type" to "Author".
 
* In the Filter groups box, select Registered and Author.
 
* In the Filter groups box, select Registered and Author.
* Select White List as the Filter type
+
* In the Filter Type, select "No html".
* Set the Filter tags to: p, br, a, ul, ol, li
+
This will not allow an author to use any HTML inside an article's content. In this example, no filtering will be done for members of the Editor, Publisher, Manager, Administrator, and Super Administrator groups.
* Set the Filter attributes to: href, target
 
  
 
====Developers Notes====
 
====Developers Notes====
Line 125: Line 156:
 
*To create a static content item, create a new Article in the same way as for normal content and assign it to the 'Uncategorized' Section and Category. You can then use the Menu Item Type called Article Layout to show the Article in a page.  
 
*To create a static content item, create a new Article in the same way as for normal content and assign it to the 'Uncategorized' Section and Category. You can then use the Menu Item Type called Article Layout to show the Article in a page.  
  
*The way a 'Read more...' is created is new for version 1.5. When you are adding or editing an article, just press the 'Read more...' button located at the bottom of the screen, next to Image and Pagebreak buttons. This inserts a 'Read more...' break in the Article. The text before the break will display as the Intro Text, and the text after the break will display when the 'Read more...' link is pressed.
+
*Joomla! 1.5 changes the method you must use to create the 'Read more...' link. When you are adding or editing an article, just press the 'Read more...' button located at the bottom of the screen, next to Image and Pagebreak buttons. This inserts a 'Read more...' break in the Article. The text before the break will display as the Intro Text, and the text after the break will display when the 'Read more...' link is pressed.
  
  
  
 
==Related Information==
 
==Related Information==
 +
* To add or edit Articles: [[screen.content.edit.15|Article Manager - New/Edit]]
 +
* To manage Categories: [[screen.categories.15|Category Manager]]
 +
* To manage Sections: [[screen.sections.15|Section Manager]]
 +
* To manage Users: [[screen.users.15|User Manager]]
  
 
+
<noinclude>{{cathelp|1.5|Article Manager Help Screens|Content Help Screens}}</noinclude>
 
 
 
 
[[Category:DocCamp]]
 

Latest revision as of 22:15, 4 August 2012

How to access[edit]

Click the Article Manager icon in the Control Panel, or click 'Article Manager' in the 'Content' menu in the back-end of your Joomla! installation.

Description[edit]

The Article Manager is the place in the back-end where you can add and manage all of the articles for your web site.

Screenshot[edit]

Article.Manager.png

Note: greyed item (# 15) is archived and cannot be edited before unarchived.

Column Headers[edit]

Click on the column heading to sort the list by that column's value.

  • #. An indexing number automatically assigned by Joomla! for ease of reference.
  • Checkbox. Check this box to select one or more items. To select all items, check the box in the column heading. After one or more boxes are checked, click a toolbar button to take an action on the selected item or items. Many toolbar actions, such as Publish and Unpublish, can work with multiple items. Others, such as Edit, only work on one item at a time. If multiple items are checked and you press Edit, the first item will be opened for editing.
  • Title. The name of the item. For a Menu Item, the Title will display in the Menu. For an Article, Section, or Category, the Title may optionally be displayed on the web page. This entry is required. You can open the item for editing by clicking on the Title.
  • Published. The Article's Published status. The possible values are shown under the main window, as shown below:
Article published.png
You can toggle the Published state on and off by clicking on the icon in this column. A status of Pending means that an Article's Start Publishing Date is in the future. You can hover on the icon to see an Article's Start and Stop Publishing dates.
  • Front Page. Whether or not the Article will show on the Front Page. You can change an Article's published state by clicking on the icon in the column.
  • Order. The order to display items. If the list is sorted by this column, you can change the order by clicking the arrows or by entering the sequential order and clicking 'Save Order'.
  • Access Level. Who has access to this item. Current options are:
    • Public: Everyone has access
    • Registered: Only registered users have access
    • Special: Only users with author status or higher have access
You can change an item's Access Level by clicking on the icon in the column.
  • Section. The Section this item belongs to. Clicking on the Section Title opens the Section for editing. See Section Manager - Edit.
  • Category. The Category this item belongs to. Clicking on the Category title opens the Category for editing. See Category Manager - Edit.
  • Author. Name of the Joomla! User who created this item. Clicking on the Author opens the User for editing. See User Manager - Edit.
  • Date. The date this Article was created. This date is added automatically by Joomla!, but you may change it in the Parameters - Article section of the Article Manager - New/Edit.
  • Hits. The number of hits for an Article. A hit is the number of times a page has been viewed. Hits can be reset to 0 in the Article Manager - New/Edit screen.
  • ID. The ID number. This is a unique identification number for this item assigned automatically by Joomla!. It is used to identify the item internally, for example in internal links. You can not change this number.
  • Display #. The number of items to display on one page. If there are more items than this number, you can use the page navigation buttons (Start, Prev, Next, End, and page numbers) to navigate between pages. Note that if you have a large number of items, it may be helpful to use the Filter options, located above the column headings, to limit which items display (where applicable).

Toolbar[edit]

At the top right you will see the following toolbar: Article manager toolbar.png

The functions are:

  • Unarchive. To remove one or more Articles from Archived status, select them and press this button. Archived Articles are retained on the site and are available for viewing on Menu Items with a Type of Archive Layout. Note that when an Article is unarchived, its status is changed to 'Not Published'. Also, if an Article does not have a status of 'Archived', this button has no effect.
  • Archive. To change one or more Articles to Archived status, select them and press this button. Archived Articles are retained on the site and are available for viewing on Menu Items with a Type of Archive Layout. They can not be published to other pages while set to Archived status. Note that Articles assigned to the "Uncategorized" Section will not show on the Archived Article List layout.
  • Publish. To publish one or more items, select them and click on this button.
  • Unpublish. To unpublish one or more items, select them and click on this button.
  • Move. Select one or more items and click on this button to move them. A new screen will display showing the possible "Move to" locations on the left and the list of item(s) being moved on the right. To complete the move, select the desired "Move to" location and press the "Save" button. To cancel the operation, press "Cancel".
  • Copy. Select one or more items and click this button to copy them. A new screen will display showing the possible "Copy to" locations on the left and the list of item(s) being copied on the right. To complete the copy, select the desired "Copy to" location and press the Copy button. To cancel the operation, press Cancel.
  • Trash. Select one or more Articles and click on this button to move them to the Trash Manager. Note that Articles can be restored from the Trash Manager as long as they are not permanently deleted. See Trash Manager for more information.
  • Edit. Select one item and click on this button to open it in edit mode. If you have more than one item selected (where applicable), the first item will be opened. You can also open an item for editing by clicking on its Title or Name.
  • New. Click on this button to create a new item. You will enter the New page for this item.
  • Parameters. Click this button to open the Global Configuration window. This window allows you to set default parameters for Articles. This default parameter will take effect if the corresponding Menu Item parameter and Article parameter are both set to 'Use Global'. See Global Configuration below.
  • Help. Opens this Help Screen.

List Filters[edit]

Filter by Partial Title

You can filter the list of items either by entering in part of the title or the ID number. Or you can select a combination of Section, Category, Author, and Published State.

  • Filter. In the upper left corner just above the column headings is a Filter field and two buttons, as shown below:
    Article manager filter1.png
    If you have a large number of items on the list, you can use this filter to find the desired item(s) quickly. Enter either part of the title and press 'Go' to display the matching items. You can enter in whole words or part of a word. For example, "ooml" will match all titles with the word "Joomla!" in them. You can also search for a specific item id by entering "id:" followed by the id number. For example, "id:123" will find the item with an id of '123'.

Filter by Section, Category, Author, Published State

In the upper right area, above the column headings, are 4 drop-down list boxes as shown below:

Article manager filter2.png

The selections may be combined. Only items matching all selections will display in the list.

  • Select Section. Use the drop-down list box to select the desired Section. Only items in this Section will display. You may also select 'Uncategorized'.
  • Select Category. Use the drop-down list box to select the desired Category. Only items in this Category will display.
  • Select Author. Use the drop-down list box to select the desired Author. Only Articles with this Author will display.
  • Select Status. Use the drop-down list box to select the published state: Published, Unpublished, Trashed, or All. For Articles, you may also select Archived. Important: With the default setting of -Select Status-, the screen only shows Published and Unpublished items. If you have the filter set to -Select Status- and you change items to Trashed, the Trashed items will disappear from the screen. However, they have not been permanently deleted. To do that you need to:
  1. Change the filter to Trashed. The Delete icon will now show in the toolbar.
  2. Select the items you want to permanently delete.
  3. Click on the Delete icon.
You can see all items, regardless of their published state, by selecting All for this filter. You can also re-publish Trashed items by selecting them and clicking on the Publish icon in the toolbar.

Global Configuration[edit]

This pop-up screen is shown when the User clicks the 'Parameters' button on the Toolbar.

Screenshot[edit]

Articles global1.png
Articles global2.png

Column Headers[edit]

  • Show Unauthorized Links. (No/Yes). Whether or not to show links to Articles that the User is not authorized to access. If set to No, Users will only see links to Articles that they may access. If set to Yes, every User will see all Article links, whether or not they can access them. In this case, a link to the User Login page will display below the Article Title.
  • Show Article Title. (No/Yes) Whether or not to show the title of the article.
  • Title Linkable. (No/Yes) Whether or not the Title of the Article will be a hyperlink to the Article.
  • Show Intro Text. (Hide/Show) Hide or Show an Article's Intro Text when the 'Read more...' link is selected. Intro Text is the part of the Article before a 'Read more...' break. If this parameter is 'Show', when the User selects the 'Read more...' link, the entire article will display, including the Intro Text. If this parameter is 'Hide', when the User selects the 'Read more...' link, only the part of the Article after the 'Read more...' link will display.
  • Section Name. (Hide/Show) Whether or not the Section Name will display.
  • Section Title Linkable. (No/Yes) Whether or not the Title of the Section will be a hyperlink to the Section page.
  • Category Title. (Hide/Show) Whether or not the Category Title will display.
  • Category Title Linkable. (No/Yes) Whether or not the Title of the Category will be a hyperlink to the Category page.
  • Author Name. (Hide/Show) Whether or not to display the Author Name.
  • Created Date and Time. (Hide/Show) Whether or not to display the date and time the Article was created.
  • Modified Date and Time. (Hide/Show) Whether or not to display the date and time the Article was last modified.
  • Show Navigation. (Hide/Show) Whether or not to show a navigation link (e.g., Next, Previous) between Articles.
  • Read More... Link. (Hide/Show) Whether or not to show the "Read More..." link to link from the part of the Article before the "Read More..." break to the rest of the Article.
  • Article Rating/Voting. (Hide/Show) Whether or not to display the Article Rating/Voting module.
  • Icons. (Hide/Show) Whether the PDF, Print, and E-mail buttons for the Article will display as Icons or Text. If set to Hide, these buttons will display as Text ("PDF", "Print", and "E-mail"). If set to Show, they will display as Icons. Note that these buttons only display if the individual options are set to Show.
  • PDF Icon. (Hide/Show) Whether or not to display a button to allow the Article to be rendered in a new window in PDF format. This allows the User to view, print, or save the Article as a PDF file.
  • Print Icon. (Hide/Show) Whether or not to display a button to allow the Article to be printed. This allows the User to print the current Article in a printer-friendly format.
  • E-mail Icon. (Hide/Show) Whether or not to display a button to allow a link to the Article to be e-mailed. This displays a form that allows the user to send an e-mail with a link to the current Article.
  • Hits. The number of hits for an Article. A hit is the number of times a page has been viewed. Hits can be reset to 0 in the Article Manager - New/Edit screen.
  • For each feed item show. (Intro Text/Full Text) If set to Intro Text, only the intro text of each article will show. If set to Full Text, the whole article will show in the newsfeed.

Filtering Options (HTML)[edit]

Web sites can be attacked by users entering in special HTML code. Filtering is a way to protect your Joomla! web site. Joomla! 1.5 brings new filtering options to give you more control over the HTML that your content providers are allowed to submit. You can be as strict or as liberal as you desire, depending on your site's needs.

It is important to understand that filtering occurs at the time an article is saved, after it has been written or edited. Depending on your editor and filter settings, it is possible for a user to add HTML to an article during the edit session only to have that HTML removed from the article when it is saved. This can sometimes cause confusion or frustration. If you have filtering set up on your site, make sure your users understand what types of HTML are allowed.

The default setting, as of Joomla! version 1.5.9, is that all users except members of the Super Administrator group will have "black list" filtering on by default. This is designed to protect against markup commonly associated with web site attacks. So, if you do not set any filtering options, the Super Administrator will have no filtering done, and all other users will have "black list" filtering done using the default list of filtered items. If you create a filter here, this overrides the default, and the default filter is no longer in effect. Only one filter option is allowed per site.

There are two steps to setting up filtering:

  1. Decide on the user groups that will receive filtering. This will normally include the highest level group you want to filter and all of the groups below that level. For example, if you want to filter Publishers and below, this would include Publisher, Editor, Author, and Registered.
  2. Enter the type and extent of the desired filtering.

For example, if you want filtering only for Author, Registered user, and guests, select "Author", "Registered", and "Public Front End" for the Filter Groups and then select the desired type of filtering. This will apply to members of the Author, Registered and public groups but not to "higher" groups, such as Editors, Publishers, and so on.

The default filtering is overridden by entering in the following fields:

  • Filter Groups. This sets the user groups that you want filters applied to. Use Ctrl+Click to select multiple groups. Groups that are not selected will have no filtering done.

    Important Note: There is a bug, as of version 1.5.8, such that you must specify at least two groups for the filtering to take place. If you only specify one group, no filtering will happen. This is easy to work around. Just be sure to always specify at least two groups here.

  • Filter Type. Black List (Default), White List, No HTML.
    • Black list means allow all HTML tags and attributes except those listed.
    • White list means allow only the listed tags and attributes.
    • No HTML means allow no HTML markup at all. All HTML is removed from an Article when it is saved.
  • Filter Tags. The extra tags to exclude in a Black List, or the only tags to allow in a White List.
  • Filter Attributes. The extra tag attributes to exclude in a Black List, or the only tag attributes to allow in a White List.

Default Filters[edit]

The default filter method in Joomla! is 'Black List'. The default 'Black List' contains the following tags to exclude:

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

The default 'Black List' contains the following attributes to exclude:

'action', 'background', 'codebase', 'dynsrc', 'lowsrc'

You can 'Black List' (disallow) additional tags and attributes by adding to the Filter tags and Filter attributes fields, separating each tag or attribute name with a space or comma. If you select a Filter Type of "Black List", this list will always be used, plus any additional tags and attributes you add.

Please note that these settings work regardless of the editor that you are using. Even if you are using a WYSIWYG editor, the filtering settings may strip additional tags and attributes prior to saving information in the database.

Filter Examples[edit]

Example One:

To allow people in your Author group to only submit content with basic HTML tags, use the following settings:

Screen content article filter example1 20090126.png
  • In the Filter groups box, select Registered and Author.
  • Select White List as the Filter type
  • Set the Filter tags to: p, b, i, em, br, a, ul, ol, li, img
  • Set the Filter attributes to: href, target, src

In this example, no filtering will be done for members of the Editor, Publisher, Manager, Administrator, and Super Administrator groups.

Example Two:

To apply the default black-list filtering to all groups except for Admin and Super Admin, use the following settings:

Screen content article filter example2 20090126.png
  • In the Filter groups box, select all groups except Admin and Super Admin.
  • Select Black List as the Filter type.
  • Leave the Filter Tags and Filter attributes fields empty.

In this example, no filtering will be done for members of the Administrator and Super Administrator groups.

Example Three:

If you allow others you do not know (and therefore have no reason to trust) to submit articles on your Joomla! Web site, the safest (and most restrictive) filtering is as follows:

Screen content article filter example3 20090126.png
  • In the Site → Global Configuration → System, set "New Registration Type" to "Author".
  • In the Filter groups box, select Registered and Author.
  • In the Filter Type, select "No html".

This will not allow an author to use any HTML inside an article's content. In this example, no filtering will be done for members of the Editor, Publisher, Manager, Administrator, and Super Administrator groups.

Developers Notes[edit]

The filtering parameters in config.xml have the new parameter menu="hide". This hides the filters from the Menu Item's Component pane as you do not want cascading overrides to occur at the menu item level.

Quick Tips[edit]

  • In Joomla! versions prior to 1.5, there were separate processes for creating a Static Content Item and normal Content Items. Both processes are now done just by adding Articles. Normal Content Items are now just called Articles, and Static Content Items are now called Uncategorized Articles.
  • To create a static content item, create a new Article in the same way as for normal content and assign it to the 'Uncategorized' Section and Category. You can then use the Menu Item Type called Article Layout to show the Article in a page.
  • Joomla! 1.5 changes the method you must use to create the 'Read more...' link. When you are adding or editing an article, just press the 'Read more...' button located at the bottom of the screen, next to Image and Pagebreak buttons. This inserts a 'Read more...' break in the Article. The text before the break will display as the Intro Text, and the text after the break will display when the 'Read more...' link is pressed.


Related Information[edit]