How to have a TOC that displays tags?

102 views
Skip to first unread message

jin

unread,
Aug 20, 2020, 11:28:52 AM8/20/20
to tiddl...@googlegroups.com
Someone recommended me to see Chameleon's Wiki and her TOC is displayed as tags. I wanted to do that too. But I don't know how. Can you help me? Also, can I search tags or do I have to always look for it on the tags manager? (Sorry I don't know how to tag in Google Groups)

Eric Shulman

unread,
Aug 20, 2020, 2:32:11 PM8/20/20
to TiddlyWiki
On Thursday, August 20, 2020 at 8:28:52 AM UTC-7, jin wrote:
Someone recommended me to see Chameleon's Wiki and her TOC is displayed as tags. I wanted to do that too. But I don't know how. Can you help me? Also, can I search tags or do I have to always look for it on the tags manager? (Sorry I don't know how to tag in Google Groups)

It took a little effort to untangle what Chameleon has done... they tried to hide it all, but ultimately, everything that exists in a TiddlyWiki can be viewed.

Note: if you want to dig into a little of what Chameleon did, try this link: https://wiki.waifu.haus/#Admin

The following will reproduce the sidebar TOC tab:

1) Create a tiddler named "TOC", tagged with $:/tags/SideBar, containing:
<ul>
<$list filter="[tag[TOC]]">
<li>
<$link>
<$macrocall $name="tag-pill-body" tag=<
<currentTiddler>> icon={{!!icon}} colour={{!!color}} palette={{$:/palette}} element-tag="""$button"""/>
</$link>
</li>
</$list>
</ul>

2) Create a tiddler with any name you like, tagged with "TOC"
3) Add a field named "color", leave the value blank for now
4) Press "done" (checkmark) to save the tiddler
5) Press "edit" (pencil) to re-edit the tiddler
6) The "color" field will now show a color picker interface... choose a color
7) If you want to have an icon on the TOC "tag", add a field named "icon" and enter the name of an image tiddler (e.g., $:/core/images/spiral)
8) Press "done".

The tiddler you created should now appear in the Sidebar TOC tab, with the color and icon you have chosen.
Repeat steps (2) through (8) to create more entries in the TOC.

enjoy,
-e

jin

unread,
Aug 21, 2020, 1:01:12 AM8/21/20
to tiddl...@googlegroups.com
Wow thank u for this! Thank God for ur reply, I have been finding ways on how for hours yesterday. Again, thank u!

Virus-free. www.avast.com

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7eb65c5c-7342-440c-933a-8c5b58bea100o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages