If you like, I could write a simple DeleteTiddlersMacro - that might
work like this:
<<deleteTiddlers [[tiddler title]]>>
You could then integrate that macro into your FET call.
Not sure whether I'll get to look into this today though...
-- F.
Well, I've created this plugin anyway - it was rather easy:
http://fnd.lewcid.org/svn/TiddlyWiki/plugins/DeleteTiddlersMacro.js
(There's an odd bug that I couldn't figure out yet; the confirmation
prompt opens a new browser window/tab.)
Within FET, you could use it like so:
<<forEachTiddler
write '"<<deleteTiddlers [[" + tiddler.title + "]]>\>"'
>>
HTH.
-- F.
Well, you said you wanted a "button next to each listing which
will allow me to delete the tiddlers I want" - and this pretty much does
exactly that (see the FET code in my previous post).
Let me know if you need further assistance.
-- F.
It was a stupid, stupid mistake on my part (I used the HTML target
attribute without considering the consequences).
I've uploaded the fixed version to my repository:
http://fnd.lewcid.org/svn/TiddlyWiki/plugins/DeleteTiddlersMacro.js
> And no browser window openong in FF2.
Odd, it should have done that - except maybe if you have disabled
popups? Anyway, it's nothing to worry about.
> If I want the button to say something like Confirm Delete
> instead of the tiddler name, how do I do that?
I couldn't be bothered to include parameters for those things (yet), so
try this slightly altered version:
http://tiddlywiki.pastebin.com/f34cb54bd
To change the button label, modify the following line to your liking:
label: "delete",
> Here's the link to get my latest with your helpful code in.
> http://members.bbnet.com.au/~kwright/TiddlyLinks.html
> Right click save the todolistdemo.
That's not working I'm afraid. Maybe the file got corrupted somehow?
Either way, glad it works for you.
HTH.
-- F.