> But you’re already inside the core’s ViewTemplate, so you can’t transclude
> it again with the same currentTiddler without creating the recursion.
> You’re modifying the view template to include a bunch of tabs, and then one
> of those tabs is transcluding the same view template.
>
Yes, I know, that's the problem.
> The only way out is to detect the recursion and render something else
> instead.
>
I have a mechanism to detect the recursion:
<!-- This template should be used with the tabs macro -->
<$list filter="[is[current]!field:title<currentTab>]">
<$tiddler tiddler=<<currentTab>>>
<$transclude tiddler="$:/core/ui/ViewTemplate"/>
</$tiddler>
</$list>
but I don't know how to guarantee to show the same thing the view template
would do without using the view template.
>
> Perhaps you could show a mockup of what you’re trying to achieve?
>
Of course, here it is an screenshot opened on the tab that works
<https://lh3.googleusercontent.com/-SH2U3sJP7nA/V8XHwk39c7I/AAAAAAAATCo/UUodSdjfggsN-NYW6hwBhVSWMrAPGIhxQCLcB/s1600/Captura%2Bde%2Bpantalla%2B2016-08-30%2Ba%2Blas%2B19.50.07.png>
Regards
--
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/1c41cd92-cb15-4042-a0e2-5f50dba040a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.