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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.