Skip to topic | Skip to bottom
Home
TWiki
TWiki.SectionalEditPluginr1.1 - 30 Mar 2004 - 12:40 - TWikiGuesttopic end

Start of topic | Skip to actions

Sectional Editing Plugin

This plugin allows the user to break a topic up into sections which can be edited individually.

Syntax Rules

Insert a <sectionbreak/> tag between sections.

NOTE: This breaks the page up at the lowest level, meaning that you can't put section breaks inside tables, lists, etc. as it breaks the whole page up into a table.

SectionalEditPlugin Settings

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Allows the user to break a topic into sections for individual editing.

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

  • Edit Bar Background Color:
    • Set BGCOLOR = #FFD8AA

  • Edit Bar Label (may also be an <img> tag):
    • Set LABEL = e

  • A comma separated list of skins NOT to section (you'll probably want the print skin here):
    • Set SKIPSKIN = print

  • Left or Right Justification of Edit Bar
    • Set JUSTIFICATION = Left

  • Edit Box Width, Height, Style (set to width: 99% for full width, auto to disable).
    • Set EDITBOXWIDTH = 70
    • Set EDITBOXHEIGHT = 27
    • Set EDITBOXSTYLE = width: 54%;

Plugin Installation Instructions

  1. Download the zip file.
  2. Unzip the zip file into your twiki web folder.
  3. Edit your .htaccess file to require a valid user for the editsection and previewsection scripts.

Plugin Info

Plugin Author: DanBoitnott?
Plugin Version: 30 Mar 2004
Change History: 30 Mar 2004: Added justification preference; <editsections> to automatically split on ---+; BGCOLOR can now be variables such as %WEBBGCOLOR%
09 Feb 2003: Added ability to exclude certain skins (like print) from sectioning; Added EDITBOXWIDTH, EDITBOXHEIGHT, EDITBOXSTYLE options to plugin configuration.
07 Feb 2003: Wordwrap fixed in edit page
06 Feb 2003: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.0
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/SectionalEditPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/SectionalEditPluginDev

Related Topics: TWikiPreferences, TWikiPlugins, Default Plugin
to top


You are here: TWiki > SectionalEditPlugin

to top

Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback