> I'm trying to show the list of tags at the end of each tiddler.
>
> I successfully used the forEachTiddler plugin.
> How can I embed it in the ViewTemplate tiddler?

The easiest way to embed arbitrary macro output in the ViewTemplate is
to use the "tiddler" macro:
   <span macro="tiddler NameOfTiddler"></span>
and then put your normal macro definition into the referenced tiddler.

Optionally you can also use an evaluated parameter in the template
syntax, to automatically pass the title of the current tiddler, like
this:
   <span macro="tiddler NameOfTiddler with: {{tiddler.title}}"></span>
This will allow you to use the "$1" *replacement marker* within the
embedded tiddler, so that the macro it invokes can use the current
tiddler title when computing it's output.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://www.TiddlyTools.com/#Donations

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact


  This avoids mixing the use of quotes for 'template syntax' and
'macro syntax'

-- 
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.

Reply via email to