Help310

Help310:Menus Menu Item Article Categories

From Joomla! Documentation

Revision as of 07:11, 4 April 2022 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎français


Description

Used to show a list of all Article Categories. Categories are shown in a hierarchical list. Depending on the selected options for this layout, you can click on a category Title to show the Articles in that category.

How to Access

Add a new menu item 'List All Categories'

  • Select Menus  [name of the menu]  Add New Menu Item from the dropdown menu of the Administrator Panel
  • Click the 'Menu Item Type' Select button Help30-Menu-Item-Type-Select-Button-en.png
  • Select Articles  List All Categories in the modal popup window.

Edit an existing menu item 'List All Categories'


Screenshot

Help30-Menus-Menu-Item-Article-Categories-screen-en.png


Form Fields

  • Menu Title. The title that will display for this menu item.
  • Alias. The internal name of the menu item. Normally, you can leave this blank and Joomla will fill in a default value. The default value is the Title in lower case and with dashes instead of spaces. You may enter the Alias manually. Learn more about Aliases.

Details

  • Menu Item Type. The Menu Item Type selected when this menu item was created. This can be one of the core menu item types or a menu item type provided by an installed extension.
  • Select a Top Level Category. Categories that are within this category will be displayed. To include all article categories, select Root. Otherwise, select the desired top-level category. All child categories of the selected category will show in the layout.
  • Link. The system-generated link for this menu item. This field cannot be changed and is for information only.
  • Target Window. This determines how the new page will be opened. Options are:
    • Parent: Open new menu item in parent window. This is the default.
    • New Window With Navigation: Open menu item in a new window with full browser navigation (for example, "back" button).
    • New Without Navigation: Open menu item in a new window without browser navigation.
  • Template Style. Controls the template style for this menu item. A list box will show the available template styles for your site.
    • - Use Default -: Use the default style for the site to show this menu item.
    • [Template Style]: Select a specific template style to always show this menu item with that style.

Menu item sidebar
  • Menu. Shows which menu the menu item will appear in.
  • Parent Item. The parent menu item for this menu item. Used to determine whether a Menu Item is a top-level item or a submenu item.
    • Menu Item Root: Select the default value if this is a top-level Menu Item.
    • [menu item title]: Select the Menu Item that is this menu item's parent.
  • Ordering. Indicates the order of this Menu Item in the Menu. The default Order is to add the Menu Item to the end of the Menu. This Menu Item will moved to the order position just after the Menu Item selected from the dropdown list. Note: The Order can also be changed in Menu Items.
  • Status. (Published/Unpublished/Trashed) The published status of the menu item.
  • Default Page. (Yes/No) If Yes, this menu item is the default or home page for the site. There must be exactly one menu item set as the default page. You can change the default page in 2 ways:
    1. Click on the Home column of the desired menu item in Menu Items.
    2. Open the menu item for the new default page and change the Default Page setting to Yes.
  • Access. Who has access to this menu item.
    • Public: Everyone has access.
    • Guest: Everyone has access.
    • Registered: Only registered users have access.
    • Special: Only users with author status or higher have access.
    • Super Users: Only super users have access.
  • Language. Select the language for this menu item. If you are not using the multi-language feature of Joomla, keep the default of All.
  • Note. Menu item note. This is normally for the site administrator's use (for example, to document information about this menu item) and does not show in the Frontend of the site.

Categories

The Categories Options allow you to control various aspects of this layout, as shown below. If you select Use Global for any option, the value from the Article Manager Options will be used.

Help30-Menus-Menu-Item-Article-Categories-categories-options-parameters-en.png
  • Top Level Category Description. (Use Global/Show/Hide) Show description of the top level category or alternatively replace with the text from the description field found in the menu item. If using Root as a top level category, the description field has to be filled.
  • Alternative Description. Enter an optional description to override the category description for this layout. If the Top Level Description option is set to 'Show', this entered description will show instead of the normal category description.
  • Subcategory Levels. (Use Global/None/All/1-5) The number of subcategory levels to display. Select 'All' to show all levels in the subcategory hierarchy.
  • Empty Categories. (Use Global/Show/Hide) Show or hide categories that contain no articles and no subcategories.
  • Subcategories Descriptions. (Use Global/Show/Hide) Show or hide the subcategories descriptions.
  • # Articles in Category. (Use Global/Show/Hide) Show or hide the number of articles in each category.

