[tw5] Re: Changing tiddler on switch of sidebar tab

2021-12-09 Thread Scott Sauyet
Thank you for your time and your suggestions. I think this seems to be beyond my beginner's knowledge level on TW.I am using the TW for a presentation next week and need to spend more time on the content. I hope to get back to this to figure it out sometime soon, because I would still

[tw5] Re: Changing tiddler on switch of sidebar tab

2021-12-09 Thread Álvaro
In the macrocall widget you have to use the params of the macro. It would be *action=X* , where X is the your action-setfield widget, but I don't know if we can use the widget directly inside the triple doble quotes """ or we need create a macro for

[tw5] Re: Changing tiddler on switch of sidebar tab

2021-12-08 Thread Scott Sauyet
I guess I have the syntax wrong. This isn't working: <$macrocall $name="tabs" tabsList="[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]" default={{$:/config/DefaultSidebarTab}} state="$:/state/tab/sidebar" class="tc-sidebar-tabs-main"

[tw5] Re: Changing tiddler on switch of sidebar tab

2021-12-06 Thread Scott Sauyet
Thank you very much. I won't get back to this until midweek, but it does look as though it will work. Cheer, -- Scott On Saturday, December 4, 2021 at 12:21:30 PM UTC-5 Álvaro wrote: > The conditional would be something like > *{{{ >

[tw5] Re: Changing tiddler on switch of sidebar tab

2021-12-04 Thread Álvaro
The conditional would be something like *{{{ [[$:/state/tab/sidebar--595412856]get[text]match[$:/core/ui/SideBar/Open]then[fluid-fixed]else[fixed-fluid]] }}}* You can create a tiddler with the above filtered transclusion and then you can view how the text changes depend on of current tab in

[tw5] Re: Changing tiddler on switch of sidebar tab

2021-12-03 Thread Scott Sauyet
That looks like it might work. I still have to figure out the conditional logic, but that should be doable. Thank you very much, Álvaro! On Friday, December 3, 2021 at 7:50:55 AM UTC-5 Álvaro wrote: > > I don't know if I understand you. > > In *$:/core/ui/SideBarSegments/tabs* you have the

[tw5] Re: Changing tiddler on switch of sidebar tab

2021-12-03 Thread Álvaro
I don't know if I understand you. In *$:/core/ui/SideBarSegments/tabs* you have the *tabs* macro, it save the current tab in a tiddler and it has a optional parameter for actions. Tabs macro documentation Maybe you can use the action parameter to use an