items from all tags

114 views
Skip to first unread message

Nag Y

unread,
Sep 28, 2016, 2:41:43 PM9/28/16
to TiddlyWiki

I wanted to create a tab in sidbar with all the items from the tags i created.

currently what i did was to create a tab( tiddler) in sidebar by tagging with "$:/tags/SideBar".

Then, to retrieve that items under a tab , i updated the above tiddler using

<<list-links filter:"[tag[Group1]]">>.

The thing is it is not SCALABLE, if i add new tag say " Group2", then i need to update the above tiddler to account for the new tag.
like <<list-links filter:"[tag[
Group2]]">>

Is there a simpler way to achieve this ?

Jed Carty

unread,
Sep 28, 2016, 3:56:43 PM9/28/16
to TiddlyWiki
What you can do depends on how fancy you want it to be. You could just add a field called list to your tab in the sidebar and put this in it:

<$list filter='[is[current]list[]]'>
<<list-links filter:"[tag<currentTiddler>]">>
</$list>

Then to add to the list you just need to append the new tag to the list field.

You could do more involved things that could make adding to the list easier, and doing it this way won't sort anything and if you have a tiddler tagged both group1 and group2 it will appear twice. But this way is simple and easy.

Nag Y

unread,
Sep 29, 2016, 12:41:42 AM9/29/16
to TiddlyWiki
great, thanks Jed.

That solved my use case.

Thomas Elmiger

unread,
Sep 29, 2016, 12:12:21 PM9/29/16
to TiddlyWiki
Not that simple but also not difficult and very scaleable is the TOC: http://tiddlywiki.com/#Adding%20a%20Table%20of%20Contents%20to%20the%20Sidebar

I use this in several Wikis to have an overview over my tagged tiddlers.

Kind regards, Thomas

Josiah

unread,
Oct 1, 2016, 4:10:25 PM10/1/16
to TiddlyWiki
Ciao Thomas

That is my take on it too. If you can grasp what is going on in the link you gave it will deal with most cases.

best wishes
Josiah
Reply all
Reply to author
Forward
0 new messages