Hi Mike,

> So if I want to tweak something (like the definition of ViewToolbar)
> that is being defined in the [[MPTWTheme]], I would have to edit that
> tiddler.
>
> But if I upgrade the MPTW distribution (per instructions 
> here:http://mptw.tiddlyspot.com/#Download), I will lose any edits I made to
> [[MPTWTheme]]
>

A simple way to avoid having your customized MPTWTheme tiddler not
overwritten with the next update is by renaming it, for example:
MyMptwTheme

> I understand that MPTW comes with a user tiddler (http://
> mptw.tiddlyspot.com/#MptwUserConfigPlugin) where I can put config
> tweaks.  But if I already have a systemConfig tiddler called
> [[zzDefaultOptions]] with my preferred configuration, I could just as
> easily use that.  And probably delete the MPTWUserConfigPlugin...
>

That's right.

> Where could I put the code for ViewToolbar (with your added code) so
> that it over-rides the MPTW definition?  Is that possible?  Can I put
> it in my [[zzDefaultOptions]]?
>

There is indeed a way to simply write a plugin which defines the
shadowed templates - with the disadvantage that you would have to
learn this programming language first - and simply add its code to
your zzDefaultOptions systemConfig tagged tiddler. Therefore it's
probably easier to simply place your definition the usual way either
in the shadowed ToolbarCommands tiddler, and have it transcluded from
your custom MyMPTWTheme tiddler. Or the way MPTWTheme tiddler has the
toolbar commands in the theme tiddler directly.

.. hope that helps you further.

> FWIW, a few months back, I created these samples:
>      http://fnd.lewcid.org/tmp/TiddlyTheming.html

That's interesting, Fred. It's the first time I see a single html line
do theme switching just as well as any of the plugins. And this script
even works with pre jQuerry TiddlyWiki with the only fault, that it
also displays theme tiddler.

Thanks for showing.

Regards..
--~--~---------~--~----~------------~-------~--~----~
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