Hi Eric,

> You didn't use the "double-bar" syntax when you 
> transcluded {{$:/_Menu/TopBar}}.  It should be {{||$:/_Menu/TopBar}}, so 
> that the current tiddler is in context.
>

Aha! Thanks for that. Solved.
 

> Also, you have an unterminated <$list> widget at the beginning of the 
> tiddler with a filter="[is[current]]", which will ALWAYS be true, so the 
> $list widget does nothing except set the currentTiddler variable equal 
> to... the value of the currentTiddler variable (i.e., the value is 
> UNCHANGED by the $list widget action).  Thus, this syntax is both unneeded 
> and ineffective and can be removed from your template.
>
 
Right, that makes sense. I was just following the method I was taught in 
the *{{DesignWrite}}* course, when creating ViewTemplates. In this 
particular instance I specifically wanted the template to be applied to 
*every* tiddler being viewed, so I thought I needed to be explicit about 
that in the ViewTemplate. I wasn't aware that it is the default action, as 
you explain here, so thanks for that.

P.S.  I'm looking into the combobox problem you reported (how to set a 
> value other than the selected tiddler title).
>

Awesome, thanks, that would be really helpful with restricting the results 
of one combobox by the selection of another. Looking forward to getting 
that part going.

Hegart.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c5472215-c440-49c4-8dab-7b6027ea4e59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to