Collections Plus
Description
Plugin for Omeka Classic. Adds new features to the Collection browsing admin interface, and also the possibility to further customize single Collections.
Once installed, the plugin adds an "Advanced Settings" link to each Collection in Collections, Admin Side. That link opens up a page where it is possible to choose a custom theme for each Collection, choose a custom number of Items to be shown per page when browsing a Collection, choose a custom sort field and order for Items when browsing a Collection and when seeing a Collection preview. Besides that, the plugin configration page allows to choose a custom sort field and order when browsing Collections.
Installation
Uncompress files and rename plugin folder "CollectionsPlus".
Then install it like any other Omeka plugin.
Please note: it would probably be a good idea to add whichever sort field you select to sort by to the list of sort links in your browse views. Take a look at the Omeka default theme for an example of how this can be done in Items/Browse
file:
$sortLinks[__('Title')] = 'Dublin Core,Title';
$sortLinks[__('Creator')] = 'Dublin Core,Creator';
$sortLinks[__('Date Added')] = 'added';
// begin added code
if (get_option('defaultsort_items_enabled')) {
$newSortField = get_option('defaultsort_items_option');
if (!in_array($newSortField, array('Dublin Core,Title','Dublin Core,Creator','added'))) {
$array = explode(',', $newSortField);
$sortLinks[__($array[1])] = $newSortField;
}
}
// end added code
Warning
Use it at your own risk.
It’s always recommended to backup your files and your databases and to check your archives regularly so you can roll back if needed.
Troubleshooting
See online issues on the plugin issues page on GitHub.
License
This plugin is published under the CeCILL v2.1 licence, compatible with GNU/GPL and approved by FSF and OSI.
In consideration of access to the source code and the rights to copy, modify and redistribute granted by the license, users are provided only with a limited warranty and the software’s author, the holder of the economic rights, and the successive licensors only have limited liability.
In this respect, the risks associated with loading, using, modifying and/or developing or reproducing the software by the user are brought to the user’s attention, given its Free Software status, which may make it complicated to use, with the result that its use is reserved for developers and experienced professionals having in-depth computer knowledge. Users are therefore encouraged to load and test the suitability of the software as regards their requirements in conditions enabling the security of their systems and/or data to be ensured and, more generally, to use and operate it in the same conditions of security. This Agreement may be freely reproduced and published, provided it is not altered, and that no provisions are either added or removed herefrom.
Acknowledgments
Parts of this plugin were inspired by the Enhanced Collections plugin created in 2013 by the team of Bowling Green State University Libraries and by the DefaultSort plugin created in 2014 by anuragji.
Copyright
Copyright Daniele Binaghi, 2023
Copyright anuragji, 2014
Copyright Bowling Green State University Libraries, 2013