Displaying a Single Label

To display the contents of a single label, add a new internal link menu item to your desired menu.  Select Labels from the list of components, then Label -> Default Layout.  The result will be similar to the following screenshot.

Screenshot

Menu Options

This page has the following options available:

  • Label - Click the Select button to bring up a list of the available labels.  Select one.
  • Label Body - Whether to display the body (description) of the label.
  • Label Media - Optionally display one of the media (image) types if supplied with the label.
  • Content Ordering - The order is which to list the content with the selected label.
  • Content Title - Optionally display the title of the content.
  • Content Type - Optionally display the type of content that is referred to (Article, Web Link, etc).
  • Content Text - Optionally display the text snippet for the content.
  • Text Length - If displaying the content text, enter the maximum number of characters to display.
  • Content Media - Optionally display any media contained within the content text.
  • Content Labels - Optionally display the other labels that the content has been assigned to.
  • Label Feed - Optionally provide the syndication Atom/RSS feed link in the HTML document.

For assistance with creating and maintaining Joomla menu items, see the official Joomla documentation:

Customization

This page may be customized using the Joomla layout override system.  You need to be able to create new files and edit them on your web hosting site using FTP or other tools that are available to you (contact your web host if you need more information).

All file paths are relative to the directory in which Joomla is installed.  When looking a files you need to create, it is assumed that you will create the necessary folders if they don't already exist in each case.  The directory default_template refers to the template that is set as the default for your site.  Please replace this name with the actual name of the template directory.

To create the layout override for this page, find the file:

/components/com_labels/views/label/tmpl/default.php

Copy this to:

/templates/default_template/html/com_labels/label/default.php

Make the desired adjustments to the source code to the new file you created and then save it.  Your changes should be reflected when you refresh the appropriate page.

For more information on layout overrides, see http://www.theartofjoomla.com/topics/layout-overrides.html