2020
In this years blog series we are going to build a Koha plugin step by step. You can follow along with the the code in our gitlab repository
Using the REST API
Posted on December 15, 2020
On our previous posts, we added a tool hook to our plugin, so it adds a simple
page that can be accessed either via the Tools area or from the Manage plugins page from
the administration area.
[Read More]
Adding a static assets
Posted on December 10, 2020
Our plugin lets us create a list of fancy words now, so what are some of the things we can do with it? Sometimes we may want to craft our code to define specific actions, but possibly we want to take advantage of existing code from the world of developers...
[Read More]
Adding API routes
Posted on December 9, 2020
Today’s post is about a feature that was added on Koha 18.11: the ability to add API routes using plugins.
[Read More]
Translate your plugin
Posted on December 8, 2020
We have a plugin with user facing pages; Now is the time to think about making
it translatable. It’s best to think about this early in your development as it
becomes increasingly difficult the longer you put it off.
[Read More]
Creating objects for plugin tables
Posted on December 7, 2020
Now that we’ve created the ability to manage our fancy words list with basic SQL,
let’s simplify working with the table by implementing a DBIx::Class
schema file for it!
[Read More]
Adding a new tool
Posted on December 4, 2020
Now we have a database table to work with, lets give our users a way to interact
with it.
[Read More]
Growing your data store
Posted on December 3, 2020
As our plugin grows, you may find yourself needing more than the simple key/value
store that the store_data() and retrieve_data() methods afford us.
[Read More]
Storing and retrieving data
Posted on December 2, 2020
In yesterday’s post we learnt how to create a basic plugin that would change the
OPAC pink once installed.
[Read More]
Plugins anyone?
Posted on December 1, 2020
Custom functionality can be added to Koha using its plugin system.
[Read More]