On Wednesday, August 31, 2016 at 11:45:44 PM UTC+2, Taylor Jensen wrote:
It's pretty simple tbh. It's just something like [tag{Tiddler}Tag[tag]]. It's allowing me to see all of the tiddlers with a preset tag, and then in a group that gets changed by the contents of [[Tiddler]].
The problem with easily adapting the core TOC code is that each one references the more basic ones before it. So I think I would need to modify all of them? Or maybe I can just copy the TOC code into prefixed macros, and then add tag[tag] to the most basic one's filter.
You are right. They are heavily linked and since the code doesn't have any indentation, it's hard to read it :/
- BACKUP, BACKUP, BACKUP,
- I'd use the core macros.
- copy them to a separate tiddler
- tag it $:/tags/Macro
- try to improve readability with some indentations
- test if it still works ...
- remove everything, that's not needed for your usecase ... and hope there is something ;)
- test if it still works
- give my macros a new name
- test if it still works
- add the missing filter
- test if it still works
find replace with an external editor may be your friend here.
I'm sorry, that's not much help.
have fun!
mario