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 wikiuser 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.
REDDOT
Syntax:
%REDDOT{"<topic1>[,..., <topicN>]" ... }%
Renders a
reddot for the given topic. If there are multiple topics
topic1
,
topic2
, ....,
topicN
, then the first target topic that
grants write access will be chosen.
Arguments:
-
redirect="<jump-back-topic>"
: specifies the topic to jump back to after the edit process was completed; defaults to the originating topic where the red dot was on
-
text="..."
: display text for the edit link; defaults to a dot ( .
)
-
style="..."
: css to be added to the reddot style
-
class="..."
: css class to be asigned to this reddot
-
grant="..."
: regular expression to be checked in addition to the implicite access check for write access; reddot only if the grant
pattern matches
-
icon="..."
: name of an icon to be used instead of the display text (see JQICON)
Examples
Plugin Installation Instructions
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.
Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".
If you have any problems, or if the extension isn't available in
configure
, then you can still install manually from the command-line. See
http://foswiki.org/Support/ManuallyInstallingExtensions for more help.
Plugin Info
Plugin Author: |
Michael Daum |
Copyright ©: |
2005-2010, Michael Daum http://michaeldaumconsulting.com |
License: |
GPL (GNU General Public License) |
Release: |
3.00 |
Version: |
9958 (2010-11-11) |
Change History: |
|
11 Nov 2010: |
use JQICON instead of own getIconUrl() procedure; adding js to animate the pencil; fixing double quotes in redirectto truncating the list of url params; overhault css not to disturb the rest of the page's flow; removing WHITEBOARD feature as it badly interferes with other ways to manipulate the editor |
12 Feb 2010: |
shipping minified and compressed files now |
24 Apr 2009: |
added icon and class argument, converted to foswiki plugin |
07 Jan 2009: |
certified for foswiki/compat |
14 Jun 2008: |
redirecting to the url current url including its current url params |
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 core engine 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 core engine 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 |
Plugin Home: |
Foswiki:Extensions/RedDotPlugin |
Support: |
Foswiki:Support/RedDotPlugin |