On Apr 21, 11:34 am, Eric Shulman <[email protected]> wrote: > You can force use of the intended template even if the tiddler doesn't > exist (and thus has no tags). Just indicate the template directly in > the <<newTiddler>> macro: > <<newTiddler .... template:demoEditTemplate>>
Thanks Eric for an elegant solution. Also thanks for telling me how shadow tiddlers work, i.e. I was trying to get rid a shadow tiddler I was recreating all the while :-) Morris On Apr 21, 11:34 am, Eric Shulman <[email protected]> wrote: > > However if ADemoEquation tiddler doesn't already exist then upon > > rendering the new tiddler does open in edit mode but doesn't use > > demoEditTemplate to display it. You must click done and then edit to > > get it to display using demoEditTemplate. > > Therefore I suspect I can't achieve what I wanted. > > You can force use of the intended template even if the tiddler doesn't > exist (and thus has no tags). Just indicate the template directly in > the <<newTiddler>> macro: > <<newTiddler .... template:demoEditTemplate>> > > > Since a shadow > > tiddler is redundant in this case, can someone tell me how to remove a > > shadow tiddler that has been created? > > Shadow tiddlers are always created 'on-the-fly' via javascript code. > Thus, somewhere in a plugin you have something like > config.shadowTiddlers.ADemoEquation="..."; > If you simply omit this code, and then save-and-reload, the shadow > tiddler will no longer be created at startup. > > -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 -~----------~----~----~----~------~----~------~--~---

