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