Skip to main content

This tag is for questions related to Joomla articles and the com_content component.

Articles

Introduction

An Article is a piece of content consisting of text (HTML), possibly with links to other resources (for example, images). Articles are the basic units of information in the content system and the bottom level in the content hierarchy. Since Joomla! 2.5 Joomla 2.5, each Article is in exactly one Category. A Category can be in another Category making it a sub Category. It is also possible to have Uncategorised Articles. These articles exist without being associated with any Category. *

* From Joomla! Documentation

In Joomla, articles are organized in Categories, and each article can only belong to a single category. As of Joomla 1.6 and newer, nested categories are allowed (categories within categories).

Before Joomla! 2.5 and earlier versions, an Article was the third level in the hierarchy Sections → Categories → Articles.*

* From Joomla! Documentation

Display

Articles can be displayed in the Component area of the Joomla template using the component com_content.

Output from any component is loaded in a Joomla template at the location of the following tag:

<jdoc:include type="component" />

Articles can be displayed in several ways, including Single Article, Blog layout, List layout and others. Available options can be found by clicking Menu Item Type in the Menu Item Editor.

Overrides

Article display can be overridden by copying the file JOOMLAROOT/components/com_content/views/VIEW-TO-OVERRIDE/tmpl/FILE-TO-OVERRIDE.php to JOOMLAROOT/templates/YOUR-TEMPLATE/html/com_content/VIEW-TO-OVERRIDE/FILE-TO-OVERRIDE.php. Then edit this file as needed. Never change Joomla Core files, as these changed might be reverted when updating Joomla.

Other resources