Great, I figured out how useful [{!!parent}] can be. Using your example 
above of [{!!parent}], am I correct in assuming there can be only one 
parent?

Joshua

On Friday, December 6, 2013 1:36:40 AM UTC-6, Jeremy Ruston wrote:
>
>
> @Jeremy: Are there any features in TW5 (or in planning) that will support 
>> recursive navigation of parent (and child) tiddlers?
>>
>
> I'm hoping that a fair amount of what's needed is already there. The key 
> to displaying potentially recursive graphs is to use click-to-reveal to 
> expand child nodes, rather than trying to expand the whole tree in one go.
>
> All child tiddlers of the current tiddler (ie tiddlers tagged with the 
> current tiddler):
>
> [is[current]tagged[]
>
> Parent tiddler of the current tiddler (ie tiddler title in the "parent" 
> field):
>
> [{!!parent}]
>
> Best wishes
>
> Jeremy
>  
>
>>
>> Thanks,
>> Jim
>>
>>
>> On Thursday, December 5, 2013 10:05:13 AM UTC-5, Evolena wrote:
>>>
>>> As Joshua said, *IF* you have a strictly arborescent structure of tags 
>>> (no tiddler with 2 or more tags), you may try to replace the content of the 
>>> $:/core/ui/ViewTemplate/tags shadow tiddler by this:
>>>
>>> <div class="tw-tags-wrapper"><$list filter="[is[current]tags[]]">
>>> <$list filter="[is[current]tags[]]"><$list 
>>> filter="[is[current]tags[]]"><$list 
>>> filter="[is[current]tags[]]"><$transclude 
>>> tiddler="$:/core/ui/TagTemplate"/> > </$list><$transclude 
>>> tiddler="$:/core/ui/TagTemplate"/> > </$list><$transclude 
>>> tiddler="$:/core/ui/TagTemplate"/> > </$list><$transclude 
>>> tiddler="$:/core/ui/TagTemplate"/></$list></div>
>>>
>>> This is designed for maximum 3 levels of tags + final tiddler, as for 
>>> your LatvianGambit tiddler.
>>>
>>> It's only a starting idea with my limited knowledge of the filters, it 
>>> can certainly be improved.
>>>
>>> PS. If you want a "tag map" tiddler, you may try :
>>> ! MyTagRoot1
>>> <$list filter="[tag[MyTagRoot1]]">
>>> * <$link to={{!!title}}><$view field="title"/></$link> <$list 
>>> filter="[tag{!!title}]">
>>> * <$link to={{!!title}}><$view field="title"/></$link> <$list 
>>> filter="[tag{!!title}]">
>>> * <$link to={{!!title}}><$view field="title"/></$link>
>>> </$list>
>>> </$list>
>>> </$list>
>>> ! MyTagRoot2
>>> <$list filter="[tag[MyTagRoot2]]">
>>> * <$link to={{!!title}}><$view field="title"/></$link> <$list 
>>> filter="[tag{!!title}]">
>>> * <$link to={{!!title}}><$view field="title"/></$link> <$list 
>>> filter="[tag{!!title}]">
>>> * <$link to={{!!title}}><$view field="title"/></$link>
>>> </$list>
>>> </$list>
>>> </$list>
>>>
>>> Le mercredi 4 décembre 2013 21:23:02 UTC+1, James Weaver a écrit :
>>>>
>>>> I'm using tags to represent a hierarchy, for example each of these are 
>>>> tags:
>>>>
>>>> "games", "board-games", "chess"
>>>>
>>>> In addition, "board-games" is tagged "games", and "chess" is tagged 
>>>> "board-games"
>>>>
>>>> The LatvianGambit tiddler is tagged "chess"
>>>>
>>>> As a result, I'd like the LatvianGambit tiddler to display the 
>>>> following near the top, with each segment of the breadcrumb being a link 
>>>> for navigability to the tiddler that represent the tag:
>>>>
>>>> games -> board-games -> chess
>>>>
>>>> This would seem to require recursion, and I'm not versed enough in the 
>>>> Way of TiddlyWiki5 to figure out how to accomplish that.  Any ideas?
>>>>
>>>> Thanks,
>>>> Jim Weaver
>>>>
>>>>  
>>>>
>>>>
>>>>  -- 
>> 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 <javascript:>.
>> To post to this group, send email to tiddl...@googlegroups.com<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.com <javascript:>
>  

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to