Category

Category Options control the appearance of the screen when you click on a category link. The following options are available.

Help30-Menus-Menu-Item-Article-Categories-category-options-parameters-en.png
  • Category Title. (Use Global/Show/Hide) If Show, the Category Title will show as a subheading on the page. The subheading is usually displayed inside the H2 tag.
  • Category Description. (Use Global/Show/Hide) Show or hide the description of the category.
  • Category Image. (Use Global/Show/Hide) Show or hide the image of the category.
  • Subcategory Levels. (Use Global/None/All/1-5) The number of subcategory levels to display. Select 'All' to show all levels in the subcategory hierarchy.
  • Empty Categories. (Use Global/Show/Hide) Show or hide categories that contain no articles and no subcategories.
  • No Articles Message. (Use Global/Show/Hide) If Show, and if Empty Categories is Show, a message "There are no articles in this category" will show if a category contains no articles.
  • Subcategories Descriptions. (Use Global/Show/Hide) Show or hide the subcategories descriptions.
  • # Articles in Category. (Use Global/Show/Hide) Show or hide the number of articles in each category.

Blog Layout

When you drill down a category, it will normally be in a list or blog layout. Which one will depend on the settings in the Article Manager Options and the Category Edit Basic Options. Blog Layout Options control the appearance of the category drill down if that results in a blog layout. Important Note: If there is a Category Blog menu item defined for a category, the drill down will navigate to that menu item and the options for that menu item will control the layout. The options here only take effect if there is no menu item for a category.

Help30-Menus-Menu-Item-Article-Categories-blog-layout-options-parameters-en.png
  • # Leading Articles. Number of Articles to show using the full width of the main display area.
    "0" means that no Articles will show when using the full width. Leave blank to use the default value from the Articles options.
    If an Article has a "Read more..." break, only the part of the text before the break (the Intro text) will display.
  • # Intro Articles. Determines the number of Articles to display after the leading Article.
    These Articles will display in the number of columns set in the Columns parameter below. Leave blank to use the default value from the Articles options.
    If an Article has a "Read more..." break, only the text before the break (Intro text) will display, followed by a "Read more..." link.
    The order in which to display the articles is determined by the Multi Column Order parameters below.
  • # Columns. The number of columns to use in the Intro Text area.
    This is normally between 1 and 3 (depending on the template you are using). Leave blank to use the default value from the Articles options.
    If 1 is used, the Intro Text Articles will display using the full width of the display area, just like the Leading Articles.
  • # Links. The number of Links to display in the 'Links' area of the page. Leave blank to use the default value from the Articles options.
    These links allow a User to link to additional Articles, if there are more Articles than can fit on the first page of the Blog Layout.
Down
article 1
article 2 article 4 article 6
article 3 article 5 article 7
Across
article 1
article 2 article 3 article 4
article 5 article 6 article 7
  • Multi Column Order. In multi-column blog layouts, whether to order articles Down the columns or Across the columns.
    • Down: Order articles going down the first column and then over to the next column.
    • Across: Order articles going across the columns and then back to the first column.
    • Use Global: Use the value from the article options screen.
  • Include Subcategories.
    • None: Only articles from the current category will show.
    • 1-5: All articles from the current category and subcategories up to and including that level will show.
    • All: All articles from the current category and all subcategories will show.
    • Use Global: Use the default value from Article Options.
  • Category Order. Order of Categories in this Layout. The following options are available.
    • No Order: Articles are ordered only by the Article Order, without regard to Category.
    • Title Alphabetical: Categories are displayed in alphabetical order (A to Z)
    • Title Reverse Alphabetical: Categories are displayed in reverse alphabetical order (Z to A)
    • Category Order: Categories are ordered according to the Order column entered in Categories.
    • Use Global: Use the default value from the component options screen.
  • Article Order. Order of articles in this Layout. The following options are available.
    • Featured Articles Order: Articles are ordered according to the Order column entered in Featured Articles.
    • Most Recent First: Articles are displayed starting with the most recent and ending with the oldest.
    • Oldest First: Articles are displayed starting with the oldest and ending with the most recent.
    • Title Alphabetical: Articles are displayed by Title in alphabetical order (A to Z).
    • Title Reverse Alphabetical: Articles are displayed by Title in reverse alphabetical order (Z to A).
    • Author Alphabetical: Articles are displayed by Author in alphabetical order (A to Z).
    • Author Reverse Alphabetical: Articles are displayed by Author in reverse alphabetical order (Z to A).
    • Most Hits: Articles are displayed by the number of hits, starting with the one with the most hits and ending with the one with the least hits.
    • Least Hits: Articles are displayed by the number of hits, starting with the one with the least hits and ending with the one with the most hits.
    • Random Order: Articles are displayed in random order.
    • Article Order: Articles are ordered according to the Order column entered in Articles.
    • Article Reverse Order: Articles are ordered reverse to the Order column entered in Articles.
    • Use Global: Use the default value from the component options screen.
  • Date for Ordering. The date used when articles are sorted by date. Options are:
    • Created: Use the article created date.
    • Modified: Use the article modified date.
    • Published: Use the article start publishing date.
    • Use Global: Use the value set in Articles options.

