> Quick scripting question  ....how to write<<loadTiddlers>>  so that it
> uploads all tiddlers from another TWFile that have the same tag as the
> tiddler I am calling from.....something like {{{<<loadTiddlers tag:
> {{tiddler.title}} OtherTWFile.html>>}}}.

The <<loadTiddlers>> macro  defined by
   http://www.TiddlyTools.com/#LoadTiddlersPlugin
was written using an older style of macro parameter handling that pre-
dates the core's support for named parameters.

While the "tag:..." param described in the macro documentation appears
to be a typical use of a named macro parameter, it's really not...
rather, it's simply a regular 'positional' parameter that just happens
to have "tag:" as the first four characters of it's value.  As a
result of this difference, you need to use a slightly different syntax
for passing a computed tag value to the macro.  Instead of:
   tag:{{tiddler.title}}
you will need to write:
   {{"tag:"+tiddler.title}}

Note: the computed value also depends upon the use of the 'tiddler'
context variable, which is now available in the latest standard
release of TW (v2.4.3), or can be patched into earlier releases by
installing
   http://www.TiddlyTools.com/#CoreTweaksArchive

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
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