> [1] is where you suggested I post my question in this forum
That reference was for the benefit of anyone who wasn't following the
original thread - it wasn't meant to sound patronizing.
> [2] lists common-sense steps for requesting support, including a minimal
> test case, which I have done
I was merely referring to the note on macro errors on that page to
clarify my point. Again, sorry if that came out wrong.
> [3] is an informative list of functions I did not know existed before
> (I'll bookmark that one!) but none of them appear to address my question
It's the TiddlyWiki class, which the store is an instance of.
> I feel like I'm in a situation where I can't ask the question unless I
> already know the answer [...]
> it was my hope I could get away with a simple answer from the community
That's unfortunate.
It was my impression that you wanted to learn more about the basics of
TiddlyWiki to extend it.
So, to address your specific original question:
> I am trying to write a macro that returns all tiddlers tagged with
> this one
var currentTiddler = tiddler.title;
var tiddlers = store.getTaggedTiddlers(currentTiddler);
> and some additional tags (passed as parameters to the macro)
Combining conditions takes a bit more effort.
Off the top of my head, I don't remember whether the core's
filterTiddlers* method is sufficient here - they might only do OR rather
than AND. (Can anyone confirm this?)
You might wanna look into Eric's MatchTagsPlugin:
http://www.tiddlytools.com/#MatchTagsPlugin
-- F.
* http://tiddlywiki.org/wiki/Filter
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---