5eabc672fd
Adds support for custom plugins. At the moment the Plugins feature supports two types of plugins, reports and tools. Plugins are installed by uploading KPZ ( Koha Plugin Zip ) packages. A KPZ file is just a zip file containing the perl files, template files, and any other files neccessary to make the plugin work. Test plan: 1) Apply patch 2) Run updatedatabase.pl 3) Create the directory /var/lib/koha/plugins 4) Add the lines <pluginsdir>/var/lib/koha/plugins</pluginsdir> <enable_plugins>1</enable_plugins>" to your koha-conf.xml file 5) Add the line Alias /plugin/ "/var/lib/koha/plugins/" to your koha-httpd.conf file 6) Restart your webserver 7) Access the plugins system from the "More" pulldown 8) Upload the example plugin file provided here 9) Try it out! Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
328 lines
13 KiB
Text
328 lines
13 KiB
Text
Enhanced Content:
|
|
All:
|
|
-
|
|
- <strong>NOTE:</strong> you can only choose one source of cover images from below, otherwise Koha will show the images from all sources selected.
|
|
-
|
|
- pref: FRBRizeEditions
|
|
default: 0
|
|
choices:
|
|
yes: Show
|
|
no: "Don't show"
|
|
- other editions of an item on the staff client (if found by one of the services below).
|
|
-
|
|
- pref: OPACFRBRizeEditions
|
|
default: 0
|
|
choices:
|
|
yes: Show
|
|
no: "Don't show"
|
|
- other editions of an item on the OPAC.
|
|
Amazon:
|
|
-
|
|
- Use Amazon data from its
|
|
- pref: AmazonLocale
|
|
choices:
|
|
US: American
|
|
CA: Canadian
|
|
DE: German
|
|
FR: French
|
|
JP: Japanese
|
|
UK: British
|
|
- website.
|
|
-
|
|
- Put the associate tag
|
|
- pref: AmazonAssocTag
|
|
- on links to Amazon. This can net your library referral fees if a patron decides to buy an item.
|
|
-
|
|
- pref: AmazonCoverImages
|
|
default: 1
|
|
choices:
|
|
yes: Show
|
|
no: "Don't show"
|
|
- cover images from Amazon on search results and item detail pages on the staff interface.
|
|
-
|
|
- pref: OPACAmazonCoverImages
|
|
default: 1
|
|
choices:
|
|
yes: Show
|
|
no: "Don't show"
|
|
- cover images from Amazon on search results and item detail pages on the OPAC.
|
|
Babelthèque:
|
|
-
|
|
- pref: Babeltheque
|
|
choices:
|
|
yes: Do
|
|
no: "Don't"
|
|
- include information (such as reviews and citations) from Babelthèque in item detail pages on the OPAC.
|
|
-
|
|
- pref: Babeltheque_url_js
|
|
- Defined the url for the Babeltheque javascript file (eg. http://www.babeltheque.com/bw_XX.js)
|
|
-
|
|
- pref: Babeltheque_url_update
|
|
- Defined the url for the Babeltheque update periodically (eq. http://www.babeltheque.com/.../file.csv.bz2).
|
|
Baker and Taylor:
|
|
-
|
|
- pref: BakerTaylorEnabled
|
|
choices:
|
|
yes: Add
|
|
no: "Don't add"
|
|
- Baker and Taylor links and cover images to the OPAC and staff client. This requires that you have entered in a username and password (which can be seen in image links).
|
|
-
|
|
- 'Baker and Taylor "My Library Bookstore" links should be accessed at <code>https://'
|
|
- pref: BakerTaylorBookstoreURL
|
|
class: url
|
|
- <em>isbn</em></code> (this should be filled in with something like <code>ocls.mylibrarybookstore.com/MLB/actions/searchHandler.do?nextPage=bookDetails&parentNum=10923&key=</code>). Leave it blank to disable these links.
|
|
-
|
|
- Access Baker and Taylor using username
|
|
- pref: BakerTaylorUsername
|
|
class: password
|
|
- and password
|
|
- pref: BakerTaylorPassword
|
|
class: password
|
|
- .
|
|
Novelist Select:
|
|
-
|
|
- pref: NovelistSelectEnabled
|
|
choices:
|
|
yes: Add
|
|
no: "Don't add"
|
|
- Novelist Select content to the OPAC (requires that you have entered in a user profile and password, which can be seen in image links).
|
|
-
|
|
- Display Novelist Select content
|
|
- pref: NovelistSelectView
|
|
choices:
|
|
tab: in an OPAC tab
|
|
above: above the holdings table
|
|
below: below the holdings table
|
|
right: under the Save Record dropdown, on the right
|
|
- .
|
|
-
|
|
- Access Novelist Select using user profile
|
|
- pref: NovelistSelectProfile
|
|
- and password
|
|
- pref: NovelistSelectPassword
|
|
class: password
|
|
- .
|
|
Google:
|
|
-
|
|
- pref: GoogleJackets
|
|
choices:
|
|
yes: Add
|
|
no: "Don't add"
|
|
- cover images from Google Books to search results and item detail pages on the OPAC.
|
|
Open Library:
|
|
-
|
|
- pref: OpenLibraryCovers
|
|
choices:
|
|
yes: Add
|
|
no: "Don't add"
|
|
- cover images from Open Library to search results and item detail pages on the OPAC.
|
|
Library Thing:
|
|
# Awkward syntax below, due to quoting conflicts
|
|
-
|
|
- pref: ThingISBN
|
|
choices:
|
|
yes: Use
|
|
no: "Don't use"
|
|
- the ThingISBN service to show other editions of a title (when either FRBRizeEditions or OPACFRBRizeEditions is on). This is separate from Library Thing for Libraries.
|
|
-
|
|
- pref: LibraryThingForLibrariesEnabled
|
|
choices:
|
|
yes: Show
|
|
no: "Don't show"
|
|
- "reviews, similar items, and tags from Library Thing for Libraries on item detail pages on the OPAC. If you've enabled this, you need to "
|
|
- <a href="http://www.librarything.com/forlibraries/">sign up</a>, then enter in your ID below.
|
|
-
|
|
- Access Library Thing for Libraries using the customer ID
|
|
- pref: LibraryThingForLibrariesID
|
|
- .
|
|
-
|
|
- Show Library Thing for Libraries content
|
|
- pref: LibraryThingForLibrariesTabbedView
|
|
choices:
|
|
yes: in tabs.
|
|
no: in line with the bibliographic information.
|
|
IDreamLibraries:
|
|
-
|
|
- pref: IDreamBooksReviews
|
|
choices:
|
|
yes: Add
|
|
no: "Don't add"
|
|
- a tab on the OPAC details with book reviews from critics aggregated by <a href='http://idreambooks.com/'>IDreamBooks.com</a>.
|
|
-
|
|
- pref: IDreamBooksReadometer
|
|
choices:
|
|
yes: Add
|
|
no: "Don't add"
|
|
- a "Readometer" that summarizes the reviews gathered by <a href='http://idreambooks.com/'>IDreamBooks.com</a> to the OPAC details page.
|
|
-
|
|
- pref: IDreamBooksResults
|
|
choices:
|
|
yes: Add
|
|
no: "Don't add"
|
|
- the rating from <a href='http://idreambooks.com/'>IDreamBooks.com</a> to OPAC search results.
|
|
OCLC:
|
|
-
|
|
- pref: XISBN
|
|
choices:
|
|
yes: Use
|
|
no: "Don't use"
|
|
- the OCLC xISBN service to show other editions of a title (when either FRBRizeEditions or OPACFRBRizeEditions is on).
|
|
-
|
|
- Use the <a href="http://www.worldcat.org/affiliate/webservices/xisbn/app.jsp">OCLC affiliate ID</a>
|
|
- pref: OCLCAffiliateID
|
|
- to access the xISBN service. Note that unless you have signed up for an ID, you are limited to 1000 requests per day.
|
|
-
|
|
- Only use the xISBN service
|
|
- pref: XISBNDailyLimit
|
|
class: integer
|
|
- times a day. Unless you are paying for the xISBN service, you should leave this at the default of 999 (as detailed above).
|
|
Syndetics:
|
|
-
|
|
- pref: SyndeticsEnabled
|
|
choices:
|
|
yes: Use
|
|
no: "Don't use"
|
|
- content from Syndetics. Note that this requires that you have signed up for the service and entered in your client code below.
|
|
-
|
|
- Use the client code
|
|
- pref: SyndeticsClientCode
|
|
- to access Syndetics.
|
|
-
|
|
- pref: SyndeticsCoverImages
|
|
choices:
|
|
yes: Show
|
|
no: "Don't show"
|
|
- cover images from Syndetics on search results and item detail pages on the OPAC in a
|
|
- pref: SyndeticsCoverImageSize
|
|
choices:
|
|
MC: medium
|
|
LC: large
|
|
- size.
|
|
-
|
|
- pref: SyndeticsAuthorNotes
|
|
choices:
|
|
yes: Show
|
|
no: "Don't show"
|
|
- notes about the author of a title from Syndetics on item detail pages on the OPAC.
|
|
-
|
|
- pref: SyndeticsAwards
|
|
choices:
|
|
yes: Show
|
|
no: "Don't show"
|
|
- information from Syndetics about the awards a title has won on item detail pages on the OPAC.
|
|
-
|
|
- pref: SyndeticsEditions
|
|
choices:
|
|
yes: Show
|
|
no: "Don't show"
|
|
- information about other editions of a title from Syndetics on item detail pages on the OPAC (when OPACFRBRizeEditions is on).
|
|
-
|
|
- pref: SyndeticsExcerpt
|
|
choices:
|
|
yes: Show
|
|
no: "Don't show"
|
|
- excerpts from of a title from Syndetics on item detail pages on the OPAC.
|
|
-
|
|
- pref: SyndeticsReviews
|
|
choices:
|
|
yes: Show
|
|
no: "Don't show"
|
|
- reviews of a title from Syndetics on item detail pages on the OPAC.
|
|
-
|
|
- pref: SyndeticsSeries
|
|
choices:
|
|
yes: Show
|
|
no: "Don't show"
|
|
- "information on other books in a title's series from Syndetics on item detail pages on the OPAC."
|
|
-
|
|
- pref: SyndeticsSummary
|
|
choices:
|
|
yes: Show
|
|
no: "Don't show"
|
|
- a summary of a title from Syndetics on item detail pages on the OPAC.
|
|
-
|
|
- pref: SyndeticsTOC
|
|
choices:
|
|
yes: Show
|
|
no: "Don't show"
|
|
- the table of contents of a title from Syndetics on item detail pages on the OPAC.
|
|
Tagging:
|
|
-
|
|
- pref: TagsEnabled
|
|
choices:
|
|
yes: Allow
|
|
no: "Don't allow"
|
|
- patrons and staff to put tags on items.
|
|
-
|
|
- pref: TagsModeration
|
|
choices:
|
|
yes: Require
|
|
no: "Don't require"
|
|
- that tags submitted by patrons be reviewed by a staff member before being shown.
|
|
-
|
|
- Show
|
|
- pref: TagsShowOnList
|
|
class: integer
|
|
- tags on search results on the OPAC.
|
|
-
|
|
- pref: TagsInputOnList
|
|
choices:
|
|
yes: Allow
|
|
no: "Don't allow"
|
|
- patrons to input tags on search results on the OPAC.
|
|
-
|
|
- Show
|
|
- pref: TagsShowOnDetail
|
|
class: integer
|
|
- tags on item detail pages on the OPAC.
|
|
-
|
|
- pref: TagsInputOnDetail
|
|
choices:
|
|
yes: Allow
|
|
no: "Don't allow"
|
|
- patrons to input tags on item detail pages on the OPAC.
|
|
-
|
|
- Allow tags in the dictionary of the ispell executable
|
|
- pref: TagsExternalDictionary
|
|
class: file
|
|
- on the server to be approved without moderation.
|
|
Local Cover Images:
|
|
-
|
|
- pref: LocalCoverImages
|
|
choices:
|
|
yes: Display
|
|
no: "Don't display"
|
|
- local cover images on intranet search and details pages.
|
|
-
|
|
- pref: OPACLocalCoverImages
|
|
choices:
|
|
yes: Display
|
|
no: "Don't display"
|
|
- local cover images on OPAC search and details pages.
|
|
-
|
|
- pref: AllowMultipleCovers
|
|
choices:
|
|
yes: Allow
|
|
no: "Don't allow"
|
|
- multiple images to be attached to each bibliographic record.
|
|
HTML5 Media:
|
|
-
|
|
- Show a tab with a HTML5 media player for files catalogued in field 856
|
|
- pref: HTML5MediaEnabled
|
|
choices:
|
|
not: "not at all."
|
|
opac: "in the OPAC."
|
|
staff: "in the staff client."
|
|
both: "in OPAC and staff client."
|
|
-
|
|
- Media file extensions
|
|
- pref: HTML5MediaExtensions
|
|
class: multi
|
|
- (separated with |).
|
|
Plugins:
|
|
-
|
|
- pref: UseKohaPlugins
|
|
choices:
|
|
yes: Enable
|
|
no: "Don't enable"
|
|
- the ability to use Koha Plugins. Note, the plugin system must also be enabled in the Koha configuration file to be fully enabled.
|