> > You know the number in parentheses that appears after the tags in
> > AllTags? I'd like to know the way to get just that number as a macro,
> > with or without parentheses, but without the tag name to the left of
> > it. Is there a way to do that?
Put this code into a tiddler tagged with systemConfig:
------------------
config.macros.getTagCount={
handler:function(place,macroName,params,wikifier,paramString,tiddler)
{
createTiddlyText(place,store.getTaggedTiddlers(params[0]).length);
}
}
------------------
Then, to use it:
<<getTagCount tagValue>>
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
----------
Was this answer useful? If so, please help support TiddlyTools:
TiddlyTools direct contributions: (paypal)
http://www.TiddlyTools.com/#Donate
UnaMesa tax-deductible contributions:
http://about.unamesa.org/Participate (paypal)
TiddlyWiki consulting:
http://www.TiddlyTools.com/#ELSDesignStudios
http://www.TiddlyTools.com/#Contact
--
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.