<<toc-heading "Games" "
<ol>
<$list filter='[!is[system]tag[Game]]'>
<li><ol><li><$link><$view field='title'/></$link></li></ol></li>
</$list>
</ol>
">>
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
\define toc-heading(caption,body)
<$reveal type="nomatch" state=<<qualify "$:/state/toc/$caption$">> text="show">
<$button set=<<qualify "$:/state/toc/$caption$">> setTo="show" class="btn-invisible">{{$:/core/images/right-arrow}} $caption$
</$button>
</$reveal>
<$reveal type="match" state=<<qualify "$:/state/toc/$caption$">> text="show">
<$button set=<<qualify "$:/state/toc/$caption$">> setTo="hide" class="btn-invisible">{{$:/core/images/down-arrow}} $caption$
</$button>
</$reveal>
<$reveal type="match" state=<<qualify "$:/state/toc/$caption$">> text="show" retain="yes" animate="yes">
$body$
</$reveal>
\end
<<toc-heading "Games" "
<ol>
<$list filter='[!is[system]tag[Game]]'>
<li><ol><li><$link><$view field='title'/></$link></li></ol></li>
</$list>
</ol>
">>
Hope this helps
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/-cLtPJoqG2E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
<li>parent</li><ul><li>child0</li><ul><li>tid0</li></ul><li>child1</li><ul><li>tid1</li></ul><li>child2</li><ul><li>tid2</li></ul><li>child3</li><ul><li>tid0</li>
But this is still no useful for my purposes.It is cool if you have a topic and subtopics, which is nice. But the way I use tiddlywiki I prefer to tag a tiddler with linux and snippets rather than a single tag called linux-snippets.
Let me explain the problem well.I want a toc like this:* Linux** Snippets*** tiddlerAWith the current setup you have to tag snippets as linux, and the third level as snippets. The problem is that there are not only linux snippets but javascript, VBS and so on. What kind of snippet is a snippet tiddler is defined by the other tag. If a tag tiddlerA with linux and snippets i will get
Tag the tiddlerA with snippets and linux and you'r done.
* tiddlerA will be shown if you search for "linux" related content
* tiddlerA will be shown if you search for "snippets" ...
* tiddlerA doesn't loose information if you export it and forget to export related tiddlers.. because snippets will be lost in your setting .....
You only need to take care, that you don't get circular relations.
-mario
I don't understand how is your answer related with the toc. I have those tiddlers already tagged that way, and I find them with no problem. The problem is to organice them in a TOC in an hicherachical way.
If you combine tags and fields, you'd have endless possibilities and complexity :)