List Layouts

The List Layout Options control the appearance of the category drill-down page when that is presented as a Category List. The following options are available:

Help30-Menus-Menu-Item-Article-Categories-list-layout-options-parameters-en.png
  • Display Select. (Use Global/Show/Hide) Show or hide the Display # control that allows the user to select the number of articles to show in the list.
  • Filter Field. The Filter Field creates a text field where a user can enter a field to be used to filter the articles shown in the list. Options are:
    • Hide: Don't show a filter field.
    • Title: Filter on article title.
    • Author: Filter on the author's name.
    • Hits: Filter on the number of article hits.
    • Use Global: Use the value from Articles  Options.
  • Table Headings. (Use Global/Show/Hide) If set to Show, this heading will show above the list. If set to Hide, the list will show with no headings.
  • Show Date. This option allows you to show a date in the list. Options are:
    • Hide: Don't show any date.
    • Created: Show the created date.
    • Modified: Show the date of the last modification.
    • Published: Show the start publishing date.
    • Use Global: Use the value set in Articles options.
  • Show Hits in List. (Use Global/Show/Hide) Whether to show or hide the number of hits for this article.
  • Show Author in List. (Use Global/Show/Hide) Whether to show or hide the name of the author.
  • # Articles to List. (5/10/...) The number of articles to include in the list. Select the desired number from the list box.

Shared

The Shared Options apply for Shared Options in List, Blog and Featured unless they are changed by the menu settings. The following options are available:

Help30-Menus-Menu-Item-Article-Categories-shared-options-parameters-en.png
  • Pagination. Show or hide Pagination support. Pagination provides page links at the bottom of the page that allow the User to navigate to additional pages. These are needed if the listed articles will not fit on one page.
    • Auto: Pagination links shown if needed.
    • Show: Pagination links shown if needed.
    • Hide: Pagination links not shown. Note: In this case, Users will not be able to navigate to additional pages.
    • Use Global: Use the default value from the articles options screen.
  • Pagination Results. (Use Global/Show/Hide) Show or hide the current page number and total pages (e.g., "Page 1 of 2") at the bottom of each page.

Options

The List All Categories Layout has the following Article Options, as shown below.

Help30-Menus-Menu-Item-Article-Categories-article-options-parameters-en.png

