Skip to content

The example Koha plugin. This plugin uses every feature of the Koha plugin system and is a good place to start for new plugin developers.

Notifications You must be signed in to change notification settings

bartonski/ToolTemplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Introduction

This is a pruned version of the Kitchen Sink Plugin. This is meant to be a starting point for tool plugins -- It has a couple of advantages over the Kithchen sink plugin: 1) It is not meant to be both a report and a tool, which means that you don't have to move the report boilerplate. 2) The string 'ToolTemplate' is used consistently throughout, and a global search and replace/file rename on that string will work to customize the entire plugin.

Koha’s Plugin System (available in Koha 3.12+) allows for you to add additional tools and reports to Koha that are specific to your library. 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 necessary to make the plugin work. Learn more about the Koha Plugin System in the Koha 3.22 Manual or watch Kyle’s tutorial video.

Installing

Koha's Plugin System allows for you to add additional tools and reports to Koha that are specific to your library. 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 necessary to make the plugin work.

The plugin system needs to be turned on by a system administrator.

To set up the Koha plugin system you must first make some changes to your install.

  • Change <enable_plugins>0<enable_plugins> to <enable_plugins>1</enable_plugins> in your koha-conf.xml file
  • Confirm that the path to <pluginsdir> exists, is correct, and is writable by the web server
  • Restart your webserver

Once set up is complete you will need to alter your UseKohaPlugins system preference. On the Tools page you will see the Tools Plugins and on the Reports page you will see the Reports Plugins.

About

The example Koha plugin. This plugin uses every feature of the Koha plugin system and is a good place to start for new plugin developers.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.5%
  • HTML 21.4%
  • CSS 8.2%
  • Perl 2.9%