Hi! Try the following; <<forEachTiddler where 'tiddler.tags.containsAll([context.viewerTiddler.title,"Reference"])' sortBy 'tiddler.title' ascending write '"[["+tiddler.title+"|"+tiddler.title+"]]\n"' begin '"! References\n"'>>
And omit the !References from the tiddler, just use the fET. I'm not quite sure how the new tiddler buttons fit in though, I'd need to see an example. w On Jan 6, 7:12 pm, stuckagain <[email protected]> wrote: > I have a template for a project page - all tiddlers tagged 'project', > which uses ForEachTiddler to display lists of tiddlers related to that > project which conform to differing criteria, e.g. Open tasks / > delegated tasks / closed tasks / references etc. > > These are lists of project-related tiddlers are grouped together, each > under a heading. There are about 8 or 9 such criteria each with a > heading. Often several headings have no tiddlers listed. My question > is whether it is possible to individually hide each of the headings if > there are no tiddlers under it? > > An example of a section and its heading is ... > > !References > <<forEachTiddler where 'tiddler.title == "SiteTitle"' > write > '"<<newTiddler label:new title:NewReference tag:Reference " + > context.viewerTiddler.title + " $))"'>> > <<forEachTiddler > where > 'tiddler.tags.containsAll([context.viewerTiddler.title,"Reference"])' > sortBy 'tiddler.title' ascending > write '"[["+tiddler.title+"|"+tiddler.title+"]]\n"' > > > > Thanks -- 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.

