Fnd - if you read this: Yet another request for Fnd's DeleteTiddlerMacro:
Don't render deletebutton if document is readOnly - It would be a very nice feature!! Cheers Måns Mårtensson > > On 30 Maj, 15:03, Måns <[email protected]> wrote: > > > > > > > > > Ahh - It seems that Fnd made a macro for us - a long time ago (jan > > 08): > > Pastebin:http://pastebin.com/f34cb54bd > > Thread:http://groups.google.com/group/tiddlywiki/browse_thread/thread/ > > 5afa85b0a8958b78/9771bffcd7f40677?lnk=gst&q=delete > > +tiddler#9771bffcd7f40677 > > > Let's check it out... (Thanks Fnd!!!) > > > Cheers Måns Mårtensson > > > On 30 Maj, 14:53, Måns <[email protected]> wrote: > > > > There's also this statement in a tiddler called MgtdIndexedTags: > > > > TiddlyWiki.prototype.removeTiddler = this.removeTiddlerHijack; > > > > Don't know if or how they relate, however I believe that they depend > > > on eachother - and are different representatives of the same > > > "listhack..." > > > > I would be great if someone who has the skills - could/would create a > > > "listfilter hack" - or a simple transclusion - for us, who can't live > > > without ForeachTiddlerPlugin... :-) > > > > Cheers Måns Mårtensson > > > > On 30 Maj, 14:43, Måns <[email protected]> wrote: > > > > > Hi Dave > > > > > > In mGSD next to each task there is an x that you can click to delete > > > > > the task. I'd like to be able to have something like that show up in a > > > > > foreachtiddler list, to delete the tiddler from the list. > > > > > +1 > > > > I'm also interested in this function... > > > > > I located the code in mGSD in the MgtdTagControls tiddler. > > > > If it could be turned into a transclusion - We could use it in our > > > > fETs : > > > > > deleteTiddler: { > > > > handler: function(place,macroName,params,wikifier,paramString,tiddler) > > > > { > > > > var tiddlerToDelete = params[0]; > > > > if (store.tiddlerExists(tiddlerToDelete)) { > > > > createTiddlyButton(place, '\u00d7', 'Delete tiddler '+tiddlerToDelete, > > > > function(e) { > > > > var deleteIt = true; > > > > if (config.options.chkConfirmDelete) > > > > deleteIt = > > > > confirm(config.commands.deleteTiddler.warning.format([tiddlerToDelete])); > > > > if (deleteIt) { > > > > story.closeTiddler(tiddlerToDelete); > > > > store.removeTiddler(tiddlerToDelete); > > > > > } > > > > return false; > > > > },'deleteTiddlerButton'); > > > > } > > > > } > > > > } > > > > > Cheers Måns Mårtensson -- 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.

