On Friday, August 21, 2020 at 1:12:05 AM UTC-7, jin wrote: > > I believe its called sliders here in tw5. I wanted to toggle the 2018 link > as shown above in my tiddler so I can expand the other tiddlers inside 2018 > or not >
"sliders" is old terminology from the original TiddlyWiki Classic (TWC) version, and "Nested Sliders" was a TWC plugin I created that could produce a wide variety of multi-level collapsible "outline-like" content (see http://www.tiddlytools.com/#NestedSlidersPluginInfo) However, the TWC "slider" and TiddlyTools NestedSlidersPlugin cannot be use with TW5. Instead, a similar ability is provided in TW5 by using a combination of <$button> and <$reveal> (see https://tiddlywiki.com/#RevealWidget), but to create a multi-level "tree view" as you have shown would be fairly complex and involve a lot of syntax. Fortunately, there is another approach that you can use in TW5 that is likely to be much more amenable to your needs. The "Table of Contents" (TOC) macros provide a way to automatically generate several types of "tree views" (see https://tiddlywiki.com/#Table-of-Contents%20Macros) Based on the appearance of the bullets in your example, my initial guess is that you might have created this list by hand, using syntax like this: * 2018 ** 2018.01 *** 2018.01.05 ... *** 2018.01.06 ... *** 2018.01.08 ... *** 2018.01.12 ... ** 2018.02 *** 2018.01.05 ... *** 2018.01.08 ... *** 2018.01.14 ... *** 2018.01.16 ... To convert this "bullet list" to use a TOC macro, start by creating separate tiddlers for each of the levels above. Based on your posted example, you might already have done this. Thus, there would be tiddlers titled "2018", "2018.01", "2018.02", etc., and of course, tiddlers titled "2018.01.05 ...", "2018.01.06 ...", etc. Next, to connect these tiddlers in a TOC "tree", you will add *tags* to each of the tiddlers, so that the "month" tiddlers (e.g., "2018.01", "2018.02", etc.) would be tagged with "2018", and the "daily" tiddlers (e.g., "2018.01.05...", "2018.01.06...", etc.) would be tagged with the corresponding "month" tiddler name (e.g. "2018.01"), while "2018.02.05...", 2018.02.08...", etc. would be tagged with "2018.02"... and so on. Then, to show these tiddlers as a tree that you can expand/collapse, you would use the following TOC macro: <<toc-selective-expandable "2018">> While the above might seem to be a lot of work, once it is set up, the process for adding to the tree is relatively simple. For example, to add another entry under the "2018.02" branch, just view the "2018.02" tiddler and choose the "New Here" command from that tiddler's menu. This will create a new tiddler that is automatically tagged with "2018.02" and will be listed in that branch of the tree. You can also just create a new tiddler using the "+" command from the sidebar and then add the desired tag by hand to place it wherever you want in the tree. Let me know how it goes... good luck! -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/15d20aa0-cd70-4733-b07b-25717fddf447o%40googlegroups.com.

