Autocollaps tocP categories

124 views
Skip to first unread message

Magnus

unread,
Dec 2, 2018, 3:56:16 PM12/2/18
to TiddlyWiki
Hello, I was wondering if it is possible to auto-collapse open categories in the Marios tocP-macro (https://wikilabs.github.io/editions/tocP/) when you click on another.
I have 800 links in 40 or 50 subcategories, making a very long list if everything is open 

category (TOC link: no)
   subcategory (TOC link: no)
      sub-sub-category (TOC link: no) 
         link

/Magnus

Magnus

unread,
Dec 5, 2018, 2:01:12 PM12/5/18
to TiddlyWiki
How can I adapt this solution for tag-based toc to a field-based?

PMario

unread,
Dec 6, 2018, 2:52:00 AM12/6/18
to TiddlyWiki
Hi Magnus

I'll check it.

-m

PMario

unread,
Dec 7, 2018, 8:10:54 AM12/7/18
to tiddl...@googlegroups.com
Hi Magnus,

I did have a closer look at the modifications that Andreas Hahn made. ... The code is old and misses some features, that the latest TOC has. Including some heavy mods, that have been made to the TOC in 5.1.18.

tocP is completely missing those 5.1.18 changes atm. ...

So the needed changes are much heavier as they may seem at the first look :/

The proposal is a good one, so I'll try to get the functionality into the core toc and into my own tocP (first :) ... but it will need some time.

-m
Reply all
Reply to author
Forward
0 new messages