Hi Jeremy,

Thanks for answering.

On Tuesday, October 22, 2013 11:17:53 PM UTC+2, Jeremy Ruston wrote:
>
> Hi Ton
>
> Great to see you at the Hangout earlier. There's a few things going on 
> here:
>
> 1) As you note, the Read Only theme misnames one of its payload tiddlers. 
> I'll fix that shortly
>
> 2) Some of your toolbar button tiddlers, like 
> $:/Top-toggle-sidebar-button, wrap their buttons in <$reveal> widgets like 
> this that restrict their content to only being visible when a particular 
> theme is selected: 
>
> <$reveal state="$:/theme" type="match" 
> text="$:/themes/tiddlywiki/snowwhite">
>
> In your case, there's no <$reveal> widget corresponding to the Read Only 
> theme, and so no button appears.
>
> Does that help?
>

Yes, it does but. I see my implementation only worked in a "two themes 
environment", but with more than two themes you have to "remember" the 
theme you came from before switching.
Ideally there also ought to be a "readonly" Hidden sidebar theme besides 
the "normal" Hidden sidebar theme, both based on the theme used.
May be I can accomplish "remembering the theme" and a "readonly" Hidden 
sidebar theme in the future.
As a quick fix I will use:

<$reveal state="$:/theme" type="nomatch" 
text="$:/themes/tiddlywiki/hidden-sidebar">

In this way I can switch between SnowWhite and Hidden sidebar.

Cheers,

Ton

Best wishes

Jeremy


>
> On Tue, Oct 22, 2013 at 9:07 PM, Ton Gerner <[email protected]<javascript:>
> > wrote:
>
>> @Jeremy
>>
>> One addition:
>>
>> If there is only one button defined in the ReadOnly theme (no matter 
>> which one), the sidebar button disappears.
>>
>> Cheers,
>>
>> Ton
>>
>>  -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>  

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to