Tobias, I must ask that you forgive my ignorance as I may not be as well versed in tiddlywiki as you are. I have no problem with changing the code in plugins, but I must admit that I'm not sure what code/text from the plugin was removed and what code/text was replaced with the <script label="New Tiddler"> code.
And I do have InlineJavascriptPlugin installed. Plus, I ended up just going ahead with using ContactsFormTemplate except I tweaked it to fit my needs. I just need, if you don't mind, a bit more detailed account of what you did in the TwabPlugin to make the prompt ask for both a title and tag. Thank you for all your help, jen On Sep 1, 4:02 pm, Tobias Beer <[email protected]> wrote: > Hi Jen, > > I have removed whatever twab thingy was in the code before and tested > the following... > > <script label="New Tiddler"> > var allwaysTag="SomeTag"; > var p=prompt("Enter Title|TagA [[Tag B]]","").split('|'); > var title=p[0];if(!title||title=='')return; > vartags=(allwaysTag+' '+p[1]).readBracketedList(); > store.saveTiddler( > title, > title, > "<<tiddler ContactsFormTemplate>><data>{}</data>", > config.options.txtUserName, > new Date(), > tags); > story.displayTiddler(null,title); > </script> > > Since I don't know what it was good for anyways... I have removed > "config.macros.twab.importTags" and replaced it with a variable called > allwaysTag which you could define to your liking. Unlike before, thetagsare > now converted into an array via bracketedList(). Maybe that's > what previously caused problems. > > Assuming that you have InlineJavascriptPlugin installed this should > work for you. Please note, that - if the lines are too long - google > may introduce arbitrary linebreaks which you would have to undo. > > Also, if you wanted to insert Text from a template, you can replace... > "<<tiddler ContactsFormTemplate>><data>{}</data>" > > with... > store.getTiddlerText("MyTemplateTiddler##OrItsSection"), > > Cheers, Tobias. -- 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.

