On Mar 16, 4:30 pm, Eric Shulman <elsdes...@gmail.com> wrote: > ------------------------- > Story.prototype.axs_saved_chooseTemplateForTiddler > =Story.prototype.chooseTemplateForTiddler > Story.prototype.chooseTemplateForTiddler = function(title,template) { > // get core template and split into theme and template name > if (!store.getTiddler(title)) > return config.tiddlerTemplates[DEFAULT_EDIT_TEMPLATE]; > else > return > this.axs_saved_chooseTemplateForTiddler.apply(this,arguments);}
oh, and thank you for the elegant hijack. I will try to use this approach more often in my coding. Right now, I'm in a very early stage w/ TW experience, so it has been easier to modify plugins at the appropriate locations to suit my needs. I will put more effort into using these hijacking techniques. regards, axs -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.