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 *tabs* macro, it save 
> the current tab in a tiddler and it has a optional parameter for actions. 
> Tabs 
> macro documentation <https://tiddlywiki.com/#tabs%20Macro> 
>
> Maybe you can use the action parameter to use an action-setfield 
> <https://tiddlywiki.com/#ActionSetFieldWidget> to change the text of the 
> tiddler *$:/themes/tiddlywiki/vanilla/options/sidebarlayout*  depends on 
> the selected tab with a filtered transclusion 
> <https://tiddlywiki.com/#Transclusion%20in%20WikiText> 
> El lunes, 29 de noviembre de 2021 a las 22:08:22 UTC+1, sc...@sauyet.com 
> escribió:
>
>> I'm building a a documentation TW5 and was hoping to dynamically toggle 
>> the vanilla theme's ` $:/themes/tiddlywiki/vanilla/options/sidebarlayout` 
>> tiddler between `fluid-fixed` and `fixed-fluid` based upon which sidebar 
>> tab is loaded.  Is there a straightforward way to do this?  It looks as 
>> though Actions will let me make the change, but I don't know how to capture 
>> the event.  Is there a simple mechanism.
>>
>> The broader picture is that I have lots of content including large 
>> diagrams and at least one Reveal presentation and much more, much of which 
>> is better shown in a wide story river, but I also want to include 
>> TiddlyMindMap and be able to easily edit and adjust the diagram, which 
>> seems to need a wide sidebar.  I thought that if I could simply change that 
>> tiddler before the new sidebar tab is shown, it would handle this.  But 
>> other suggestions for how to achieve this behavior would be gratefully 
>> accepted.
>>
>> Thanks,
>>
>>   -- Scott
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ead139ef-85fb-4081-b4e4-1adddfce2e9en%40googlegroups.com.

Reply via email to