Search code examples
phpjoomlajoomla-template

How to list all articles of the currently shown articles parent category


The list would serve as a sidebar menu next to the article. How should I do this?! From the article template, the only thing I managed to retrieve was the current articles category title, but I don't know how to get the category object itself:

$this->item->category_title

Is it possible to achieve this by changing or overriding the default article code?


Solution

  • Short answer - no. The template is for defining the layout of main content areas and module positions.

    Extra functionality should be defined through Joomla! extensions, for the particular functionality you're looking for you will need a module from the Article Listing section.

    You haven't specified a version of Joomla! but we have previously used ArtCats on Joomla! 1.5.