Plugin system

Koha 的外掛系統允許您新增工具與報表供您的圖書館使用。可經由上傳 KPZ ( Koha Plugin Zip ) 套件安裝外掛。KPZ 檔案是一個包括 perl 檔案、模版檔與其他檔案的壓縮檔。

警告

There is no vetting process by the Koha community for plugins. Each plugin is maintained and tested by its provider and contributors. Use plugins at your own risk.

外掛系統需要系統管理者開啟。

設定

必須先改變安裝才能設定 Koha 的外掛系統。

  • 把 <enable_plugins>0</enable_plugins> 變更為 <enable_plugins>1</enable_plugins> 於您的 koha-conf.xml 檔案

  • 重新啟動您的網站伺服器

在工具頁面上,您將看到工具插件,在報告頁面上,您將看到報告插件。

Installing a plugin repository

In the koha-conf.xml file, there should be a <plugin_repos> tag. This tag is used to tell Koha in which git repositories to search for plugins.

Each individual repository is in a <repo> tag. Inside this tag are the repository's information.

  • <name> is the name of the company or individual whose repository this is.

  • <org_name> is the username of the company or individual on the git service.

  • <service> is the git platform used to host the repository.

Several repositories are available in the default configuration file. You can uncomment one or all.

<plugin_repos>
  <repo>
    <name>ByWater Solutions</name>
    <org_name>bywatersolutions</org_name>
    <service>github</service>
  </repo>
  <repo>
    <name>Theke Solutions</name>
    <org_name>thekesolutions</org_name>
    <service>gitlab</service>
  </repo>
  <repo>
    <name>PTFS Europe</name>
    <org_name>ptfs-europe</org_name>
    <service>github</service>
  </repo>
   <repo>
     <name>Solutions inLibro</name>
     <org_name>inLibro</org_name>
     <service>github</service>
 </repo>
   -->
</plugin_repos>

Installing and using plugins

See the plugins section in the administration chapter of this manual to learn how to install and use plugins in Koha.