Thanks Eric - It works fine!
Btw could you use url#txtTopicsTemplate:closed - to "force" the
treeviewPlugins branches in the tiddlers tagged Topics to open as
closed?? - Ha - that sounded very bad indeed .... I'll try again:
I've helped Dave G. to make a treeviewTemplate, which uses a variable:
"$1" - so it can be uses like this:
<<tiddler TopicsTemplate1 with: ...
Unfortunately it is not possible to make the id a variable as well -
like this:
<<treeview2 "$1" "treeview-gray" 'collapsed: true,
antisesame: "closed", animated: "fast", persist: "cookie",
cookieId:"$1"'>>
I have to set one unique identifier for all Topics like this:
<<treeview ......, cookieId:"Topics"'>>
Either I have to remove the "persist: "cookie", cookieId:"Topics"'"
and see if it still responds to the tag "closed" - and will "remember"
te preferred state from tags - (This is how it works in Google Chrome)
or I will have to find some other way to override the temporary
cookies for this cookieId ("Topics").
Could it simply be set in zzConfigoptions?
Like this:
config.options.txtTopicsTemplate:closed = true;
Or do I have to make the option preamplifier in the tiddler containing
the macro first?
What I need is an option to "force" the tag: "closed" in spite of the
locally stored cookie -
It does seem to rely on/need a plugin called cookie Plugin - ....
You can see the above in NoteStorm here:
http://tinyurl.com/ycaqe5s
(I've tried to permalink to all the tiddlers mentioned)
Any suggestion is appreciated....
YS Måns Mårtensson