data/TWiki/WebLeftBarCookbook.txt,v
changeset 0 414e01d06fd5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/data/TWiki/WebLeftBarCookbook.txt,v	Sat Jan 26 15:50:53 2008 +0100
     1.3 @@ -0,0 +1,124 @@
     1.4 +head	1.3;
     1.5 +access;
     1.6 +symbols;
     1.7 +locks; strict;
     1.8 +comment	@# @;
     1.9 +
    1.10 +
    1.11 +1.3
    1.12 +date	2006.04.01.05.55.32;	author TWikiContributor;	state Exp;
    1.13 +branches;
    1.14 +next	1.2;
    1.15 +
    1.16 +1.2
    1.17 +date	2006.02.01.12.01.23;	author TWikiContributor;	state Exp;
    1.18 +branches;
    1.19 +next	1.1;
    1.20 +
    1.21 +1.1
    1.22 +date	2004.08.16.05.30.20;	author ArthurClemens;	state Exp;
    1.23 +branches;
    1.24 +next	;
    1.25 +
    1.26 +
    1.27 +desc
    1.28 +@none
    1.29 +@
    1.30 +
    1.31 +
    1.32 +1.3
    1.33 +log
    1.34 +@buildrelease
    1.35 +@
    1.36 +text
    1.37 +@%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="3"}%
    1.38 +---+ !WebLeftBar Cookbook
    1.39 +
    1.40 +*Instructions and tips how to use WebLeftBarPersonalTemplate*.
    1.41 +
    1.42 +!WebLeftBarPersonalTemplate is a topic template to create a personal left bar block for each user. The personal topic, <user>LeftBar is included in the left bar. Its contents are only visible to you. You may put there whatever suits you - links to frequently visited topics, or a dynamically generated list of topics.
    1.43 +
    1.44 +Each link is an item in a bullet list. So it can look like this:
    1.45 +
    1.46 +   * *My links*
    1.47 +      * WebHome
    1.48 +      * WebIndex
    1.49 +      * WebChanges
    1.50 +
    1.51 +(or use your own personal topics).
    1.52 +
    1.53 +The list is formatted with CSS. To get an idea of the actual look, see the list above formatted as in the left bar (you need to have =SKIN= set to PatternSkin):
    1.54 +
    1.55 +<div class="patternLeftBar" style="position:relative; top:0; left:0; padding:0; margin:0; border:0;">
    1.56 +<div class="patternLeftBarPersonal">
    1.57 +   * *My links*
    1.58 +      * WebHome
    1.59 +      * WebIndex
    1.60 +      * WebChanges
    1.61 +</div> 
    1.62 +</div>
    1.63 +
    1.64 +By default the &lt;user&gt;LeftBar topic has an edit link. In case you loose the edit link line of text, here's a copy:
    1.65 +<verbatim>
    1.66 +<div class="twikiSmall"><a href="%SCRIPTURLPATH{"edit"}%/%WEB%/%TOPIC%?t=%GMTIME{"$year$mo$day$hours$minutes$seconds"}%">edit</a></div>
    1.67 +</verbatim>
    1.68 + 
    1.69 +
    1.70 +
    1.71 +@
    1.72 +
    1.73 +
    1.74 +1.2
    1.75 +log
    1.76 +@buildrelease
    1.77 +@
    1.78 +text
    1.79 +@d1 1
    1.80 +a1 1
    1.81 +%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="2"}%
    1.82 +d10 4
    1.83 +a13 4
    1.84 +	* *My links*
    1.85 +		* WebHome
    1.86 +		* WebIndex
    1.87 +		* WebChanges
    1.88 +d21 4
    1.89 +a24 4
    1.90 +	* *My links*
    1.91 +		* WebHome
    1.92 +		* WebIndex
    1.93 +		* WebChanges
    1.94 +@
    1.95 +
    1.96 +
    1.97 +1.1
    1.98 +log
    1.99 +@none
   1.100 +@
   1.101 +text
   1.102 +@d1 1
   1.103 +a1 1
   1.104 +%META:TOPICINFO{author="ArthurClemens" date="1092634220" format="1.0" version="1.1"}%
   1.105 +d6 1
   1.106 +a6 1
   1.107 +!WebLeftBarPersonalTemplate is a topic template to create a personal left bar block for each user. The personal topic, &lt;user&gt;LeftBar is included in WebLeftBar, the left menu used in PatternSkin. It is only visible to you. You can put links to frequently visited topics there, or a dynamically generated list of topics.
   1.108 +d15 1
   1.109 +a15 1
   1.110 +(but with _your_ personal topics).
   1.111 +d17 1
   1.112 +a17 1
   1.113 +The list is formatted with CSS, and the bullets themselves are not displayed, and also indents are flattened. To get an idea of the actual look, see the list above formatted as in the left bar (you need to have PatternSkin set to on):
   1.114 +d19 2
   1.115 +a20 3
   1.116 +<div class="twikiLeftBar" style="position:relative; top:0; left:0;">
   1.117 +<div class="twikiLeftBarContents">
   1.118 +<div class="twikiLeftBarPersonal">
   1.119 +a24 1
   1.120 +</div>
   1.121 +d30 1
   1.122 +a30 1
   1.123 +<div class="twikiSmall"><a href="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/%TOPIC%?t=%GMTIME{"$year$mo$day$hours$minutes$seconds"}%">edit</a></div>
   1.124 +d33 1
   1.125 +a33 1
   1.126 +-- Main.ArthurClemens - 15 Aug 2004
   1.127 +@