https://github.com/cca/koha_snippets
code to be pasted into Koha's admin side
https://github.com/cca/koha_snippets
catalog koha kohails libraries opac
Last synced: about 2 months ago
JSON representation
code to be pasted into Koha's admin side
- Host: GitHub
- URL: https://github.com/cca/koha_snippets
- Owner: cca
- License: other
- Created: 2016-05-31T23:36:27.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2025-04-10T00:03:12.000Z (about 2 months ago)
- Last Synced: 2025-04-11T16:36:53.475Z (about 2 months ago)
- Topics: catalog, koha, kohails, libraries, opac
- Language: JavaScript
- Homepage: https://library.cca.edu
- Size: 1.62 MB
- Stars: 5
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Koha Snippets
Snippets of code to be inserted into the administrative settings of Koha.
## Development
`npm` scripts automate development tasks. These tasks let us write many small snippets of code which accomplish one thing & then combine them into a single optimized file. Run `npm install` to get the necessary dependencies. Then, from inside this project, these `npm run` scripts are available:
- `build` - run all the compilation scripts listed here, meta-task
- `ajs` - minify all **a**dmin (staff-side) JavaScript
- `cjs` - minify all public **c**atalog JavaScript
- `acss` - compile & minify staff-side styles
- `ccss` - compile & minify public catalog styles
- `cookiejs` - minify `CookieConsentJS` for the public catalogEach of these tasks are compile/minify code for a specific Koha setting, copy the output to the Mac OS clipboard, and open the setting's URL in Koha's administration module. The first letter of the task stands for either "admin" or "catalog". CCA's intranet domain is hard-coded into them. All output also goes in the "dist" directory.
## MARC Frameworks
Our MARC schemas are in [a subdirectory](./marc_frameworks/) with their own readme.
## License
[ECL-2.0](https://opensource.org/licenses/ECL-2.0)