BTW, here's my content of tiddler zzTweak:

if(config.options.txtUserName != "admin") {
    config.options.chkSinglePageMode = true;
    config.options.chkShowRightSidebar = false;
    readOnly = true;
    showBackstage = false;
}

Septimus



On Fri, Oct 30, 2009 at 7:32 PM, Eric Winter <[email protected]>wrote:

> Hi Shavinder,
>
> Good suggestion, well done!
>
> First of all, yes, I have tiddler zzTweak preperly tagged "systemConfig".
>
> I took a look with Firebug and found that when I am logged in as user
> "admin",
> config.options.chkShowRightSidebar is TRUE.
>
> When I change the username to another user and reload the page, the value
> of config.options.chkShowRightSidebar changes to NULL.
>
> When I re-enter "config.options.chkShowRightSidebar" in Firebug's
> expression
> watchbox, it's value changes to FALSE.
>
> So, config.options.chkShowRightSidebar appears to behave as expected.
> I don't know what to make of the intermediate transition to NULL.
>
> Do you?
> Septimus
>
>
>
>
> On Fri, Oct 30, 2009 at 6:53 PM, shavinder <[email protected]>wrote:
>
>>
>> Did you confirm that zzTweak tiddler has a systemConfig tag?
>> Is it being loaded during startup?
>> if you have firebug you could check the value of the
>> config.options.chkShowRightSidebar by entering it on the firebug
>> console and pressing enter. If you dont use FF I think you could
>> import jash from tiddlytools and do the same check.
>>
>> -shavinder
>>
>> On Oct 30, 9:34 pm, Septimus <[email protected]> wrote:
>> > Hi people!
>> >
>> > I like the RightSidebar to be hidden by default, and only show if I,
>> > myself and me, log in.
>> > This should be easily configured and is explained herehttp://
>> tiddlywiki.org/wiki/How_To/Setting_Up_TiddlyWiki_As_a_Website
>> > under heading "Hide right side bar".
>> >
>> > I followed the instructions to the letter, a couple of times even, and
>> > the RightSidebar keeps
>> > on showing by default. That is, it shows up each and every time, no
>> > matter who's logged in.
>> >
>> > I'd like to go over my steps here, and perhaps that someone among you,
>> > see's what the
>> > -beep- I'm doing wrong, okay? Great!
>> > Here's what I did:
>> > -1- install the InlineJavascriptPlugin;
>> > -2- install the ToggleRightSidebar macro;
>> > -3- add tyhe following line to tiddler zzTweak:
>> >
>> > config.options.chkShowRightSidebar=false;
>> >
>> > -4- save the page and reload.
>> >
>> > I checked PluginManager if the plugin is installed and it is.
>> >
>> > Anyone any suggestions to what might be wrong?
>> >
>> > Thanks!
>> > Septimus
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to