I am trying to write a macro that returns all tiddlers tagged with
this one and some additional tags (passed as parameters to the macro).
Is there some way within a macro to get the name of the tiddler that
is calling it? I wrote a little proof-of-concept macro and it fails
with "tiddler is undefined":
config.macros.tiddlerName = { text: "" };
config.macros.tiddlerName.handler = function
(place,macroName,params,wikifier,paramString,tiddler)
{
var string = tiddler.getAttribute('tiddler');
wikify(string, place, null, null);
}
Tips?
--
Bobman
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" 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/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---