Jed, this looks way more complicated than I originally imagined. I guess then that the toc-selective-expandable micro can't work with a list filter? I don't understand the code fully: t
- The has property, and rather or not "parent" is actually something that is built into the code or is just anything you call it? if so, what does the has[] looks for? I understand tag[]. - <<currentTidller>> means put a name in there, or does TW knows we're talking about the Tiddler this code is in? - {{||.....}} is this line of code actually defines *another *Tiddler inside this code? - is [] property, same question as the has[] what does it do, and does it follow by user's input or is current actually defined? (I assume it's looking for user input) - fields: title is self-explanatory, but what is the description? the body of the tiddler? I have more questions on the child tiddler, but I think these are the same basically. It's not that I don't' trust you of course, but I want to understand what you're doing. I've been looking in tiddlywiki.com but the explanations there trust that I have a certain basic vocabulary that I don't. I find that I have patient especially with TW because I love what it does, and I enjoy learning it. Hope you don't mind. Thank you! On Tuesday, August 2, 2016 at 9:47:16 AM UTC-4, Jed Carty wrote: > > Make two tiddlers. The Task List Tiddler, called whatever you want it to > be, and the child tasks template called 'childTasks' with the following > code: > > Task List tiddler: > > <ul> > <$list filter='[tag[task]!has[parent]]'> > <$list filter='[is[current]!tag[done]]'> > <li> > <$checkbox tiddler=<<currentTiddler>> tag=done><$view > field='description'><$view field='title'/></$view></$checkbox><br> > {{||childTasks}} > </li> > </$list> > <$list filter='[is[current]tag[done]]'> > <li> > <$checkbox tiddler=<<currentTiddler>> tag=done>~~<$view > field='description'><$view field='title'/></$view>~~</$checkbox><br> > {{||childTasks}} > </li> > </$list> > </$list> > </ul> > > > > Child tasks template: > > <ul> > <$list filter='[tag[task]parent{!!title}]'> > <$list filter='[is[current]!tag[done]]'> > <li> > <$checkbox tiddler=<<currentTiddler>> tag=done><$view > field='description'><$view field='title'/></$view></$checkbox><br> > {{||childTasks}} > </li> > </$list> > <$list filter='[is[current]tag[done]]'> > <li> > <$checkbox tiddler=<<currentTiddler>> tag=done>~~<$view > field='description'><$view field='title'/></$view>~~</$checkbox><br> > {{||childTasks}} > </li> > </$list> > </$list> > </ul> > > > Then if a tiddler is tagged with `Task` and doesn't have a parent field it > will be listed as a root task, if a tiddler has the tag Task and a parent > field it will be listed as a sub-entry of the parent task. > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/4718f6e6-4580-4521-a7aa-d353b9f49d6b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.