Thanks Mike, my requirement was a bit different but I've filed away the script you suggested for future use.
Morris Gray http://twhelp.tiddlyspot.com A TiddlyWiki help file for beginners http://twmath.tiddlyspot.com/ quick and easy math equations On Apr 22, 2:50 am, Mike <[email protected]> wrote: > Not sure if this helps . . > .http://groups.google.com/group/TiddlyWikiDev/browse_thread/thread/64b... > > But Eric showed me how to create a tiddler without going into edit > mode . . . > I think I saw something similar in your request above > > Mike > > On Apr 20, 11:25 pm, Morris Gray <[email protected]> wrote: > > > 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 -~----------~----~----~----~------~----~------~--~---

