Erm... I cant get this new sintax to show the tiddlers tags, this one is
showing the "currentTiddler" name in the shape of a tag, not the tag itself
as Jed's suggestion correctly did.
Again, I have tried to find documentation on how to replace the variable
within the trasclusion (Im guessing this code needs to include each tag
name):
{{||$:/core/ui/TagTemplate}}
But couldn't make it.
Jeremy, do you have any suggestion on how to produce the same results as
Jed got, but with "$:/core/ui/TagTemplate" instead?
On Friday, November 11, 2016 at 10:24:50 AM UTC+1, Fidel N wrote:
>
> Thanks for the clarification, it helps a lot.
>
> So the resulting simpler code would be:
>
> <$list filter="[tag<currentTiddler>sort[title]]"><$link > <
> <currentTiddler>></$link>{{||$:/core/ui/TagTemplate}}</$list>
>
> :)
>
> On Friday, November 11, 2016 at 10:05:42 AM UTC+1, Jeremy Ruston wrote:
>>
>> Hi Fidel, Jed,
>>
>> The problem here is that the original code was
>> transcluding $:/core/ui/ViewTemplate/tags. This is the view template
>> segment that renders the entire tags area of a tiddler in view mode. It
>> renders in block mode, so that the segments slot together properly.
>>
>> Instead, you should transclude $:/core/ui/TagTemplate, which is the
>> template for rendering a single tag pill. It renders in inline mode so that
>> tag pills can abut one another. Jed’s use of the “tags” macro is a wrapper
>> around $:/core/ui/TagTemplate.
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>>
>> On 11 Nov 2016, at 08:51, Fidel N <[email protected]> wrote:
>>
>> Wow thank you so much!!
>> What Im finding hard to swallow is that I cant reach to those
>> conclussions by myself or reading manuals or TW documentation, and I oftend
>> have no other option but come here and ask...
>> Good thing you guys give a very nice (and fast) support :)
>> Thanks again Jed
>>
>> On Friday, November 11, 2016 at 9:43:59 AM UTC+1, Jed Carty wrote:
>>>
>>> That is weird. I haven't found what is causing the problem, but this
>>> seems to fix it:
>>>
>>> <$list filter="[tag<currentTiddler>sort[title]]"><$link to=<
>>> <currentTiddler>>><$view field='title'/></$link> <$macrocall $name=tag
>>> tag={{!!title}}/></$list>
>>>
>>>
>>>
>> --
>> 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/aee9b056-8c4d-429f-8902-8d3e0eecf72a%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/tiddlywiki/aee9b056-8c4d-429f-8902-8d3e0eecf72a%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
--
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/3957ca36-368a-4ca8-800e-a79b48c1f77c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.