aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/demo_plugin
Commit message (Collapse)AuthorAgeFilesLines
* New init function for plugins, supports errors reportingArthurHoaro2016-10-141-0/+17
| | | | | | | | All plugins can optionally add an init function named `pluginname_init()` which is called when the plugin is loaded. This function is aware of the config, and can return initialization errors, which are displayed in the header template. Note that the previous error system hack no longer work.
* Plugin: add render_feed hook and call it while generating ATOM and RSS feed.ArthurHoaro2016-03-181-1/+26
| | | | Create an example of the new hook in the demo plugin.
* Fixes #378 - Plugin administration UI.ArthurHoaro2016-01-311-0/+1
|
* Merge pull request #408 from ArthurHoaro/gototopVirtualTam2015-12-092-0/+12
|\ | | | | Adding a new placeholder in render_footer hook.
| * Adding a new placeholder in render_footer hook.ArthurHoaro2015-12-082-0/+12
| | | | | | | | Allow free elements at the end of the page.
* | Fixes #403: build the daily page through renderPage()ArthurHoaro2015-12-081-0/+2
|/ | | | | * new entry in the Router for daily page. * add an always displayed button in demo_plugin
* cleanup: remove the executable bit from source scriptsVirtualTam2015-11-114-0/+0
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* PLUGIN demo_pluginArthurHoaro2015-11-084-0/+327
This plugin try to cover Shaarli's plugin API entirely. Can be used by plugin developper to make their own.