Tags:
access_control3Add my vote for this tag editing2Add my vote for this tag rendering1Add my vote for this tag user_interface4Add my vote for this tag version_control1Add my vote for this tag create new tag
view all tags

RedDotPlugin

Renders edit-links as little red dots

Introduction

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.

Syntax Rules

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.

Examples

Plugin Installation Instructions

  • 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.

Plugin Info

Plugin Author: TWiki:Main.MichaelDaum
Copyright: © 2005-2008 Michael Daum http://michaeldaumconsulting.com,
© 2005-2011 TWiki:TWiki.TWikiContributor
License: GPL (GNU General Public License)
Plugin Version: 21402 (2011-06-04)
Change History:  
2011-06-04: TWikibug:Item6733: More Visual User Homepages - change terminology from "user homepage" to "user profile page" -- TWiki:Main.PeterThoeny
2010-07-27: TWikibug:Item6530: Doc fixes; changing TWIKIWEB to SYSTEMWEB -- TWiki:Main.PeterThoeny
03 Jan 2008: using TWiki-4 APIs to register tags; fixed default values for reddots
18 Sep 2006: don't use private apis; removed endRenderingHandler: this plugin does not work on older twiki releases!; create cgi urls properly
31 Aug 2006: added NO_PREFS_IN_TOPIC
24 Aug 2006: more effort to find out the current cgi action, even when using short urls
28 Jul 2006: added PatternSkin css to really make reddots red
10 Mar 2006: use ENV instead of the CGI object to detect the current cgi action
15 Feb 2006: don't initialize the redirector in scripted mode
14 Feb 2006: fixed redirects to anchors; fixed permission check on old twiki releases; fixed use of uninitialised variables on perl 5.8.8
26 Jan 2006: w3c fixes
01 Dec 2005: fixed deprecation warnings on dakar
09 Nov 2005: fix use of uninitialized variable
12 Oct 2005: don't overwrite a system oops redirect, e.g. if a mandatory formfield is missing
27 Sep 2005: added forgotten style.css; added support to redirect a save
23 Sep 2005: added text, style, grant and WHITEBOARD feature
19 Sep 2005: added redirect-to-origin feature
22 Aug 2005: Initial version
TWiki Dependency: $TWiki::Plugins::VERSION 1.024
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
TWiki:Plugins/Benchmark: GoodStyle nn%, FormattedSearch nn%, RedDotPlugin nn%
Plugin Home: http://twiki.org/cgi-bin/view/Plugins/RedDotPlugin
Feedback: http://twiki.org/cgi-bin/view/Plugins/RedDotPluginDev
Appraisal: http://twiki.org/cgi-bin/view/Plugins/RedDotPluginAppraisal

Related Topics: TWikiPlugins, UserDocumentationCategory

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatmd5 RedDotPlugin.md5 r11 r10 r9 r8 r7 manage 0.2 K 2011-06-05 - 04:03 PeterThoeny  
Compressed Zip archivetgz RedDotPlugin.tgz r11 r10 r9 r8 r7 manage 6.7 K 2011-06-05 - 04:03 PeterThoeny  
Compressed Zip archivezip RedDotPlugin.zip r21 r20 r19 r18 r17 manage 8.8 K 2011-06-05 - 04:03 PeterThoeny  
Unknown file formatext RedDotPlugin_installer r3 r2 r1 manage 3.4 K 2011-06-05 - 04:03 PeterThoeny  
Cascading Style Sheet filecss style.css r2 r1 manage 0.4 K 2006-09-18 - 20:12 UnknownUser style.css
Edit | Attach | Watch | Print version | History: r38 < r37 < r36 < r35 < r34 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r38 - 2018-07-17 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.