Table of Contents
Tagalerts Plugin
—- plugin —- description: Adds alerts (as system messages or simple tag styling) author : Simon DELAGE email : simon.geekitude@gmail.com type : lastupdate : 2015-06-20 compatible : depends : tag conflicts : similar : tags : tags, alert
downloadurl: http://github.com/geekitude/dokuwiki-plugin-tagalerts/zipball/master bugtracker : http://github.com/geekitude/dokuwiki-plugin-tagalerts/issues sourcerepo : http://github.com/geekitude/dokuwiki-plugin-tagalerts/ donationurl:
screenshot_img : http://www.geekitude.fr/externe/dokuwiki/tagalerts/screenshot.jpg
Installation
External requirements: This plugin requires today's (2015-07-24) version of Tag Plugin. It's info file is not updated yet as I write these lines so you will have to manually upgrade it by clicking “Reinstall” button even if plugin manager doesn't propose the update on it's own.
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Examples
Here is an example of “inline” alert with a custom message shown as a tooltip on mouseover :
And here is an example of “message” alert, this time with just the basic message :
It is possible to have more than one alert at once :
And it is finally possible to have more than one inline alert of same type :
But it is currently not possible to have a given message alert more than once.
Configuration and Settings
- action : type of alert (ie inline or message) [default: inline]
- error, info, success and notify : comma separated lists of tags that will trigger the corresponding alert
Here is an example of configuration :
Custom messages
To have custom messages, you have to create a file named tagalerts.conf in your wiki's conf folder (…/conf/tagalerts.conf
).
Here is an example with custom messages for archive and todo tags :
- tagalerts.conf
archive Cette page a été archivée et son contenu pourrait être dépassé. todo Au boulot !
Notes :
- an empty line is needed at the end of the file
- ConfManager plugin can manage this conf file for you.
Change Log
- Update style.css (2021/10/05 13:18)
- Minor styling improvement (2021/10/05 13:14)
- Fix #1 (2019/02/09 06:56)
- Update README.md (2019/01/27 09:23)
- Updated author info (2019/01/25 21:52)
Known Bugs and Issues
Please refer to the GitHub issue tracker for reporting issues.
Discussion
Please use this forum thread or mails.