WT Multicategories - multicategories Joomla plugin
- Categories: Joomla plugins, Joomla 4 extensions
- Version: 1.0.0
- Date:
The Joomla plugin allows you to add articles or contacts more then one category (multi-category functionality). The additional category ID is taken from the user's articles or contacts field.
Description
This plugin adds the ability to specify more than one category for Joomla articles or contacts. To do this, create a custom field in which the ID
of the additional category will be specified. In the plugin settings, you need to specify which field will be used as the data source. Articles and contacts from additional categories will be added to the general list and will be displayed among the articles/contacts of the main category.
In terms of meaning, this resembles the functionality of tags. But the data for the tags is stored in a separate database table, and additional layout redefinitions need to be made for them (if necessary) in the template. Using the Joomla multicategories plugin, you can avoid additional work.
For the convenience of specifying additional Joomla categories, you can use the WT Category custom field plugin.
For developers
This plugin overrides Joomla core models:
Joomla\Component\Content\Site\Model\ArticlesModel
- articles list modelJoomla\Component\Contact\Site\Model\CategoryModel
- contacts list model
In both cases, the getListQuery()
method is changed. The JOIN
is added to $query
.
Joomla
- Extension type:
- Plugin
- Folder:
- System
- Joomla version:
- 5.2.3