> One can modify Shulman's SwitchThemePlugin to include this line:
>
> if (!config.options.txtTheme) config.options.txtTheme = "StyleSheet";
>
> I guess I will use that modified plugin with the themes I use.

Please don't modify the base plugins.  Instead, you should add a
companion 'config' tiddler to override or add the desired
functionality.

In this particular instance, you should create a new tiddler called
[[SwitchThemePluginConfig]], containing the desired code.  Tag this
tiddler with 'systemConfig'.  During startup processing, plugins are
invoked in alphanumeric order (by title).  Thus, by using the
"...Config" suffix on your additional code-bearing tiddler, it is
guaranteed to be invoked immediately after the unmodified plugin code.

> The problem lies then with TiddlyThemes which doesn't use a naming
> scheme, but overwrites standard tiddlers (well i guess that's easier
> for a new user).

TiddlyThemes uses a much older approach to defining and switch
themes.  In fact, many of the 'themes' contained there pre-date the
implementation of the theme mechanism.  In addition, some of those
these are so old that they are no longer fully compatible with the
current defaults for TW document page layout or CSS Stylesheets (e.g.
StyleSheetLayout, StyleSheetColors, etc).   You might be better off
just trying to reproduce the look-and-feel of a particular theme,
using current theme definition methods, rather than trying to adapt
the older definitions to the current TW default templates and styles.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

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