The Coverflow plugin, developed by Bywater Solutions, showcases new book arrivals in your Koha library system.
Downloading
Download the appropriate *.kpz file from the release page.
Installing
Koha’s Plugin System allows you to extend Koha’s functionality with tools and reports tailored to your library. Plugins are installed by uploading KPZ (Koha Plugin Zip) packages, which are zip files containing Perl files, templates, and other necessary files.
Enable the Koha plugin system:
- Open the koha-config.xml file:
sudo vim /etc/koha/sites/library/koha-conf.xml - Change
0to1in your koha-conf.xml file. - Confirm the plugin path exists (in this example, it’s
/var/lib/koha/library/plugins). - Restart the web server and Memcached:
sudo systemctl restart apache2 memcached koha-common
- Open the koha-config.xml file:
Upload the plugin:
- For Koha version 19.05 and earlier, adjust the UseKohaPlugins system preference.
- From version 20.05 onward, go to Administration –> Plugins –> Manage Plugins and upload the plugin.
Generate a Public Report
Create one or more public reports (e.g., “New Arrivals”) to define the content for your coverflow widget(s). Each report needs three columns: title, biblionumber, and ISBN. A valid ISBN is crucial for fetching covers.
Example: Finding items added in the last 30 days
| |
For new arrivals under specific branch libraries:
| |
For Local Cover Images:
| |
Configure the Plugin
- Go to Administration –> Plugins –> Manage Plugins.
- Select the installed plugin and click “Configure.”
- Replace the “New Arrival” public report ID in the code below:
| |
Note: id: 5 represents the public report ID.
- Add the following HTML tag to Koha Tools –> News (from v20.05) in OpacMainUserBlock:
| |
- Check your OPAC page to view the Coverflow.
Other Styles and Configurations
You can customize the style and behavior of the Coverflow plugin. Examples:
Coverflow Style:
| |
Carousel Style:
| |
Wheel Style:
| |
Flat Style:
| |
To use these styles, replace the relevant HTML tag content with the appropriate loading message:
- Loading Coverflow…
- Loading Carousel…
- Loading Wheel…
- Loading Flat…
Reference: https://github.com/bywatersolutions/koha-plugin-coverflow