In addition to Yes/No or Hide/Show, these options allow the "Use Global" setting. This uses the default value from Article Options. The Article Options are as follows.

  • Choose a Layout. (Use Global/Default) Use a different layout from the supplied component view or overrides in the templates.
  • Show Title. (Use Global/Show/Hide) Whether or not to show the article's Title.
  • Linked Titles. (Use Global/Yes/No) If the article's Title is shown, whether to show it as a link to the article.
  • Show Intro Text. (Use Global/Show/Hide) If set to Show, the Intro Text of the article will show when you drill down to the article. If set to Hide, only the part of the article after the "Read More" break will show.
  • Show Category. (Use Global/Show/Hide) Whether or not to show the Article's Category.
  • Link Category. (Use Global/Yes/No) If the category title is shown, whether or not to show it as a link to a Single Category menu item for the category.
    Note: You can set this to be either a blog or list layout with the "Choose a layout" option in the Category Options.
  • Show Parent. (Use Global/Show/Hide) Whether or not to show the Article's Parent Category.
  • Link Parent. (Use Global/Yes/No) If the Article's Parent Category is shown, whether to show it as a link to a Category layout (list or blog) for that Category.
  • Show Author. (Use Global/Show/Hide) Whether to show the author of the Article.
  • Link Author. (Use Global/Yes/No) If the author is shown, whether or not to show it as a link to the Joomla user.
    Note: This will only show as a link if there is a Contact associated with this user. Also, a link will not show if there is an Author Alias value for the article.
  • Show Create Date. (Use Global/Show/Hide) Whether or not to show the Article's create date.
  • Show Modify Date. (Use Global/Show/Hide) Whether or not to show the Article's modify date.
  • Show Publish Date. (Use Global/Show/Hide) Whether or not to show the Article's start publishing date.
  • Show Navigation. (Use Global/Show/Hide) Whether or not to show a navigation link (for example, Next or Previous article) between articles.
  • Show Voting. (Use Global/Show/Hide) Whether or not to show the a voting icon for the Article.
    Note: The Plugin Content - Vote has to be enabled.
  • Show "Read More". (Use Global/Show/Hide) 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.
  • Show Title with Read More. (Use Global/Show/Hide) Whether or not to show the article title as part of the Read More link. If set to Show, the Read More link will be in the format "Read More: [article title]". If set to Hide, the Read More link will be "Read more...".
  • Show Icons. (Use Global/Show/Hide) If set to Show, Print and Email will use icons instead of text.
  • Show Print. (Use Global/Show/Hide) Show or hide the Print Article button.
  • Show Email. (Use Global/Show/Hide) Show or hide the Email Article button.
  • Show Hits. (Use Global/Show/Hide) Show or hide the number of times the article has been viewed (called hits).
  • Show Unauthorised Links.
    • Yes: The Intro Text for restricted articles will show. Clicking on the "Read More" link will require users to log in to view the full article content.
    • No: Articles that the user is not authorised to view (based on the viewing access level for the article) will not show.

Integration

The List All Categories layout has the following Integration Options.

Help30-Menus-Menu-Item-Article-Categories-integration-options-parameters-en.png

These determine whether a news feed will be available for the page and what information it will show.

  • Show Feed Link. (Use Global/Show/Hide) Show or hide an RSS Feed Link. A Feed Link will show up as a feed icon in the address bar of most browsers.
  • Include in Feed. Options are:
    • Intro Text: Only the Intro Text of each article will show in the news feed.
    • Full Text: The whole article will show in the news feed.
    • Use Global: Use the value set in articles options.

Link Type

Help30-Menus-Menu-Item-Article-Categories-link-type-options-en.png
  • Link Title Attribute. An optional, custom description for the title attribute of the menu hyperlink.
  • Link Class. An optional class to apply to the menu hyperlink.
  • Link Image. Select an image to use with 'Menu Title'. Use 'Add Menu Title' set to No to show just image.
  • Image Class. The class which is added to the image (src tag).
  • Add Menu Title. (Yes/No) If optional image is selected, shows a 'Menu Title' next to image.
  • Display in Menu. (Yes/No) Select No if you want to exclude this menu item from displaying in the menu.
    Note: Any submenu items will also be hidden.

Page Display

Help30-Menus-Menu-Item-Article-Categories-page-display-options-en.png
  • Browser Page Title. Optional text for the "Browser page title" element. If blank, a default value is used based on the Menu Item Title.
  • Show Page Heading. (Use Global/Yes/No). Show or hide the Browser Page Title in the heading of the page (If no optional text entered - will default to value based on the Menu Item Title). The Page heading is usually displayed inside the H1 tag.
  • Page Heading. Optional alternative text for the Page heading.
  • Page Class. Optional CSS class to add to elements in this page. This allows CSS styling specific to this page.

Metadata

Help30-Menus-Menu-Item-Article-Categories-metadata-options-en.png
  • Meta Description. An optional paragraph to be used as the description of the page in the HTML output. This will generally display in the results of search engines. If entered, this creates an HTML meta element with a name attribute of "description" and a content attribute equal to the entered text.
  • Meta Keywords. Optional entry for keywords. Must be entered separated by commas (for example, "cats, dogs, pets") and may be entered in upper or lower case. (For example, "CATS" will match "cats" or "Cats").
    Learn more about Meta Keywords.
  • Robots. The instructions for web "robots" that browse to this page.
    • Use Global: Use the value from the Metadata Settings.
    • index, follow: Index this page and follow the links on this page.
    • noindex, follow: Do not index this page, but still follow the links on the page. For example, you might do this for a site map page where you want the links to be indexed but you don't want this page to show in search engines.
    • index, nofollow: Index this page, but do not follow any links on the page. For example, you might want to do this for an events calendar, where you want the page to show in search engines but you do not want to index each event.
    • noindex, nofollow: Do not index this page or follow any links on the page.
  • Secure. Whether or not to use SSL and the Secure Site URL for this page.
    • Off: Do not use SSL.
    • On: Use SSL.
    • Ignore: Ignore this setting and use the global setting for the site.

