data/TWiki/WebLeftBarCookbook.txt
changeset 0 414e01d06fd5
equal deleted inserted replaced
-1:000000000000 0:414e01d06fd5
       
     1 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="3"}%
       
     2 ---+ !WebLeftBar Cookbook
       
     3 
       
     4 *Instructions and tips how to use WebLeftBarPersonalTemplate*.
       
     5 
       
     6 !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.
       
     7 
       
     8 Each link is an item in a bullet list. So it can look like this:
       
     9 
       
    10    * *My links*
       
    11       * WebHome
       
    12       * WebIndex
       
    13       * WebChanges
       
    14 
       
    15 (or use your own personal topics).
       
    16 
       
    17 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):
       
    18 
       
    19 <div class="patternLeftBar" style="position:relative; top:0; left:0; padding:0; margin:0; border:0;">
       
    20 <div class="patternLeftBarPersonal">
       
    21    * *My links*
       
    22       * WebHome
       
    23       * WebIndex
       
    24       * WebChanges
       
    25 </div> 
       
    26 </div>
       
    27 
       
    28 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:
       
    29 <verbatim>
       
    30 <div class="twikiSmall"><a href="%SCRIPTURLPATH{"edit"}%/%WEB%/%TOPIC%?t=%GMTIME{"$year$mo$day$hours$minutes$seconds"}%">edit</a></div>
       
    31 </verbatim>
       
    32  
       
    33 
       
    34