Thanks, Mario, that was it. :D
w

On Oct 14, 7:58 pm, PMario <pmari...@gmail.com> wrote:
> try: chkLearningMode==true  without ' '
>
> 'true' .. string
> true .. boolean
> -m
>
> On Oct 14, 4:32 pm, whatever <kbrezov...@gmail.com> wrote:
>
> > Hi!
> > I'm trying to implement a "learning mode". It means that when a
> > special option is enabled, the annotations are shown for selected
> > tiddlers in view mode.
>
> > I have the following:
> > In tiddler LearningMode (tagged systemConfig):
> > if (config.options.chkLearningMode==undefined)
> >         config.options.chkLearningMode=false;
> > config.annotations={
> >         "New Buttons": "Buttons for creating new tiddlers",
> >         LearningMode: "Custom settings for Learning Mode"
> >         }
>
> > In tiddler SideBarOptions:
> > <<option chkLearningMode>> Learning mode
>
> > In tiddler ViewTemplate:
> > <div macro="showWhen config.options.chkLearningMode=='true'">
> > <div macro='annotations'></div>
> > </div>
>
> > It doesn't work. However, if I replace chkLearningMode=='true' with
> > txtUserName=='MyUserName' and then change usernames, it does.
> > Any ideas?
> > w

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlyw...@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