DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:tagalerts

Tagalerts Plugin

Compatible with DokuWiki

Elenor Of Tsort, Frusterick Manners, Greebo

plugin Adds alerts to tags (as system messages or simple tag styling)

Last updated on
2021-10-05
Provides
Action
Repository
Source
Requires
tag

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with alert, tags

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.

Search and install the plugin using the Extension Manager. 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:

trello.com_1_cards_64481094c27183676a92eb9b_attachments_64481206c14ac54009e90bfd_download_screenshot.jpg

And here is an example of “message” alert, this time with just the basic message:

trello.com_1_cards_64481094c27183676a92eb9b_attachments_64481202a7817235c3380ea9_download_message.jpg

It is possible to have more than one alert at once:

trello.com_1_cards_64481094c27183676a92eb9b_attachments_644812039c1bd4ed5824f998_download_multiple_inline.jpg

trello.com_1_cards_64481094c27183676a92eb9b_attachments_644812059bd4be5819b6f8d3_download_multiple_message.jpg

And it is finally possible to have more than one inline alert of same type:

trello.com_1_cards_64481094c27183676a92eb9b_attachments_64481204517834b0093c1823_download_multiple_inline_same_type.jpg

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:

trello.com_1_cards_64481094c27183676a92eb9b_attachments_6448120162411e13d7148044_download_configuration.jpg

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

Known Bugs and Issues

Please refer to the GitHub issue tracker for reporting issues.

Discussion

Please use this forum thread or mails.

plugin/tagalerts.txt · Last modified: 2023-04-25 19:50 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki