On Tuesday, October 29, 2013 9:54:48 AM UTC-7, Bob Flandard wrote: > TWC 2.8.1, FF 24.0, W7x64 > I'm expecting to get told off for asking this because I imagine it's core > stuff that I should know. >
In this group, we NEVER treat people badly for asking questions! > I want a tiddler (top level) that will automatically create an > alphabetical list of links to all tiddlers that have a specific tag. I want > the list to be rendered in the top level tiddler, not in a drop down box, > so it looks like I typed the list of links myself. > I'm expecting I need to write a macro that loops through each tiddler and > if it has a tag called "param1" then it gets included in a list which it > then sorts alphabetically and then somehow renders links to these in the > top level tiddler. > The TWCore standard macro: <<list filter [tag[param1]]>> selects tiddler by tag value, and defaults to sorting by tiddler title. The output is a bullet list of tiddler links. http://www.TiddlyTools.com/#MatchTagsPlugin extends the TWCore filter mechanism so you can use Boolean expressions (AND, OR, NOT) to select complex combinations of tags: <<list filter [tag[param1 OR param2 AND NOT (param3 OR param4)]]>> It also provides a separate macro, <<matchTags>>, that provides additional control over the output. For example, to create a comma-separated list of links, all on one line, you can write: <<matchTags inline "[[%0]]" ", " param1>> enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... http://www.TiddlyTools.com/#Donations Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.