On Sunday, November 3, 2013 5:39:23 PM UTC-8, anton....@antonaylward.com wrote:
> I came across a reference in > http://tiddlywiki.org/#[[HideWhenPlugin%20Questions]] > > Placing each collection of custom fields in a separate tiddler helps cut >> down on the confusion of having multiple different things going on in your >> ViewTemplate & EditTemplate, as well as making it easier to safe guard >> against accidentally deleting or over writing one of them and losing >> everything. >> > > That sounds interesting. > That note is talking about using separate tiddlers to define sets of custom field *template* definitions. The example that precedes the comment demonstrates: ---------------------- <div macro="showWhen tiddler.tags.contains('Training') || tiddler.title == 'New Training'"> [[TrainingTemplateEdit]] </div> ---------------------- Thus, it is not suggesting "indirect custom fields".... rather, simply a technique that moves the custom field parts of the ViewTemplate or EditTemplate definitions into separate "template fragments" that are then included in the main template by using the [[...]] syntax (in the example, it's wrapped inside a DIV with a "showWhen" macro, so that it will only appear when a given tag ('Training') is present on the tiddler. Note: another way to manage custom templates based on tags (or other criteria) is: http://www.TiddlyTools.com/#TaggedTemplateTweak enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... http://www.TiddlyTools.com/#Donations Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.