That is very usefull!!
I have no Idea of the difference between {{}} and the transclude widget!
This open a wide range of possibilities to me.
El domingo, 6 de abril de 2014 12:57:06 UTC+2, Jeremy Ruston escribió:
>
> Hi Frd
>
> > So you create Nav2 that transcludes Nav1 :
>
> > {{Nav1}}
>
> > If you put Nav2 after the body, it doesn't work (for me at least).
>
> The reason is that the transclusion of Nav1 resets the current tiddler to
> be "Nav1". The workaround is to transclude Nav1 using the transclude widget
> which
> means that the content is transcluded without changing the current tiddler:
> :
>
> <$transclude tiddler="Nav1"/>
>
> In 5.0.9 you'll be able to transclude Nav1 as a template with `{{||Nav1}}`.
>
> Best wishes
>
> Jeremy.
>
>
>
>
>
>
>
>
>
> On Sun, Apr 6, 2014 at 11:52 AM, FrD <[email protected] <javascript:>>wrote:
>
>> Hi Danielo,
>>
>> I found that in the case of "next" and "previous" links the transclusion
>> doesn't work as smoothly as expected .
>> Say you have Nav1 tiddler :
>>
>>
>> Précédent : <$list
>> filter="[is[current]previous[Livre]]"/> Suivant : <$list
>> filter="[is[current]next[Livre]]"/>
>>
>> You put this tiddler between tags and body in the view template.
>>
>> And you want the same at the bottom.
>> So you create Nav2 that transcludes Nav1 :
>>
>> {{Nav1}}
>>
>> If you put Nav2 after the body, it doesn't work (for me at least).
>>
>> But I noticed that this code works for Nav2 :
>>
>> <$tiddler tiddler=<<currentTiddler>>><$transclude
>> tiddler="Navigation1"/></$tiddler>
>>
>> Looks strange to me ...
>>
>>
>> FrD
>>
>>
>>
>> Le samedi 5 avril 2014 23:55:19 UTC+2, Danielo Rodríguez a écrit :
>>
>>> Really? You have to duplicate it? I think you can have as many
>>> transclusions as you need of the same tiddler.
>>
>> --
>> 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] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Jeremy Ruston
> mailto:[email protected] <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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.