DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:namespacemessage

namespacemessage Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" yes

plugin Display a message in certain namespaces

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

Similar to message

Tagged with maintenance, message

Installation

Search and install the plugin using the Extension Manager. 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: 2020-12-13 21:42 by cziehr

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