On Wednesday, April 13, 2016 at 10:56:09 AM UTC-7, Hegart Dmishiv wrote:
>
> I'm trying to use this solution in my *{{DesignWrite}}* semester project, 
> TiddlyCRM, here 
> <https://dl.dropboxusercontent.com/s/odu3my97ujyxz4h/SampleData-testing.html#%24%3A%2F_Menu%2FTopBar>
>  
> (at line 11). It works fine in that tiddler, but when I try to transclude 
> that tiddler using a ViewTemplate like this one 
> <https://dl.dropboxusercontent.com/s/odu3my97ujyxz4h/SampleData-testing.html#%24%3A%2F_Templates%2FTopBar>,
>  
> it only closes the original $:/_Menu/TopBar tiddler (if it was open at 
> the time), but nothing else.
>

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.

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.

enjoy,
-e


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


-- 
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/f220718b-4e2f-4ff2-9ebb-20de6b6b4424%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to