On Wednesday, April 13, 2016 at 9:35:47 AM UTC-7, Dave wrote:
>
> I can transclude the "save" button and it works just fine in any tiddler
> {{$:/core/ui/Buttons/save-wiki}}
> But when I try to transclude the close tiddler button...
> {{$:/core/ui/Buttons/close}}
> although it works when viewing the original tiddler, clicking the X when 
> transcluded does not work.
> Is there a way to make this work?  I just want to put a close button at 
> the bottom of tiddlers tagged with a certain tag
>

yes... just add "||" in front of the tiddler title, like this:
{{||$:/core/ui/Buttons/close}}

This will cause the tiddler to be transcluded, but will use the current 
tiddler as the 'context' (i.e., the content comes from the named tiddler, 
but the data comes from the current tiddler).  This allows the close action 
to be performed on the current tiddler, rather than the tiddler being 
transcluded.

enjoy,
-e




-- 
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/e0933a1d-fab7-4d73-a699-92ba3afaba15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to