On Nov 14, 4:19 am, colmjude <
colmj...@gmail.com> wrote:
> You can also use the ThemedTiddlerPlugin that looks for a theme field
> set on a tiddler.
TaggedTemplateTweak already does this, using a field named
'template' (you can also config the plugin to use a different field
name).
> This is good to use if you want to change the structure of the tiddler
> as well as the style of it.
Indeed... that is precisely what TaggedTemplateTweak does. It allows
you to specify alternative templates (i.e, the tiddler *structure*)
for any tiddler, by using a three-tiered fallback as a *prefix* on
ViewTemplate/EditTemplate: first the tiddler's title is tried, then
the value from a custom 'template' field (if present), and then tag
values (one at a time)
Thus, a tiddler named "TiddlerTitle" can have a unique alternative
*structure* (and styles, of course), simply by creating:
TiddlerTitleViewTemplate
TiddlerTitleEditTemplate
If no corresponding title-specific templates are defined, and the
tiddler has a 'template' field with a value of "FieldValue", then it
will use:
FieldValueViewTemplate
FieldValueEditTemplate
If there is still no matching template(s) found, then each *tag* of
the tiddler is tried, in turn, as a prefix:
TagValueViewTemplate
TagValueEditTemplate
for more details, see:
http://www.TiddlyTools.com/#TaggedTemplateTweak
http://www.TiddlyTools.com/#TaggedTemplateTweakInfo
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios