Hi Scott, I was fiddling around with something similar yesterday. In case it's of interest, here's the (far more rudimentary approach than Stephan's) approach I came up with. Note that this doesn't make use of tags at all, it simply finds all the tiddlers that contain a field called subtopic, and then lists those tiddlers (alphabetically) by subtopic. You could of course sort the lists differently, and you could filter for a particular tag by adding, e.g., [tag[Movie], to the second list filter. I would have liked to be able to search for tiddlers tagged with the current tiddler's title, or even tag, but I don't know how to do that in any generic way, so I opted instead to use a unique field name in the tiddlers I wanted in my list.
(Also, obviously, you could take out the styles; I was just seeing what I could do with the options that already existed). <$list filter="[!is[system]has[subtopic]each[subtopic]sort[subtopic]]"><div class="tw-menu-list-item"><$link to={{!!subtopic}}><$view tiddler={{!!subtopic}} field="title"/></$link> </div> <$list filter="[subtopic{!!subtopic}sort[title]]"> <div class="tw-menu-list-subitem"> <$link to={{!!title}}><$view field="title"/> </$link> </div></$list></$list> cmari On Sunday, March 2, 2014 12:45:26 AM UTC-8, Scott Kingery wrote: > > I'm just getting started experimenting with TW5. What I want to do is have > a field called subtopic and then have those grouped on a list. > > The results looking something like: > Movies (main topic and title of tiddler) > Comedy (subtopic) > Drama (subtopic) > > The following is the general idea but doesn't have the syntax to group. > > <$list filter="[has[subtopic]sort[subtopic]]"> > <h2><$view field="subtopic"/></h2><$link to={{!!title}}><$view > field="title"/></$link><br> > </$list> > > Can this be done? > Thanks, > Scott > > -- 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.