Start of topic | Skip to actions
WebLeftBar CookbookInstructions 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:
SKIN set to PatternSkin):
<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">
//<![CDATA[
writeToggle("show","hide","someDiv")
//]]>
</script>
<div id="someDiv">
Some Text.
</div>
Some Text.
|