Hi Eric, It works perfectly, but I have discovered a problem with my grand plan, which I should have predicted.
Many of the tags are repeated in the new tiddler, as they are transcluded, and when one is clicked, all the others also produce drop downs of their associated tiddler titles. Is there any way of stopping that behaviour on a per tiddler basis so that the tags displayed by your filter code are not clickable. Or even, at a push, all tags globally are rendered non clickable? Again, any pointers would be very much appreciated, Geoff. On Tuesday, June 9, 2020 at 2:51:31 PM UTC+1, Eric Shulman wrote: > > On Tuesday, June 9, 2020 at 6:05:05 AM UTC-7, Geoff Tothill wrote: >> >> I need to transclude a relatively large number of tiddlers and display >> the tags in the transcluded content wrapped in their graphical form >> (lozenges). >> This should give me a list of the titles of all tiddlers tagged with a >> primary tag as well as displaying the transcluded tiddlers tags - in the >> form of lozenges. >> > Effectively I want to do this to use tags as status indicators for each of >> the transcluded tiddlers and display that in a list. >> > > Give this a try: > <$list filter="[tag[...primary tag goes here...]]"> > __<$link />__<br> > <$list filter="[<currentTiddler>tags[]]" variable="currentTag"> > <$macrocall $name="tag" tag=<<currentTag>> /> > </$list><br> > <blockquote><$transclude mode="block"/></blockquote> > </$list> > > * The outer $list finds all tiddlers with the "primary tag". Then, for > each matching tiddler: > * The next line shows the title of the current tiddler (as an underlined > link) > * The inner $list get all the tags for the current tiddler > * The $macrocall inside the inner list invokes the "tag" macro, which > shows the tag "pill" for each tag found > * The blockquote (which is outside of the inner list) transcludes the > content of the current tiddler > > let me know how it goes... > > enjoy, > -e > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ba3ef1a8-a951-4625-a104-25c4935e3443o%40googlegroups.com.

