Making lists from tags while excluding tiddlers with specific other tags

70 views
Skip to first unread message

zephi...@googlemail.com

unread,
Aug 28, 2018, 3:01:03 AM8/28/18
to TiddlyWiki
Hello,

I want to list tiddlers based on their tags but i want to list certain tiddlers in a seperate list.
The code i'm using so far is:

<div class="tc-table-of-contents">
<<toc-selective-expandable 'Pizza' sort[title]>>
<div>

Which gives me a nice list of every tiddler with the Pizza tag as well as making sub tiddlers visible by the press of a button.
however i want to list Pizzas with the Calzone tag seperately my thought was seperating it into two lists one consisting of tiddlers with the Pizza but without the Calzone tag and another consisting only of Tiddlers with Both tags.
But how can i do that?
Or is there another, more efficient way to do this that i'm just not seeing? I don't think i can just sort by tag since my tiddlers get a lot of those.

Mark S.

unread,
Aug 28, 2018, 10:19:44 AM8/28/18
to TiddlyWiki
This may or may not work for you, depending on your particular requirements. Sometimes you can sneak additional filters into the sort attribute:

<div class="tc-table-of-contents">
<
<toc-selective-expandable 'Pizza' !tag[Calzone]sort[title]>>
<div>

Good luck!
-- Mark

zephi...@googlemail.com

unread,
Aug 28, 2018, 6:02:57 PM8/28/18
to TiddlyWiki
That seems to be working fine. thank you very much.
Reply all
Reply to author
Forward
0 new messages