key Log In

You are here: wiki.fini > TWiki Web > WebLeftBarCookbook

Start of topic | Skip to actions

WebLeftBar Cookbook

Instructions and tips how to use WebLeftBarPersonalTemplate.

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.

Each link is an item in a bullet list. So it can look like this:

(or use your own personal topics).

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):

By default the <user>LeftBar topic has an edit link. In case you loose the edit link line of text, here's a copy:

<div class="twikiSmall"><a href="%SCRIPTURLPATH{"edit"}%/%WEB%/%TOPIC%?t=%GMTIME{"$year$mo$day$hours$minutes$seconds"}%">edit</a></div>

I've attached toggle.js to TWiki.PatternSkin.

and inserted the following into _twiki.org_'s (not the pattern skin package) twiki.pattern.tmpl and preview.pattern.tmpl:

<script type="text/javascript" src="/pub/TWiki/PatternSkin/toggle.js" ></script>

You can use it like this:

<script type="text/javascript">

<div id="someDiv">
Some Text.

Some Text.

This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding wiki.fini? Send feedback
Note: Please contribute updates to this topic on at TWiki:TWiki.WebLeftBarCookbook