> >http://www.TiddlyTools.com/#TaggedTemplateTweak
> One thing to note that makes sense but can be confusing if you aren't
> careful is that the first tag on the tiddler that is associated with a
> template is used.
>
> There is AFAICT no way to say that one tag takes precedence other than
> the tag order. So if I have tags slide and content
> and a tiddler is tagged "slide content" the slideViewTemplate will be
> applied and not the contentViewTemplate.

TTT simply uses the tags in the order supplied, and stops when it find
the first match.  Although "slide content" and "content slide" produce
the same set of two tags, the order in which the tags are stored in
the tiddler is different.  Thus, you can use the order of entry in the
tags input field to control which template will be applied.  In
addition, if using tags to specify the template leads to confusion,
you can define a custom field (default name='template') on the tiddler
containing the prefix of the desired template, and TTT will use *that*
template, as long as no tagged template matches are found.

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