A Joomla 4.2 or later plugin to sort the articles in a category by the value of a custom field.
This is useful when making a category of events where the event date is stored in a Joomla!™ custom field. Create a menu item for the category (list or blog view) and set it to order by the value of the event date custom field ascending. Archive past events. Create another menu item to show only archived articles and set it to sort by the event date custom field descending. There you go! You now have a quick and dirty event calendar using core Joomla features.
I wrote this plugin because I needed it. Also, the use case I had presented back in 2015 in the (literal) round table discussion regarding Joomla 4 features with regard to custom fields was exactly that: a quick and dirty event calendar! It's sad that Joomla decided to add custom fields but not make it possible to sort or filter by them. This plugin gets the custom fields closer to my original vision of the feature, and the possibilities it opens for site integrators.
If this software saved you time or, even better, made a site project of your possible I would appreciate it if you could spare a small amount of money to support its development. You can send me a small donation in the following ways:
- In Euros, or US Dollars using PayPal.
- In cryptocurrency using the addresses on nicholasakeeba.cb.id.
System – Sort by custom field -- Sort Joomla! articles by a custom field
Copyright (C) 2021-2023 Nicholas K. Dionysopoulos
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.