data/TWiki/WebLeftBarCookbook.txt,v
changeset 0 414e01d06fd5
equal deleted inserted replaced
-1:000000000000 0:414e01d06fd5
       
     1 head	1.3;
       
     2 access;
       
     3 symbols;
       
     4 locks; strict;
       
     5 comment	@# @;
       
     6 
       
     7 
       
     8 1.3
       
     9 date	2006.04.01.05.55.32;	author TWikiContributor;	state Exp;
       
    10 branches;
       
    11 next	1.2;
       
    12 
       
    13 1.2
       
    14 date	2006.02.01.12.01.23;	author TWikiContributor;	state Exp;
       
    15 branches;
       
    16 next	1.1;
       
    17 
       
    18 1.1
       
    19 date	2004.08.16.05.30.20;	author ArthurClemens;	state Exp;
       
    20 branches;
       
    21 next	;
       
    22 
       
    23 
       
    24 desc
       
    25 @none
       
    26 @
       
    27 
       
    28 
       
    29 1.3
       
    30 log
       
    31 @buildrelease
       
    32 @
       
    33 text
       
    34 @%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="3"}%
       
    35 ---+ !WebLeftBar Cookbook
       
    36 
       
    37 *Instructions and tips how to use WebLeftBarPersonalTemplate*.
       
    38 
       
    39 !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.
       
    40 
       
    41 Each link is an item in a bullet list. So it can look like this:
       
    42 
       
    43    * *My links*
       
    44       * WebHome
       
    45       * WebIndex
       
    46       * WebChanges
       
    47 
       
    48 (or use your own personal topics).
       
    49 
       
    50 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):
       
    51 
       
    52 <div class="patternLeftBar" style="position:relative; top:0; left:0; padding:0; margin:0; border:0;">
       
    53 <div class="patternLeftBarPersonal">
       
    54    * *My links*
       
    55       * WebHome
       
    56       * WebIndex
       
    57       * WebChanges
       
    58 </div> 
       
    59 </div>
       
    60 
       
    61 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:
       
    62 <verbatim>
       
    63 <div class="twikiSmall"><a href="%SCRIPTURLPATH{"edit"}%/%WEB%/%TOPIC%?t=%GMTIME{"$year$mo$day$hours$minutes$seconds"}%">edit</a></div>
       
    64 </verbatim>
       
    65  
       
    66 
       
    67 
       
    68 @
       
    69 
       
    70 
       
    71 1.2
       
    72 log
       
    73 @buildrelease
       
    74 @
       
    75 text
       
    76 @d1 1
       
    77 a1 1
       
    78 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="2"}%
       
    79 d10 4
       
    80 a13 4
       
    81 	* *My links*
       
    82 		* WebHome
       
    83 		* WebIndex
       
    84 		* WebChanges
       
    85 d21 4
       
    86 a24 4
       
    87 	* *My links*
       
    88 		* WebHome
       
    89 		* WebIndex
       
    90 		* WebChanges
       
    91 @
       
    92 
       
    93 
       
    94 1.1
       
    95 log
       
    96 @none
       
    97 @
       
    98 text
       
    99 @d1 1
       
   100 a1 1
       
   101 %META:TOPICINFO{author="ArthurClemens" date="1092634220" format="1.0" version="1.1"}%
       
   102 d6 1
       
   103 a6 1
       
   104 !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.
       
   105 d15 1
       
   106 a15 1
       
   107 (but with _your_ personal topics).
       
   108 d17 1
       
   109 a17 1
       
   110 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):
       
   111 d19 2
       
   112 a20 3
       
   113 <div class="twikiLeftBar" style="position:relative; top:0; left:0;">
       
   114 <div class="twikiLeftBarContents">
       
   115 <div class="twikiLeftBarPersonal">
       
   116 a24 1
       
   117 </div>
       
   118 d30 1
       
   119 a30 1
       
   120 <div class="twikiSmall"><a href="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/%TOPIC%?t=%GMTIME{"$year$mo$day$hours$minutes$seconds"}%">edit</a></div>
       
   121 d33 1
       
   122 a33 1
       
   123 -- Main.ArthurClemens - 15 Aug 2004
       
   124 @