<<tabs "SampleTabOne SampleTabTwo SampleTabThree SampleTabFour" "SampleTabOne" "$:/state/tab1">>
Yeah I needed the tabs in the actual page instead of on the side where the other tabs are.
<<tabs "SampleTabOne SampleTabTwo SampleTabThree SampleTabFour" "SampleTabOne" "$:/state/tab1">>
<$tiddler tiddler=<<currentTab>> >
{{||$:/plugins/tiddlywiki/comments/footer-view-template-segment}}
</$tiddler>
<$tiddler tiddler=<<currentTab>>>
<$set name=state-tiddler value=<<qualify "$:/temp/edit-tab-toggle">> >
<div style="float:left;">
{{||$:/PSaT/show-subTiddler-tabs/button/view-edit-tab-toggle}}
<<new-in-context>>
</div>
<div style="float:right;background-color: #ccffff;">
{{||$:/core/ui/Buttons/edit}} {{||$:/core/ui/Buttons/open-window}}
<$button tooltip="Actions outside the current tab" class="tc-btn-invisible">{{$:/core/images/info-button}}</$button>
</div>
<div style="text-align: center;">{{!!domain}}: //{{!!description}}//</div>
<p style="text-align: center;"> {{!!tab-title}}</p>
<$reveal type="nomatch" state=<<state-tiddler>> text="yes">
<<view-domain>>
Allow edit-fields-list here in view mode (comes with toggle)
</$reveal>
<$reveal type="match" state=<<state-tiddler>> text="yes">
{{||$:/PSaT/show-subTiddler-tabs/button/view-edit-tab-toggle}}
<$transclude tiddler="$:/core/ui/EditTemplate/body/editor"/>
Allow edit fields here in edit mode (needs toggle)
</$reveal>
</$set>
{{||$:/plugins/tiddlywiki/comments/footer-view-template-segment}}
</$tiddler>I expect it is because when the tab is being displayed the currentTiddler value is not correct.
I suggest inserting <<currentTiddler>> and <<currentTab>> in a few places to work out what is happening. Place <hr> below your tabs to show what is tab and what is current Tiddler output.
Test what is happening step by step and you should figure it out. I tested my code and it worked.
Regards
Tony