[tw] Re: Tiddlyspot, automatic theme

2009-06-29 Thread wolfgang

Will try as soon I have the time, thanks again.

On 29 Jun., 10:59, FND  wrote:
> > Thanks for the fast reply. Also Opera displays gradients very ugly.
> > Therefore, could one write?: [...]
>
> That looks about right.
> See here for what's 
> available:http://trac.tiddlywiki.org/browser/Trunk/core/js/Config.js?rev=9256#L150
>
> -- F.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: Tiddlyspot, automatic theme

2009-06-29 Thread FND

> Thanks for the fast reply. Also Opera displays gradients very ugly.
> Therefore, could one write?: [...]

That looks about right.
See here for what's available:
http://trac.tiddlywiki.org/browser/Trunk/core/js/Config.js?rev=9256#L150


-- F.

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



[tw] Re: Tiddlyspot, automatic theme

2009-06-29 Thread wolfgang

> You could use write a simple plugin using browser sniffing* - TiddlyWiki
> provides a config.browser object for this:
>  if(config.browser.isIE) {
>  config.options.txtTheme = "legacyBrowsersTheme";
>  } else {
>  config.options.txtTheme = "modernBrowsersTheme";
>  }
>

Thanks for the fast reply. Also Opera displays gradients very ugly.
Therefore, could one write?:

if(config.browser.isIE) {
   config.options.txtTheme = "IEBrowsersTheme";
}
if(config.browser.isOpera) {
   config.options.txtTheme = "OperaBrowsersTheme";
} else {
   config.options.txtTheme = "modernBrowsersTheme";
}
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: Tiddlyspot, automatic theme

2009-06-29 Thread FND

> If one uses a theme which works perfectly nice in Firefox - but which
> would be completely messed up in IE and Opera - is there a way to
> change the theme to a browser specific one at startup, be detecting
> the browser of a visitor to such a online TiddlyWiki?

You could use write a simple plugin using browser sniffing* - TiddlyWiki 
provides a config.browser object for this:
 if(config.browser.isIE) {
 config.options.txtTheme = "legacyBrowsersTheme";
 } else {
 config.options.txtTheme = "modernBrowsersTheme";
 }

However, that's not necessarily 100% reliable.


-- F.


* http://en.wikipedia.org/wiki/Browser_sniffing#Client-side_sniffing

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



[tw] Re: Tiddlyspot, automatic theme

2009-06-29 Thread wolfgang

If one uses a theme which works perfectly nice in Firefox - but which
would be completely messed up in IE and Opera - is there a way to
change the theme to a browser specific one at startup, be detecting
the browser of a visitor to such a online TiddlyWiki?

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



[tw] Re: Tiddlyspot, automatic theme

2009-06-28 Thread Simon Baird
It might be that you have a cookie that is overriding the theme you've set
(I presume?) in MptwUserConfigPlugin. So try clearing your cookies.

On Thu, Jun 25, 2009 at 11:25 PM, Michael Johanson <
michael.j.johan...@gmail.com> wrote:

>
> Hello fellas
>
> I made my TW, implemented all the features I wanted and I decided to
> upload it on tiddlyspot.
> I am using the MPTWtheme tiddly for enabling of certain features but I
> use the Mptwstandardtheme (TW standard looks) and not the
> Mptwroundtheme as layout/theme.
>
> The problem now is that if I log on to my Tiddlyspot site, it
> automatically uses the Mptwroundtheme, and I don't want that.
> Even if I remove the roundtheme it uses it. How do I change the
> default theme so that anyone who enters the site from their computer
> uses the Standardtheme?
>
> If I change to the standard one and save to web, my computer will
> always use it but If I log on with someone elses computer they get the
> roundtheme...
>
>
> http://mptw.tiddlyspot.com/#MptwConfigPlugin%20MptwRoundTheme%20MptwStandardTheme%20MptwTheme%20MptwTrimTheme%20MptwUserConfigPlugin%20[[Note%20about%20customising%20templates]]
>
> I can not link to my site due to the fact that it is private so you'll
> have to help me from the outside.
> >
>


-- 
simon.ba...@gmail.com

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