Notification Template Modder plugin for Kanboard, to allow modification of all 'notification' templates which includes email templates.
|
1 mês atrás | |
---|---|---|
Controller | 1 mês atrás | |
Template | 1 mês atrás | |
.gitignore | 1 mês atrás | |
LICENSE | 1 mês atrás | |
Plugin.php | 1 mês atrás | |
README.md | 1 mês atrás | |
release.md | 1 mês atrás | |
ver | 1 mês atrás |
'Notification Template Modder' plugin for Kanboard, to allow modification of all 'notification' templates which includes email templates.
It is possible this works with other versions of Kanboard and PHP, but these are the version this was built and tested on.
All Kanboard plugins are found in the plugins
directory. In general you just put your plugin there and that's about it!
In a terminal window ( or command for Windoze ) browse/cd to your Kanboard plugins
directory and issue this command
git clone https://vcs.nz/ominz/OMITemplateModder.git
wget https://vcs.nz/ominz/OMITemplateModder/archive/main.zip
unzip main.zip
del main.zip
wget https://vcs.nz/ominz/OMITemplateModder/archive/main.tar.gz
tar -xzf main.tar.gz
rm main.tar.gz
Download either zip file :
and uncompress/unzip/untar into your Kanboard plugins
directory
The only trick to updating is to make sure you don't overwrite your modified templates, under Templates/notification
Best way is to copy or move the directory away, and then move or copy it back again after updating.
If you installed the plugin via git clone
then you can just do git pull
which will only get the updated code, and your templates will not be touched.
You will see a new link appear under /settings : "Notification Templates"
To begin with there should be no templates to modify. Instead you should see a list of templates that you can add, from your core app. Each with a "Create from Core" link. Click this link to add the template to the plugin so it can be modified.
You can always copy files manually from the core app directory app/Template/notification
into the plugins corresponding directory Template/notification
.
This plugin will alert you to any templates missing or any extras. This may occur if the Kanboard version was different to the one this plugin was built on (1.2).
This plugin will also show a red asterisk on the template files that are different ( have been modified ) to the ones in the app.