> <span macro='newTiddler title: "<<forEachTiddler where
> 'tiddler.tags.contains(tiddler.title)' write '""' end
> '{{tiddler.title}}+"-Qualification" + count' none '""' >>"  label:"Add
> Qualification" tag:{{tiddler.title}} tag:"QualificationForm"
> template:"QualificationFormEditTemplate" '></span>

Macros don't generate text output... they create DOM elements in the
browser.  Thus, you can't put a macro inside another macro and have
the output of one inserted as text into the parameter list of the
other.

instead of attempting
   title:"<<forEachTiddler ...>>"

you should use a "computed parameter" (a bit of javascript, enclosed
in doubled curly-braces), like this:

   title:{{ ... calculate title here ... }}

You can get the array of tiddlers with a given tag, use this function:
   store.getTaggedTiddlers('tagValue')

Thus, for your purposes:

   title:{{ tiddler.title+'-Qualification'+store.getTaggedTiddlers
(tiddler.title).length+1 }}

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