Module Assignment

Help30-Menus-Menu-Item-Article-Categories-module-assignment-options-en.png
  • Unassigned Modules. (Show/Hide) Show or hide modules unassigned to this menu item.
  • Unpublished Modules. (Show/Hide) Show or hide modules that are unpublished.


Toolbar

At the top left you will see the toolbar.

Help32-Save-SaveClose-SaveNew-SaveAsCopy-Close-toolbar-en.png

The functions are:

  • Save. Saves the menu item and stays in the current screen.
  • Save & Close. Saves the menu item and closes the current screen.
  • Save & New. Saves the menu item and keeps the editing screen open and ready to create another menu item.
  • Save as Copy. Saves your changes to a copy of the current menu item. Does not affect the current menu item.
    Note: This toolbar icon is only shown if you edit an existing menu item.
  • Close. Closes the current screen and returns to the previous screen without saving any modifications you may have made.
  • Help. Opens this help screen.


Frontend Screenshot

Example Frontend Site images are generic images using Joomla core installation supplied free Frontend Templates. The actual view can depend on the installed custom template used and the template's style for those views on a Joomla website.

Help30-Menus-Menu-Item-Article-Categories-front-end-output-en.png


Quick Tips

  • Categories can be "nested" into levels, similar to folders on a disk drive. In theory there is no absolute limit on the number of levels you can have. However, as a practical matter it is recommended to keep the levels to a minimum. The Show All Categories layout may not work correctly if the number of levels shown is greater than 5.
  • If you set up category titles as linkable, the user can drill down on the category. When they do, they will normally see either a Category List or Category Blog layout, depending on which option is selected. If there is a pre-existing menu item for this category (for example, a Category Blog menu item), then that menu item will show in the drill down and the options set for that menu item will control the page display. Otherwise, the options set for the current Show All Categories menu item will control the page display.
  • You can set the option to drill down to a list or blog in 2 places.
    1. In Articles Options you can set the default value for all categories.
    2. In Category: Edit you can set a value for a specific category. If this is set, it overrides the default value.


Related Information

  • To create a new menu see Menus.
Related Help Screens Description
Components Article Manager Options Used to set global defaults for menu items that display articles. These default values will be used when "Use Global" is selected for an option in an Articles menu item. For example, to show the 'Create Date' for an article in your Articles menu items, then set that option to "Show" here and it will be the default value. You do not need to set any of these options. Your Joomla site will work with the default settings.
Content Article Manager The Article Manager is used to find, mark featured, add and edit articles. See Toolbar below for a detailed list of all functions.
Content Article Manager Edit This is the back-end screen where you can add and edit Articles. The same screen is used for adding a new Article and editing an existing Article. You can also select the Category for an Article and indicate whether or not it is Published and if it is selected to appear on the Front Page.
Content Featured Articles The Article's content is edited using the default editor selected in the User Manager - New/Edit. The Joomla! default editor is called TinyMCE.

A number of Parameters can be set for the Article. Metadata can also be entered.

Menus Menu Item Article Archived Used to show a list of Archived Articles. The Archived Article list can be displayed by date, filtered, and intro text.
Menus Menu Item Article Category Blog Used to show a list of Archived Articles. The Archived Article list can be displayed by date, filtered, and intro text added as shown below.
Menus Menu Item Article Category List Used to show articles belonging to a specific Category in a list layout.
Menus Menu Item Article Create Allows users to submit an article. Normally this is available only to users who have logged in to the front end of the site. Users must have permission to create articles. When the Create Article page is shown in the front end, the screen shows as examples in the following Front End Screenshots section
Menus Menu Item Article Featured Used to show all Articles that have been tagged as Featured. Articles are shown in a Blog Layout.
Menus Menu Item Article Single Article Used to show one article in the front end of the site.