Agaric Design Collective

Agaric Wants: to be able to add taxonomy terms en masse by checking off nodes in a list

By Benjamin Melançon
on 28 Sep
6 comments

Description

2009 Update: http://drupal.org/project/taxonomy_multi_edit (this module was around, just didn't find it until now!)
And http://drupal.org/project/views_bulk_operations has been made far more powerful.

The below is very, very out of date.

This would be huge. Huge I tell you. A major addition to the helpful administrative functionality Matthias Hutterer's Taxonomy Manager already gives us.

But it is tricky.

"Does anyone know of a module that lets one add taxonomy terms to nodes in bulk, e.g. from the content node admin page, search results, and/or a view?"

I had to ask that question on #drupal-support, but got no response.

So took this to #drupal:

ben-agaric: Feature request: to be able add taxonomy terms to nodes in bulk, e.g. from the content node admin page, search results, and/or a view.
[10:20am] munga joined the chat room.
[10:20am] ALZ left the chat room. (Read error: 110 (Connection timed out))
[10:20am] ben-agaric: Ideally, drupal's admin/content/node page, search results, and views would be able to have a common output standard
[10:21am] ben-agaric: to which you could choose to attach admin/content/node's mass edit ability.
[10:21am] ben-agaric: Which can already be extended I think.
[10:22am] Dralspire2 joined the chat room.
[10:22am] ben-agaric: That's fantasy for now, but is anyone thinking along those lines, or have any suggestions as to approach for my immediate use case: basic filtering of nodes, and the ability to check them off, and add a taxonomy term to all of them at once ?

The man himself answered:

merlinofchaos: ben-agaric: Yes, we're thinking along those lines for Drupal 7, but that's a year away.

And then I went back to talking to myself:

[10:24am] ben-agaric: Awesome.
[10:26am] ben-agaric: merlinofchaos: So you could add "Update options" to a view of nodes?
ben-agaric: If that case I'll look into extending update options to be able to add taxonomy terms through admin/content/node -- I think this might be difficult in itself, and it may need extending, so I will try to keep up on this integration-- help out on Drupal in head for the first time.

 

There is a module, Taxonomy

There is a module, [[http://drupal.org/project/taxonomy_node_operations|Taxonomy Node Operations]], which will perform batch term assignment the admin/content/node list using the "Update options" dropdown. It does a good job at this, but you can't really tell from the list which nodes really need this treatment. That's how I came across your post, as I was searching for ways to enhance the list with indicators for which nodes lack terms, and to sort the list by terms and vocabs.

Posted by sovietfunk (not verified) on Mon, 2007-11-05 09:19
The discussion below should

The discussion below should have used the above as a starting place!
http://agaricdesign.com/note/irc-discussion-adding-taxonomy-term-all-nod...

Posted by Benjamin Melançon on Sun, 2007-11-11 11:52
Harry Slaughter of DevBee

Harry Slaughter of DevBee and Karim Ratib jump in and provide bulk operations on nodes from a view in Drupal 5.

Posted by Benjamin Melançon on Wed, 2007-12-19 07:52
Agaric's research and thought is not for naught

http://drupal.org/project/taxonomy_node_operations is certainly the way to go for taxonomy issues, and can certainly integrate with views node operations for better searching ability.

But for simple little things that don't have an action yet, it becomes quite easy to make one's own:

Make a Drupal action that can be used with views node operations (disable comments on node exampe).

Posted by Benjamin Melançon on Sun, 2007-12-30 23:35
Add taxonomy orphans terms to a node that invites to post ?

Hello,

Do you know a way to add taxonomy orphans terms to a node that would say "You can add your content to this page" ?

I think it could be interesting to explain people that they can post on the site, as google often sends visitors to orphans tags pages.

Would it be difficult to add the orphans tags to a page inviting people to post ?

Thanks for all your help.

Posted by kay (not verified) on Thu, 2009-07-30 04:14
Nice idea

Hi Kay,

That's a good idea! Agaric will look into making a module for that...

The basic process would be add code -- and this could also be done in a block, and for all taxonomy/term/[tid] pages not just taxonomy/term/[tid] pages that don't result in anything -- with a link to add/node/[nodetype]?tag=[tid] or some similar construction. It may or may not require additional work for the prepopulate module to take such a link and fill in the given taxonomy term in the new node form.

This is conditioned, of course, on users having the permission to post nodes of that type, which may be an issue for anonymous users.

ben, agaric

Posted by Benjamin Melançon on Sat, 2009-08-08 07:46
Post new comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <small> <pre> <strike> <sub> <sup> <kbd> <s>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.