Content Article Manager Options
From Joomla! Documentation
Revision as of 21:33, 18 April 2012 by Dextercowley
This pop-up screen is shown when the User clicks the 'Options' button on the Toolbar.
- 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)
Web sites can be attacked by users entering in special HTML code. Filtering is a way to protect your Joomla! web site. Filtering options 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 in Joomla! version 2.5 is that all users 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, all 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.
To access the filtering settings, click on Options and select 'Text filters'
For each user group on your site you can specify what type of filtering is applied to their edits.
There are four types of filters: Black List, White List, No HTML and No Filtering.
Black List Filters
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.
White List Filters
White list filters allow you to specify that a given group can only use a specific list of HTML tags and attributes. You can 'White List' (allow) tags and attributes by adding to the Filter tags and Filter attributes fields for the desired group, separating each tag or attribute name with a space or comma.
No HTML Filters
No HTML filters are the strictest set of filters you can apply. Groups that are set to No HTML will not have permission to use any HTML.
No filtering is the most permissive set of filters you can apply. Groups that are set to No Filtering will have permission to use any and all tags and attributes, including the default blacklisted tags and attributes.
If a user belongs to two different groups that have different filter settings, filters will combine in a permissive way. That is, the set of tags the user will be permitted to use will the combination of the tags that each group allows the user to use. So if the user is a member of one group that white lists a specific set of tags and another group that white lists a different set of tags, the user will be able to use both sets of white listed tags. White lists override blacklists, so if a user belongs to one group that black lists a tag and another group that white lists a tag, the user will be able to use that tag. A user that belongs to a group that has no filtering will be able to use any HTML regardless of filtering settings for other groups the user belongs to.
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.
Example One: To allow people in a group to only submit content with basic HTML tags, use the following settings:
- 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
Example Two: To apply the default black-list filtering to a group, use the following settings:
- Select Black List as the Filter type.
- Leave the Filter Tags and Filter attributes fields empty.
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.