A slightly differnt twist on using HideWhen is placing something like
the following in the ViewTemplate:

<div class='toolbar' macro="showWhen config.options.txtUserName ==
'KenGirard' ">
      <span macro='toolbar editTiddler closeOthers closeTiddler'></
span>
</div>

<div class='toolbar'  macro="showWhen config.options.txtUserName !==
'KenGirard' ">
      <span macro='toolbar closeTiddler'></span>
</div>

When "KenGirard" is signed in the top toolbar shows, when anyone else
is they see the bottom toolbar which only contains "close".

I've also put the following into my PageTemplate, inside displayArea,
and below the tiddlerDisplay so it is always at the below anything
that is open:
<div class='toolbar' macro="showWhen config.options.txtUserName ==
'KenGirard' ">
   <div id='contentFooter' refresh='content'
tiddler='contentFooter'>   </div>
</div>

Inside the contentFooter tiddler I have:
Name:<<option txtUserName>> :: <<newTiddler>> :: <<newTiddler
label:"Add program" title:"New Program" tag:"Program" text:"Type the
description in this section">> :: SaveBackups <<option
chkSaveBackups>> :: AutoSave <<option chkAutoSave>> :: [[Tabs|
SideBarTabs]] :: [[Options|SideBarOptions]]

I've also hidden the sideBar and moved the MainMenu to being on the
top, plus use a combonation of BreadcrumbsPlugin & TiddlersBarPlugin,
plus limit the number of open tiddlers to 5.

I use this setup for the files I share with coworkers on network
drives, or that I send them via e-mail. The hope is that if they can't
edit, they can't mess things up.

Ken Girard

On Nov 16, 3:35 pm, elnoi <elnoi...@gmail.com> wrote:
> You can create it and tag systemConfig.
> Normaly people uses this tiddler to put configuration stuffs to force
> certain options of tiddlywiki:
>
> Example:
> config.options.chkInsertTabs = true;
> config.options.txtSelectedTiddlerTabButton = "none";
> config.options.chkAnimate = false;
> config.options.chkSaveBackups = false;
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlywiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to