Hi Mike,

You could wrap your template like so to redefine the value of 
*currentTiddler* variable to be that of *currentTab* while storing the 
tiddler containing the tabs in a variable called *tabsTiddler*, should you 
need it.

title: $:/_my/template/some-tabs

<$vars tabsTiddler=<<currentTiddler>>>
<$set name="currentTiddler" filter="[<currentTab>]" emptyValue=<<
currentTiddler>>>

; tabsTiddler
: <<tabsTiddler>>
; currentTiddler
: <<currentTiddler>>
; currentTab
: <<currentTab>>

</$set>
</$vars>

This should allow you to use your template inside or outside tabs.

Here's a tiddler to test:

title: SomeTabs

<<tabs "foo bar baz" "foo" "$:/state/tabs/some-tabs" template:
"$:/_my/template/some-tabs">>

Best wishes,

Tobias.

-- 
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/c93e90e2-8e74-4a5b-9f9e-9dcecc0edd12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to