Difference: RenderListPlugin (2 vs. 3)

Revision 32003-12-12 - PeterThoeny

Line: 1 to 1
 

Render List Plugin

Render bullet lists in a variety of formats

Syntax Rules

Changed:
<
<
  • Put a %RENDERLIST{ theme="name" }% or simply %RENDERLIST{"name"}% before any bullet list
>
>
  • Place a %RENDERLIST{ <parameters> }% before any bullet list
 
    • The lists can be handcrafted, generated by another Plugin, a %TOC%, or the result of a FormattedSearch
Added:
>
>
  • Supported parameters:
    "name" or
    theme="name"
    Select a rendering theme
    focus="any text" Focus list on a bullet with specified text
    depth="2" Remove bullets with an indent greater then the depth. The depth is relative to the highlighted bullet in case focus is specified
 
  • Rendering themes can be defined by <name>_THEME Plugin settings
    • Each theme is defined by a comma separated list containing the render type and parameters required by that render type
    • There are different render types; this initial Plugin version has tree and icon render types
Line: 15 to 19
 
  • Format of the icon render type:
    • Set <name>_THEME = icon, <0/1 flag to suppress/show lines of first level>, <icon width>, <icon height>, <spacer graph>, <T-line graph>, <I-line graph>, <L-line graph>, <icon image>
    • To define new Icon themes, attach images to this Plugin topic and set the parameters accordingly
Added:
>
>
  • Focus bullet list:
    • Search bullet list for text. If a bullet is found:
      1. Highlight text and remove [[][]] links on bullet where text is found
      2. Reduce bullet list to show only its parents and children
    • This is useful to maintain one large bullet list with links to team pages, representing the organization of a company. Each team page can INCLUDE the bullet list with focus set to itself.
 

Examples

Line: 41 to 50
 
Changed:
<
<
one
>
>
 
Changed:
<
<
one.a
>
>
one
one.a
 
Changed:
<
<
one.a.x
>
>
one.a.x
 
Changed:
<
<
one.b
>
>
one.b
 
Changed:
<
<
one.b.x
>
>
one.b.x
 
Changed:
<
<
continue
>
>
continue
 
Changed:
<
<
one.b.y
>
>
one.b.y
 
Changed:
<
<
continue
two
three
>
>
continue
two
three
 
Line: 107 to 134
 
Changed:
<
<
  one
>
>
  one
 
Changed:
<
<
  one.a
>
>
  one.a
 
Changed:
<
<
  one.a.x
>
>
  one.a.x
 
Changed:
<
<
  one.b
>
>
  one.b
 
Changed:
<
<
  one.b.x
>
>
  one.b.x
 
Changed:
<
<
  continue
>
>
  continue
 
Changed:
<
<
  one.b.y
>
>
  one.b.y
 
Changed:
<
<
  continue
  two
  three
>
>
  continue
  two
  three
 
Line: 156 to 201
 
  • two
  • three
Added:
>
>
%RENDERLIST{ "org" focus="one.b" }%
	* one
		* one.a
			* one.a.x
		* one.b
			* one.b.x
			  continue
			* one.b.y
			  continue
	* two
	* three

  one
  one.b
  one.b.x
  continue
  one.b.y
  continue

%RENDERLIST{ "org" focus="one.b" }%

  • one
    • one.a
      • one.a.x
    • one.b
      • one.b.x continue
      • one.b.y continue
  • two
  • three
 

RenderListPlugin Settings

Line: 192 to 302
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 05 Dec 2003 (V1.010)
>
>
Plugin Version: 11 Dec 2003 (V1.020)
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
11 Dec 2003: Added focus and depth parameters
 
05 Dec 2003: Fixed rendering issue with IE, added EMAIL_THEME
02 Dec 2003: Initial version
CPAN Dependencies: none
Line: 204 to 315
  Related Topics: TWikiPreferences, TWikiPlugins, TWiki:Plugins/TreePlugin
Changed:
<
<
-- TWiki:Main/PeterThoeny - 05 Dec 2003
>
>
-- TWiki:Main/PeterThoeny - 11 Dec 2003
 
META FILEATTACHMENT attr="h" comment="Empty 16x16 spacer" date="1070519327" name="empty.gif" path="C:\Data\MyTWiki\Plugins\RenderListPlugin\pub\TWiki\RenderListPlugin\empty.gif" size="100" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="Dot T-graph 16x16" date="1070519374" name="dot_udr.gif" path="C:\Data\MyTWiki\Plugins\RenderListPlugin\pub\TWiki\RenderListPlugin\dot_udr.gif" size="109" user="PeterThoeny" version="1.1"
META FILEATTACHMENT attr="h" comment="Dot I-graph 16x16" date="1070519385" name="dot_ud.gif" path="C:\Data\MyTWiki\Plugins\RenderListPlugin\pub\TWiki\RenderListPlugin\dot_ud.gif" size="108" user="PeterThoeny" version="1.1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.RenderListPlugin.