Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
How to delete selected tiddlers from a forEachTiddler list?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
tigger6333  
View profile  
 More options Jan 30 2008, 1:47 am
From: tigger6333 <tigger6...@gmail.com>
Date: Tue, 29 Jan 2008 22:47:29 -0800 (PST)
Local: Wed, Jan 30 2008 1:47 am
Subject: How to delete selected tiddlers from a forEachTiddler list?
If I have a list of tiddlers created by forEachTiddler,
how can I have a check box or button next to each listing which
will allow me to delete the tiddlers I want?

I have been unable to find a plugin or work out some code to do it.

Cheers
Tigger


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Shulman  
View profile  
 More options Jan 30 2008, 3:17 am
From: Eric Shulman <elsdes...@gmail.com>
Date: Wed, 30 Jan 2008 00:17:26 -0800 (PST)
Local: Wed, Jan 30 2008 3:17 am
Subject: Re: How to delete selected tiddlers from a forEachTiddler list?

> If I have a list of tiddlers created by forEachTiddler,
> how can I have a check box or button next to each listing which
> will allow me to delete the tiddlers I want?

While not actually a direct answer to your question...

You can select and delete multiple tiddlers at once, using:
   http://www.TiddlyTools.com/#TiddlerTweakerPlugin

HTH,
-e
Eric Shulman
TiddlyTools / ELS Design Studios


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tigger6333  
View profile  
 More options Jan 30 2008, 3:28 am
From: tigger6333 <tigger6...@gmail.com>
Date: Wed, 30 Jan 2008 00:28:34 -0800 (PST)
Local: Wed, Jan 30 2008 3:28 am
Subject: Re: How to delete selected tiddlers from a forEachTiddler list?
Thanks Eric.
I can't see how that deletes tiddlers, rather manipulates them.
I am looking into deleteAllTagged as a possible solution to my
problem.

Cheers
Tigg

On Jan 30, 5:17 pm, Eric Shulman <elsdes...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Shulman  
View profile  
 More options Jan 30 2008, 3:38 am
From: Eric Shulman <elsdes...@gmail.com>
Date: Wed, 30 Jan 2008 00:38:36 -0800 (PST)
Local: Wed, Jan 30 2008 3:38 am
Subject: Re: How to delete selected tiddlers from a forEachTiddler list?

> I can't see how that deletes tiddlers, rather manipulates them.
> I am looking into deleteAllTagged as a possible solution to my
> problem.

There's a "delete tiddlers" push button right in the Tweaker (in
between the "display tiddlers" and "update tiddlers")...

Select the tiddlers you want to delete (try using the "tags" auto-
select command) ... press the "delete tiddlers" button... confirm the
"are you sure?" warning... the tiddlers are deleted.  QED.

-e


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
FND  
View profile  
 More options Jan 30 2008, 3:42 am
From: FND <Ace_No...@gmx.net>
Date: Wed, 30 Jan 2008 09:42:01 +0100
Local: Wed, Jan 30 2008 3:42 am
Subject: Re: [tw] How to delete selected tiddlers from a forEachTiddler list?

> If I have a list of tiddlers created by forEachTiddler,
> how can I have a check box or button next to each listing which
> will allow me to delete the tiddlers I want?

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tigger6333  
View profile  
 More options Jan 30 2008, 3:58 am
From: tigger6333 <tigger6...@gmail.com>
Date: Wed, 30 Jan 2008 00:58:39 -0800 (PST)
Local: Wed, Jan 30 2008 3:58 am
Subject: Re: How to delete selected tiddlers from a forEachTiddler list?
Nearly got it sorted with deleteAllTaggedPlugin.
Just have to get a refresh to happen after the deletion,
and find out how to control the title of the delete button.

Latest progress is here:
http://members.bbnet.com.au/~kwright/TiddlyLinks.html
You need the toDoList beta link downloaded.

Once again the power of the group is displayed!
Thanks so much for your replies.

Cheers
Tigger

On Jan 30, 5:42 pm, FND <Ace_No...@gmx.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
FND  
View profile  
 More options Jan 30 2008, 4:48 am
From: FND <Ace_No...@gmx.net>
Date: Wed, 30 Jan 2008 10:48:50 +0100
Local: Wed, Jan 30 2008 4:48 am
Subject: Re: [tw] Re: How to delete selected tiddlers from a forEachTiddler list?

> Nearly got it sorted with deleteAllTaggedPlugin.

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tigger6333  
View profile  
 More options Jan 30 2008, 5:03 am
From: tigger6333 <tigger6...@gmail.com>
Date: Wed, 30 Jan 2008 02:03:43 -0800 (PST)
Local: Wed, Jan 30 2008 5:03 am
Subject: Re: How to delete selected tiddlers from a forEachTiddler list?
FND

Thanks!! My novice skills are not sure how I can use it yet, but
I am really grateful for your help.

Cheers
Tigger

On Jan 30, 6:48 pm, FND <Ace_No...@gmx.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
FND  
View profile  
 More options Jan 30 2008, 5:24 am
From: FND <Ace_No...@gmx.net>
Date: Wed, 30 Jan 2008 11:24:56 +0100
Local: Wed, Jan 30 2008 5:24 am
Subject: Re: [tw] Re: How to delete selected tiddlers from a forEachTiddler list?

> My novice skills are not sure how I can use it yet

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tigger6333  
View profile  
 More options Jan 30 2008, 5:38 am
From: tigger6333 <tigger6...@gmail.com>
Date: Wed, 30 Jan 2008 02:38:40 -0800 (PST)
Local: Wed, Jan 30 2008 5:38 am
Subject: Re: How to delete selected tiddlers from a forEachTiddler list?
Yes!! Got it.
And no browser window openong in FF2.
Maybe got something to do with refresh command.

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.

If I want the button to say something like Confirm Delete
instead of the tiddler name, how do I do that?

thanks again FND.
That's terrific!!

Cheers
Tigger

On Jan 30, 7:24 pm, FND <Ace_No...@gmx.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
FND  
View profile  
 More options Jan 30 2008, 5:58 am
From: FND <Ace_No...@gmx.net>
Date: Wed, 30 Jan 2008 11:58:08 +0100
Local: Wed, Jan 30 2008 5:58 am
Subject: Re: [tw] Re: How to delete selected tiddlers from a forEachTiddler list?

> Maybe got something to do with refresh command.

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tigger6333  
View profile  
 More options Jan 30 2008, 6:17 am
From: tigger6333 <tigger6...@gmail.com>
Date: Wed, 30 Jan 2008 03:17:09 -0800 (PST)
Local: Wed, Jan 30 2008 6:17 am
Subject: Re: How to delete selected tiddlers from a forEachTiddler list?
Seem to be having probs uploading. I will persist.

Thanks for the versatility!

Cheers
Tigger

On Jan 30, 7:58 pm, FND <Ace_No...@gmx.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »