data/TWiki/RenderListPlugin.txt
author Colas Nahaboo <colas@nahaboo.net>
Sat, 26 Jan 2008 15:50:53 +0100
changeset 0 414e01d06fd5
permissions -rw-r--r--
RELEASE 4.2.0 freetown
colas@0
     1
%META:TOPICINFO{author="TWikiContributor" date="1191140874" format="1.1" version="12"}%
colas@0
     2
---+ Render List Plugin
colas@0
     3
colas@0
     4
Render bullet lists in a variety of formats
colas@0
     5
colas@0
     6
---++ Syntax Rules
colas@0
     7
colas@0
     8
---+++ RENDERLIST Variable
colas@0
     9
colas@0
    10
   * Place a =%<nop>RENDERLIST{ &lt;parameters&gt; }%= before any bullet list
colas@0
    11
      * The lists can be handcrafted, generated by another Plugin, a =%<nop>TOC%=, or the result of a %TWIKIWEB%.FormattedSearch
colas@0
    12
   * Supported parameters:
colas@0
    13
      | ="name"= or%BR% =theme="name"= | Select a rendering theme |
colas@0
    14
      | =focus="any&nbsp;text"= | Focus list on a bullet with specified text |
colas@0
    15
      | =depth="2"= | Remove bullets with an indent greater then the depth. The depth is relative to the highlighted bullet in case =focus= is specified |
colas@0
    16
   * Rendering themes can be defined by =&lt;name&gt;_THEME= Plugin settings
colas@0
    17
      * Each theme is defined by a comma separated list containing the render type and parameters required by that render type
colas@0
    18
      * There are different render types; this initial Plugin version has *tree* and *icon* render types
colas@0
    19
   * Format of the *tree* render type:
colas@0
    20
      * =Set &lt;name&gt;_THEME = tree, &lt;0/1 flag to suppress/show lines of first level&gt;=
colas@0
    21
   * Format of the *icon* render type:
colas@0
    22
      * =Set &lt;name&gt;_THEME = icon, &lt;0/1 flag to suppress/show lines of first level&gt;, &lt;icon width&gt;, &lt;icon height&gt;, &lt;spacer graph&gt;, &lt;T-line graph&gt;, &lt;I-line graph&gt;, &lt;L-line graph&gt;, &lt;icon image&gt;=
colas@0
    23
      * To define new Icon themes, attach images to this Plugin topic and set the parameters accordingly
colas@0
    24
   * Focus bullet list:
colas@0
    25
      * Search bullet list for text. If a bullet is found:
colas@0
    26
         1. Highlight text and remove =[<nop>[][]]= links on bullet where text is found
colas@0
    27
         2. Reduce bullet list to show only its parents and children
colas@0
    28
      * 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.
colas@0
    29
colas@0
    30
---+++ Bullets
colas@0
    31
colas@0
    32
   * Use regular ==*== bullets
colas@0
    33
   * Start with level one
colas@0
    34
      * Increase indentation only one level at a time
colas@0
    35
         * =Like this=
colas@0
    36
   * Decreasing indentation many levels at a time is OK
colas@0
    37
   * Wrap long text with continuation lines, the Plugin does not do that for you%BR%
colas@0
    38
     =Align continuation lines with leading spaces like this=
colas@0
    39
   * You can specify an icon for a bullet of render type *tree* or *icon*:
colas@0
    40
      * Attach the icon to this Plugin topic, e.g. =myicon.gif=, or
colas@0
    41
      * Use one of the existing icons: %ATTACHURL%/globe.gif =globe.gif=, %ATTACHURL%/home.gif =home.gif=, %ATTACHURL%/virtualhome.gif =virtualhome.gif=, %ATTACHURL%/group.gif =group.gif=, %ATTACHURL%/persons.gif =persons.gif=, %ATTACHURL%/virtualpersons.gif =virtualpersons.gif=, %ATTACHURL%/person.gif =person.gif=, %ATTACHURL%/virtualperson.gif =virtualperson.gif=, %ATTACHURL%/email.gif =email.gif=, %ATTACHURL%/trend.gif =trend.gif=, %ATTACHURL%/folder.gif =folder.gif=, %ATTACHURL%/folders.gif =folders.gif=, %ATTACHURL%/file.gif =file.gif=, %ATTACHURL%/files.gif =files.gif=, %ATTACHURL%/doc.gif =doc.gif=, %ATTACHURL%/image.gif =image.gif=, %ATTACHURL%/pdf.gif =pdf.gif=, %ATTACHURL%/ppt.gif =ppt.gif=, %ATTACHURL%/sound.gif =sound.gif=, %ATTACHURL%/xls.gif =xls.gif=, %ATTACHURL%/zip.gif =zip.gif=, %ATTACHURL%/see.gif =see.gif=
colas@0
    42
      * Refer to an attached icon at the beginning of the bullet with:
colas@0
    43
         * =icon:myicon Followed by normal bullet text=
colas@0
    44
      * Any %TWIKIWEB%.TWikiDocGraphics icon can be used as well:
colas@0
    45
         * =%<nop>ICON{name}% Followed by normal bullet text=
colas@0
    46
colas@0
    47
---++ Examples
colas@0
    48
colas@0
    49
<table border="0" cellspacing="5" cellpadding="3"><tr><th valign="top" bgcolor="#CCCCC">
colas@0
    50
__You type:__
colas@0
    51
</th><th valign="top" bgcolor="#CCCCC">
colas@0
    52
__You get: (simulated)__
colas@0
    53
</th><th valign="top" bgcolor="#CCCCC">
colas@0
    54
__You get: (if installed)__
colas@0
    55
</th></tr>
colas@0
    56
<tr><td valign="top" bgcolor="#EEEEEE">
colas@0
    57
<pre>
colas@0
    58
%<nop>RENDERLIST{"thread"}%
colas@0
    59
   * one
colas@0
    60
      * one.a
colas@0
    61
         * one.a.x
colas@0
    62
      * one.b
colas@0
    63
         * one.b.x
colas@0
    64
           continue
colas@0
    65
         * one.b.y
colas@0
    66
            * icon:person Tim
colas@0
    67
            * icon:person Mico
colas@0
    68
   * two
colas@0
    69
   * three
colas@0
    70
</pre>
colas@0
    71
</td><td valign="top" bgcolor="#EEEEEE">
colas@0
    72
colas@0
    73
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
    74
<td valign="top"><img src="%ATTACHURL%/dot_udr.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
    75
<td valign="top"><nobr> one </nobr></td>
colas@0
    76
</tr></table>
colas@0
    77
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
    78
<td valign="top"><img src="%ATTACHURL%/dot_ud.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
    79
<td valign="top"><img src="%ATTACHURL%/dot_udr.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
    80
<td valign="top"><nobr> one.a </nobr></td>
colas@0
    81
</tr></table>
colas@0
    82
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
    83
<td valign="top"><img src="%ATTACHURL%/dot_ud.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
    84
<td valign="top"><img src="%ATTACHURL%/dot_ud.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
    85
<td valign="top"><img src="%ATTACHURL%/dot_ur.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
    86
<td valign="top"><nobr> one.a.x </nobr></td>
colas@0
    87
</tr></table>
colas@0
    88
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
    89
<td valign="top"><img src="%ATTACHURL%/dot_ud.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
    90
<td valign="top"><img src="%ATTACHURL%/dot_ur.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
    91
<td valign="top"><nobr> one.b </nobr></td>
colas@0
    92
</tr></table>
colas@0
    93
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
    94
<td valign="top"><img src="%ATTACHURL%/dot_ud.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
    95
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
    96
<td valign="top"><img src="%ATTACHURL%/dot_udr.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
    97
<td valign="top"><nobr> one.b.x </nobr></td>
colas@0
    98
</tr></table>
colas@0
    99
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   100
<td valign="top"><img src="%ATTACHURL%/dot_ud.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   101
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   102
<td valign="top"><img src="%ATTACHURL%/dot_ud.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   103
<td valign="top"><nobr> continue </nobr></td>
colas@0
   104
</tr></table>
colas@0
   105
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   106
<td valign="top"><img src="%ATTACHURL%/dot_ud.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   107
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   108
<td valign="top"><img src="%ATTACHURL%/dot_ur.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   109
<td valign="top"><nobr> one.b.y </nobr></td>
colas@0
   110
</tr></table>
colas@0
   111
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   112
<td valign="top"><img src="%ATTACHURL%/dot_ud.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   113
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   114
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   115
<td valign="top"><img src="%ATTACHURL%/dot_udr.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   116
<td valign="top"><img src="%ATTACHURL%/person.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   117
<td valign="top"><nobr> Tim </nobr></td>
colas@0
   118
</tr></table>
colas@0
   119
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   120
<td valign="top"><img src="%ATTACHURL%/dot_ud.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   121
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   122
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   123
<td valign="top"><img src="%ATTACHURL%/dot_ur.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   124
<td valign="top"><img src="%ATTACHURL%/person.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   125
<td valign="top"><nobr> Mico </nobr></td>
colas@0
   126
</tr></table>
colas@0
   127
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   128
<td valign="top"><img src="%ATTACHURL%/dot_udr.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   129
<td valign="top"><nobr> two </nobr></td>
colas@0
   130
</tr></table>
colas@0
   131
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   132
<td valign="top"><img src="%ATTACHURL%/dot_ur.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   133
<td valign="top"><nobr> three </nobr></td>
colas@0
   134
</tr></table>
colas@0
   135
colas@0
   136
</td><td valign="top" bgcolor="#EEEEEE">
colas@0
   137
colas@0
   138
%RENDERLIST{"thread"}%
colas@0
   139
   * one
colas@0
   140
      * one.a
colas@0
   141
         * one.a.x
colas@0
   142
      * one.b
colas@0
   143
         * one.b.x
colas@0
   144
           continue
colas@0
   145
         * one.b.y
colas@0
   146
            * icon:person Tim
colas@0
   147
            * icon:person Mico
colas@0
   148
   * two
colas@0
   149
   * three
colas@0
   150
colas@0
   151
</td></tr>
colas@0
   152
<tr><td valign="top" bgcolor="#EEEEEE">
colas@0
   153
<pre>
colas@0
   154
%<nop>RENDERLIST{"org"}%
colas@0
   155
   * one
colas@0
   156
      * one.a
colas@0
   157
         * one.a.x
colas@0
   158
      * one.b
colas@0
   159
         * one.b.x
colas@0
   160
           continue
colas@0
   161
         * one.b.y
colas@0
   162
            * icon:person Tim
colas@0
   163
            * icon:person Mico
colas@0
   164
   * two
colas@0
   165
   * three
colas@0
   166
</pre>
colas@0
   167
</td><td valign="top" bgcolor="#EEEEEE">
colas@0
   168
colas@0
   169
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   170
<td valign="top"><img src="%ATTACHURL%/home.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   171
<td valign="top"><nobr>&nbsp; one </nobr></td>
colas@0
   172
</tr></table>
colas@0
   173
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   174
<td valign="top"><img src="%ATTACHURL%/dot_udr.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   175
<td valign="top"><img src="%ATTACHURL%/home.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   176
<td valign="top"><nobr>&nbsp; one.a </nobr></td>
colas@0
   177
</tr></table>
colas@0
   178
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   179
<td valign="top"><img src="%ATTACHURL%/dot_ud.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   180
<td valign="top"><img src="%ATTACHURL%/dot_ur.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   181
<td valign="top"><img src="%ATTACHURL%/home.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   182
<td valign="top"><nobr>&nbsp; one.a.x </nobr></td>
colas@0
   183
</tr></table>
colas@0
   184
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   185
<td valign="top"><img src="%ATTACHURL%/dot_ur.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   186
<td valign="top"><img src="%ATTACHURL%/home.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   187
<td valign="top"><nobr>&nbsp; one.b </nobr></td>
colas@0
   188
</tr></table>
colas@0
   189
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   190
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   191
<td valign="top"><img src="%ATTACHURL%/dot_udr.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   192
<td valign="top"><img src="%ATTACHURL%/home.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   193
<td valign="top"><nobr>&nbsp; one.b.x </nobr></td>
colas@0
   194
</tr></table>
colas@0
   195
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   196
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   197
<td valign="top"><img src="%ATTACHURL%/dot_ud.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   198
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   199
<td valign="top"><nobr>&nbsp; continue </nobr></td>
colas@0
   200
</tr></table>
colas@0
   201
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   202
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   203
<td valign="top"><img src="%ATTACHURL%/dot_ur.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   204
<td valign="top"><img src="%ATTACHURL%/home.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   205
<td valign="top"><nobr>&nbsp; one.b.y </nobr></td>
colas@0
   206
</tr></table>
colas@0
   207
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   208
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   209
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   210
<td valign="top"><img src="%ATTACHURL%/dot_udr.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   211
<td valign="top"><img src="%ATTACHURL%/person.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   212
<td valign="top"><nobr>&nbsp; Tim </nobr></td>
colas@0
   213
</tr></table>
colas@0
   214
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   215
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   216
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   217
<td valign="top"><img src="%ATTACHURL%/dot_ur.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   218
<td valign="top"><img src="%ATTACHURL%/person.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   219
<td valign="top"><nobr>&nbsp; Mico </nobr></td>
colas@0
   220
</tr></table>
colas@0
   221
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   222
<td valign="top"><img src="%ATTACHURL%/home.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   223
<td valign="top"><nobr>&nbsp; two </nobr></td>
colas@0
   224
</tr></table>
colas@0
   225
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   226
<td valign="top"><img src="%ATTACHURL%/home.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   227
<td valign="top"><nobr>&nbsp; three </nobr></td>
colas@0
   228
</tr></table>
colas@0
   229
colas@0
   230
</td><td valign="top" bgcolor="#EEEEEE">
colas@0
   231
colas@0
   232
%RENDERLIST{"org"}%
colas@0
   233
   * one
colas@0
   234
      * one.a
colas@0
   235
         * one.a.x
colas@0
   236
      * one.b
colas@0
   237
         * one.b.x
colas@0
   238
           continue
colas@0
   239
         * one.b.y
colas@0
   240
            * icon:person Tim
colas@0
   241
            * icon:person Mico
colas@0
   242
   * two
colas@0
   243
   * three
colas@0
   244
colas@0
   245
</td></tr>
colas@0
   246
<tr><td valign="top" bgcolor="#EEEEEE">
colas@0
   247
<pre>
colas@0
   248
%<nop>RENDERLIST{ "org" focus="one.b" }%
colas@0
   249
   * one
colas@0
   250
      * one.a
colas@0
   251
         * one.a.x
colas@0
   252
      * one.b
colas@0
   253
         * one.b.x
colas@0
   254
           continue
colas@0
   255
         * one.b.y
colas@0
   256
            * icon:person Tim
colas@0
   257
            * icon:person Mico
colas@0
   258
   * two
colas@0
   259
   * three
colas@0
   260
</pre>
colas@0
   261
</td><td valign="top" bgcolor="#EEEEEE">
colas@0
   262
colas@0
   263
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   264
<td valign="top"><img src="%ATTACHURL%/home.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   265
<td valign="top"><nobr>&nbsp; one </nobr></td>
colas@0
   266
</tr></table>
colas@0
   267
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   268
<td valign="top"><img src="%ATTACHURL%/dot_ur.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   269
<td valign="top"><img src="%ATTACHURL%/home.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   270
<td valign="top"><nobr>&nbsp; <b> one.b </b> </nobr></td>
colas@0
   271
</tr></table>
colas@0
   272
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   273
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   274
<td valign="top"><img src="%ATTACHURL%/dot_udr.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   275
<td valign="top"><img src="%ATTACHURL%/home.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   276
<td valign="top"><nobr>&nbsp; one.b.x </nobr></td>
colas@0
   277
</tr></table>
colas@0
   278
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   279
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   280
<td valign="top"><img src="%ATTACHURL%/dot_ud.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   281
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   282
<td valign="top"><nobr>&nbsp; continue </nobr></td>
colas@0
   283
</tr></table>
colas@0
   284
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   285
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   286
<td valign="top"><img src="%ATTACHURL%/dot_ur.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   287
<td valign="top"><img src="%ATTACHURL%/home.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   288
<td valign="top"><nobr>&nbsp; one.b.y </nobr></td>
colas@0
   289
</tr></table>
colas@0
   290
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   291
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   292
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   293
<td valign="top"><img src="%ATTACHURL%/dot_udr.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   294
<td valign="top"><img src="%ATTACHURL%/person.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   295
<td valign="top"><nobr>&nbsp; Tim </nobr></td>
colas@0
   296
</tr></table>
colas@0
   297
<table border="0" cellspacing="0" cellpadding="0"><tr>
colas@0
   298
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   299
<td valign="top"><img src="%ATTACHURL%/empty.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   300
<td valign="top"><img src="%ATTACHURL%/dot_ur.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   301
<td valign="top"><img src="%ATTACHURL%/person.gif" width="16" height="16" alt="" border="0" /></td>
colas@0
   302
<td valign="top"><nobr>&nbsp; Mico </nobr></td>
colas@0
   303
</tr></table>
colas@0
   304
colas@0
   305
</td><td valign="top" bgcolor="#EEEEEE">
colas@0
   306
colas@0
   307
%RENDERLIST{ "org" focus="one.b" }%
colas@0
   308
   * one
colas@0
   309
      * one.a
colas@0
   310
         * one.a.x
colas@0
   311
      * one.b
colas@0
   312
         * one.b.x
colas@0
   313
           continue
colas@0
   314
         * one.b.y
colas@0
   315
            * icon:person Tim
colas@0
   316
            * icon:person Mico
colas@0
   317
   * two
colas@0
   318
   * three
colas@0
   319
colas@0
   320
</td></tr></table>
colas@0
   321
colas@0
   322
---++ <nop>%TOPIC% Settings
colas@0
   323
colas@0
   324
Plugin settings are stored as preferences variables. To reference a plugin setting write ==%<nop>&lt;plugin&gt;_&lt;setting&gt;%==, i.e. ==%<nop>RENDERPLUGIN_SHORTDESCRIPTION%==
colas@0
   325
colas@0
   326
   * One line description, is shown in the %TWIKIWEB%.TextFormattingRules topic:
colas@0
   327
      * Set SHORTDESCRIPTION = Render bullet lists in a variety of formats
colas@0
   328
colas@0
   329
   * Debug plugin: (See output in =data/debug.txt=)
colas@0
   330
      * Set DEBUG = 0
colas@0
   331
colas@0
   332
   * Themes are named =&lt;SOMETHING&gt;_THEME= and contain a comma delimited list of render type with parameters:
colas@0
   333
      * Set THREAD_THEME = tree, 1
colas@0
   334
      * Set HOME_THEME = icon, 1, 16, 16, %ATTACHURL%/empty.gif, %ATTACHURL%/dot_udr.gif, %ATTACHURL%/dot_ud.gif, %ATTACHURL%/dot_ur.gif, %ATTACHURL%/home.gif
colas@0
   335
      * Set ORG_THEME = icon, 0, 16, 16, %ATTACHURL%/empty.gif, %ATTACHURL%/dot_udr.gif, %ATTACHURL%/dot_ud.gif, %ATTACHURL%/dot_ur.gif, %ATTACHURL%/home.gif
colas@0
   336
      * Set GROUP_THEME = icon, 0, 16, 16, %ATTACHURL%/empty.gif, %ATTACHURL%/dot_udr.gif, %ATTACHURL%/dot_ud.gif, %ATTACHURL%/dot_ur.gif, %ATTACHURL%/group.gif
colas@0
   337
      * Set EMAIL_THEME = icon, 0, 16, 16, %ATTACHURL%/empty.gif, %ATTACHURL%/dot_udr.gif, %ATTACHURL%/dot_ud.gif, %ATTACHURL%/dot_ur.gif, %ATTACHURL%/email.gif
colas@0
   338
      * Set TREND_THEME = icon, 0, 16, 16, %ATTACHURL%/empty.gif, %ATTACHURL%/dot_udr.gif, %ATTACHURL%/dot_ud.gif, %ATTACHURL%/dot_ur.gif, %ATTACHURL%/trend.gif
colas@0
   339
      * Set FILE_THEME = icon, 0, 16, 16, %ATTACHURL%/empty.gif, %ATTACHURL%/dot_udr.gif, %ATTACHURL%/dot_ud.gif, %ATTACHURL%/dot_ur.gif, %ATTACHURL%/file.gif
colas@0
   340
colas@0
   341
---++ Plugin Installation Instructions
colas@0
   342
colas@0
   343
__Note:__ You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the TWiki server.
colas@0
   344
colas@0
   345
   * Download the ZIP file from the Plugin Home (see below)
colas@0
   346
   * Unzip ==%TOPIC%.zip== in your twiki installation directory. Content:
colas@0
   347
     | *File:* | *Description:* |
colas@0
   348
     | ==data/TWiki/%TOPIC%.txt== | Plugin topic |
colas@0
   349
     | ==data/TWiki/%TOPIC%.txt,v== | Plugin topic repository |
colas@0
   350
     | ==lib/TWiki/Plugins/%TOPIC%.pm== | Plugin Perl module |
colas@0
   351
     | ==pub/TWiki/%TOPIC%/*.gif== | Image files for themes |
colas@0
   352
   * TWiki 4.0 and up: Run the [[%SCRIPTURL%/configure%SCRIPTSUFFIX%][configure]] script to enable the Plugin
colas@0
   353
   * Test if the installation was successful: See if above examples work
colas@0
   354
colas@0
   355
---++ Plugin Info
colas@0
   356
colas@0
   357
|  Plugin Author: | TWiki:Main/PeterThoeny |
colas@0
   358
|  Copyright: | &copy; 2006-2007, Peter@Thoeny.org, [[http://www.twiki.net/][TWIKI.NET]] |
colas@0
   359
|  License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) |
colas@0
   360
|  Plugin Version: | 15 Jan 2008 (2.0) |
colas@0
   361
|  Change History: | <!-- versions below in reverse order -->&nbsp; |
colas@0
   362
|  15 Jan 2008: | 2.0: Kenneth Lavrsen. No more reporting warnings in the error log when a render list starts at deeper level than 1 | 
colas@0
   363
|  30 Sep 2007: | Added %TWIKIWEB%.VarRENDERLIST to have it listed in %TWIKIWEB%.TWikiVariables |
colas@0
   364
|  23 Sep 2006: | Support for img tag and image URL after =icon:= (suggested by TWiki:Main.JanFilipsky); support for %TWIKIWEB%.TWikiDocGraphics icons, such as =%<nop>ICON{folder}%= instead of =icon:folder=; added files.gif and folders.gif (contributed by TWiki:Main.SteveHobbs) |
colas@0
   365
|  25 Apr 2006: | SVN sync, Cairo + Dakar compatibility |
colas@0
   366
|  14 Apr 2006: | [[http://TWiki.org/cgi-bin/view/Codev/TWikiRelease04x00][TWikiRelease04x00]] compatibility update |
colas@0
   367
|  21 Nov 2004: | Added benchmarks (no code changes) |
colas@0
   368
|  21 Mar 2004: | Internal change: Fixed unofficial function call |
colas@0
   369
|  01 Mar 2004: | Added FILE_THEME and folder/file icons |
colas@0
   370
|  29 Dec 2003: | Fixed rendering issue if focus bullet contains =icon:name=; added TREND_THEME |
colas@0
   371
|  16 Dec 2003: | Specify icons with =icon:name= syntax |
colas@0
   372
|  11 Dec 2003: | Added =focus= and =depth= parameters |
colas@0
   373
|  05 Dec 2003: | Fixed rendering issue with IE; added EMAIL_THEME |
colas@0
   374
|  02 Dec 2003: | Initial version |
colas@0
   375
|  CPAN Dependencies: | none |
colas@0
   376
|  Other Dependencies: | none |
colas@0
   377
|  Perl Version: | 5.005 |
colas@0
   378
|  TWiki:Plugins/Benchmark: | %TWIKIWEB%.GoodStyle 97%, %TWIKIWEB%.FormattedSearch 98%, RenderListPlugin 93% |
colas@0
   379
|  Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% |
colas@0
   380
|  Feedback: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev |
colas@0
   381
|  Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Appraisal |
colas@0
   382
colas@0
   383
__Related Topics:__ %TWIKIWEB%.TWikiPlugins, %TWIKIWEB%.DeveloperDocumentationCategory, %TWIKIWEB%.AdminDocumentationCategory, %TWIKIWEB%.TWikiPreferences, TWiki:Plugins/TreePlugin
colas@0
   384
colas@0
   385
-- TWiki:Main/PeterThoeny - 30 Sep 2007
colas@0
   386
colas@0
   387
%META:FILEATTACHMENT{name="empty.gif" attr="h" comment="Empty 16x16 spacer" date="1070383918" path="empty.gif" size="100" user="PeterThoeny" version="1.1"}%
colas@0
   388
%META:FILEATTACHMENT{name="email.gif" attr="h" comment="E-mail icon 16x16" date="1070614932" path="email.gif" size="183" user="PeterThoeny" version="1.1"}%
colas@0
   389
%META:FILEATTACHMENT{name="xls.gif" attr="h" comment="XLS icon 16x16" date="1078162404" path="xls.gif" size="918" user="PeterThoeny" version="1.1"}%
colas@0
   390
%META:FILEATTACHMENT{name="file.gif" attr="h" comment="File icon 16x16" date="1078160664" path="file.gif" size="151" user="PeterThoeny" version="1.1"}%
colas@0
   391
%META:FILEATTACHMENT{name="person.gif" attr="h" comment="Person icon 16x16" date="1071565646" path="person.gif" size="153" user="PeterThoeny" version="1.1"}%
colas@0
   392
%META:FILEATTACHMENT{name="doc.gif" attr="h" comment="Doc icon 16x16" date="1078160958" path="doc.gif" size="922" user="PeterThoeny" version="1.1"}%
colas@0
   393
%META:FILEATTACHMENT{name="virtualpersons.gif" attr="h" comment="Virtual persons icon 16x16" date="1072693460" path="virtualpersons.gif" size="160" user="PeterThoeny" version="1.1"}%
colas@0
   394
%META:FILEATTACHMENT{name="virtualperson.gif" attr="h" comment="Virtual person icon 16x16" date="1072693450" path="virtualperson.gif" size="149" user="PeterThoeny" version="1.1"}%
colas@0
   395
%META:FILEATTACHMENT{name="group.gif" attr="h" comment="Group icon 16x16" date="1071565632" path="group.gif" size="162" user="PeterThoeny" version="1.2"}%
colas@0
   396
%META:FILEATTACHMENT{name="dot_ur.gif" attr="h" comment="Dot L-graph 16x16" date="1070383984" path="dot_ur.gif" size="106" user="PeterThoeny" version="1.1"}%
colas@0
   397
%META:FILEATTACHMENT{name="ppt.gif" attr="h" comment="PPT icon 16x16" date="1078160706" path="ppt.gif" size="921" user="PeterThoeny" version="1.1"}%
colas@0
   398
%META:FILEATTACHMENT{name="pdf.gif" attr="h" comment="PDF icon 16x16" date="1078160694" path="pdf.gif" size="938" user="PeterThoeny" version="1.1"}%
colas@0
   399
%META:FILEATTACHMENT{name="dot_udr.gif" attr="h" comment="Dot T-graph 16x16" date="1070384070" path="dot_udr.gif" size="109" user="PeterThoeny" version="1.1"}%
colas@0
   400
%META:FILEATTACHMENT{name="persons.gif" attr="h" comment="Two persons icon 16x16" date="1071565666" path="persons.gif" size="164" user="PeterThoeny" version="1.1"}%
colas@0
   401
%META:FILEATTACHMENT{name="sound.gif" attr="h" comment="Sound icon 16x16" date="1078160718" path="sound.gif" size="166" user="PeterThoeny" version="1.1"}%
colas@0
   402
%META:FILEATTACHMENT{name="home.gif" attr="h" comment="Home icon 16x16" date="1070383996" path="home.gif" size="172" user="PeterThoeny" version="1.1"}%
colas@0
   403
%META:FILEATTACHMENT{name="folder.gif" attr="h" comment="Folder icon 16x16" date="1078160636" path="folder.gif" size="903" user="PeterThoeny" version="1.1"}%
colas@0
   404
%META:FILEATTACHMENT{name="zip.gif" attr="h" comment="ZIP icon 16x16" date="1078160730" path="zip.gif" size="940" user="PeterThoeny" version="1.1"}%
colas@0
   405
%META:FILEATTACHMENT{name="image.gif" attr="h" comment="Image icon 16x16" date="1078160678" path="image.gif" size="943" user="PeterThoeny" version="1.1"}%
colas@0
   406
%META:FILEATTACHMENT{name="see.gif" attr="h" comment="See icon 16x16" date="1078161392" path="see.gif" size="81" user="PeterThoeny" version="1.1"}%
colas@0
   407
%META:FILEATTACHMENT{name="trend.gif" attr="h" comment="Trend icon 16x16" date="1072172998" path="trend.gif" size="149" user="PeterThoeny" version="1.1"}%
colas@0
   408
%META:FILEATTACHMENT{name="dot_ud.gif" attr="h" comment="Dot I-graph 16x16" date="1070383970" path="dot_ud.gif" size="108" user="PeterThoeny" version="1.1"}%
colas@0
   409
%META:FILEATTACHMENT{name="virtualhome.gif" attr="h" comment="Virtual home icon 16x16" date="1072693432" path="virtualhome.gif" size="162" user="PeterThoeny" version="1.1"}%
colas@0
   410
%META:FILEATTACHMENT{name="globe.gif" attr="h" comment="Globe icon 16x16" date="1075199580" path="globe.gif" size="1024" user="PeterThoeny" version="1.1"}%
colas@0
   411
%META:FILEATTACHMENT{name="folders.gif" attr="h" comment="Folders icon 16x16" date="1158991906" path="folders.gif" size="913" user="PeterThoeny" version="1.1"}%
colas@0
   412
%META:FILEATTACHMENT{name="files.gif" attr="h" comment="Files icon 16x16" date="1158991940" path="files.gif" size="907" user="PeterThoeny" version="1.1"}%