> Is there also a way to have 2 themes? One when logged into the space
> and one when logged out?

This is something I have been experimenting with recently and I now
have a different theme for anyone who isn't a member of my space.
You can have a look at it at http://colmbritton.tiddlyspace.com

You'll notice it looks different to most spaces, however when I visit
it and am logged in it has the generic theme so that I can make edits
easily.
To do this you just need to use this code

(function($){
        if(readOnly) {
                config.options.txtTheme = "SampleTheme";
        }
})(jQuery);
Where "SampleTheme" is the name of your theme. (Do you know about
tiddlywiki systemThemes?)

Alternatively, if you want to change the theme for anyone logged into
tiddlyspace you can use code similar to this
(function($){
        if(config.options.txtUserName && config.options.txtUserName !=
"GUEST" ) {
                config.options.txtTheme = "LoggedInTheme";
        }
})(jQuery);
Where "LoggedInTheme" is the name of the theme you want logged in
people to see

Hope that helps

Colm

-- 
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