RedDotPlugin
Renders edit-links as little red dots
This plugin renders a clickable red dot (
.) to ease the edit access to a page. The red dot will only be visible if the current wiki user has write access to the page the dot points to. You might also specify a list of topics (see syntax), where the first topic that grants write access will be the target when you click on the red dot. After finishing an edit initiated by a red dot you will be redirected to the topic where the red dot was on, or any other topic that you specify. Note, however, that you need to enable cookies in your browser.
|
|
Tag |
Description |
%REDDOT{"<topic1>[,..., <topicN>]" ... }% |
reddot the first target topic that grants write access; Arguments: -
redirect="..." : jump back to a given topic after the edit process was completed; defaults to the originating topic where the red dot was on -
text="..." : use this text to create the edit link; defaults to a dot ( . ) -
style="..." : css to be added to the reddot style -
grant="..." : regular expression to be checked in addition to the implicite check for write access to the target topic; reddot only if the grant matches |
|
|
|
Furthermore, the
RedDotPlugin respects the
WHITEBOARD
topic variable. If you add
Set WHITEBOARD = off
to a target topic text then the reddot link will disable the textarea (whiteboard) in edit mode. Note, however, that this feature only works on a TWiki/Dakar engine.
- Download the ZIP file from the Plugin Home (see below)
- Unzip it in your twiki installation directory. Content:
|
|
File: |
Description: |
data/TWiki/RedDotPlugin.txt |
|
lib/TWiki/Plugins/RedDotPlugin.pm |
|
pub/TWiki/RedDotPlugin/style.css |
|
|
|
|
- Visit
configure
in your TWiki installation, and enable the plugin in the {Plugins} section.
Related Topics: TWikiPlugins,
UserDocumentationCategory