Tam The toc macros provided by tiddlywiki operate by looking for the tiddlers tagged with each tiddler in the tree. For this reason it is easy to build a tree using the new here button.
If the tiddlers already exist you will need to tag them with the tiddler name that they need to appear below. The existing toc and tree macros are also designed to go as many levels deep as the tags indicate. If however you want a toc based on some other information like the content of a field you need another macro. I think Mario made one to support his "new here with parent" button. Coincidently I need to write something similar today so I will share a toc macro you can edit today. It is surprisingly easy if you learn about recursive code parterns. I have shared similar code before so search the forum if you are in a hurry. Today I plan to build a multi-level hierarchy which works like a toc but uses a different condition for each level, rather than only tagging. Regards Tony -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e8d95924-f939-4ce8-8383-2282da7dafc3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

