Koha Plugin
Koha Plugin
Step 1
Latest is – koha-coverflow-plugin-v2.4.1.kpz
---------------------------------------------
Step 2
To set up the Koha plugin system you must first make some changes to your install.
Sudo su
leafpad /etc/koha/sites/library/koha-conf.xml
Confirm that the path to <pluginsdir> exists, is correct, and is writable by the web server in the same file.
---------------------------------------------
Step 3
FROM virtualshelfcontents
Here “shelfnumber=1” is the list number what you can create using
lists.
If you are using the local cover images, generate report using the below query:
FROM virtualshelfcontents
WHERE shelfnumber=1
---------------------------------------------
Step 4
Now once the plugin is uploaded you will see a screen as below.
Now click on Actions and then Configure as shown below:
- id: 1
selector: #coverflow
options:
buttons: true
autoplay: 4000
loop: true
- id: 2
selector: #coverflow2
options:
buttons: true
autoplay: 4000
loop: true
You can define style of the coverflow using the style option
by adding style after Options. Styles available are – Coverflow(Default), wheel, flat
Eg:
id: 2
selector: #coverflow2
options:
style: wheel
buttons: true
autoplay: 4000
loop: true
Step 5
leafpad /etc/apache2/sites-enabled/library.conf
ScriptAlias /coverflow.pl
"/var/lib/koha/library/plugins/Koha/Plugin/Com/ByWaterSolutions/CoverFlow/coverflow.pl"
<Directory /var/lib/koha/library/plugins>
AllowOverride None
</Directory>
IN the above script – Make sure the path of the coverflow.pl is correct.
----------------------------------------------------------------------
Step 6
Now go to Global System Preferences - under OpacMainUserBlock add the below line.
<span id="coverflow">Loading...</span>
<span id="coverflow2">Loading...</span>
Source: http://bywatersolutions.com/2016/06/28/koha-coverflow-setup/
View comments
1.
RAJENDRAJune 9, 2017 at 10:36 PM