https://github.com/digibib/koha-plugins-branch-closure
Koha plugin for handling temporary closed branches
https://github.com/digibib/koha-plugins-branch-closure
Last synced: about 1 year ago
JSON representation
Koha plugin for handling temporary closed branches
- Host: GitHub
- URL: https://github.com/digibib/koha-plugins-branch-closure
- Owner: digibib
- License: mit
- Archived: true
- Created: 2017-05-12T13:01:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-26T12:10:09.000Z (almost 9 years ago)
- Last Synced: 2025-03-06T09:49:13.793Z (over 1 year ago)
- Language: Perl
- Size: 17.6 KB
- Stars: 1
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## README.pm
# About
This plugin handles the temporary closing of a branch.
It is a tool that handles:
- temporarily moving reservations to be picked up at branch to a temporary branch
- temporarily moving patrons home branch
- disabling branch in Koha REST API
- temporarily making branch items unavailable
- sends notification to patrons with this homebranch about changes
A table is displayed on first page if any branches are currently closed,
with the option to reopen. Reopening reverts the changes made by the closure.
A general email subject and body can be set in configuration, but can be
individually configured per closure.
# Setup
To enable Koha plugins:
* enable syspref UseKohaPlugins
* in koha-conf.xml (section ):
```
__PLUGINS_DIR__
1
```
Note: if is not set, it will default to /var/lib/koha/$intance/plugins
# Install
A new plugin must be zip-packed `pluginname.kpz` and contain the correct tree
```
./Koha/
Plugin/
Deichman/ # Optional subfolder to organize plugins
NameOfPlugin.pm # The plugin, containing required methods new, install, uninstall, configure, etc.
NameOfPlugin/ # Subfolder with optional files, accessible to module as current folder, and in templates as [% PLUGIN_PATH %]
configure.tt
report-step1.tt
tool-step1.tt
etc.
```
Plugin can then be uploaded in /cgi-bin/koha/plugins/plugins-home.pl
Optional configuration can be done from there