DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:namespacemessage

namespacemessage Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" unknown
  • 2014-09-29 "Hrun" unknown

plugin Display a message in certain namespaces

Last updated on
2017-03-06
Provides
Action
Repository
Source

Installation

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.

Configuration and Settings

After you activate the plugin, the message is shown on every page.

The text of the message can be changed in the configuration manager. It is also possible to define namespaces there in which the message should not be shown. At the moment it is only possible to define first-level-namespaces, so it is not possible to exclude subnamespaces.

If the message should not be shown in the root namespace, add rootns to the list of namespaces which should be excluded.

The output of the message is simple text. Put html-code in the field for the message in the configuration-manager to style the text.

If you use the Wrap Plugin, you could use the boxes the wrap-plugin delivers. For a nice info-box, you could type in the configuration-field for example:

<div class="wrap_round wrap_info plugin_wrap" style="width: 100%;">
    <p>This is a message in an info-box.</p>
</div>

Change Log

ToDo/Wish List

It would be nice to be able to define namespaces in which the message should appear, instead of only define those where the message should not appear. But because I don't need this at the moment, I haven't implemented it yet.

FAQ

No posts yet.

Discussion

No posts yet.

plugin/namespacemessage.txt · Last modified: 2017-03-08 18:36 by Aleksandr