Taxonomy

Dropbox functionality (of the kind wanted for Related Content) already implemented

"chx has a dropbox module in CVS, which'd provide a 'clipboard' for putting stuff into, for operations to be taken on later." (catch comment on Taxonomy improvements thread)


Ask Agaric: Drupal for Artists

This question came from a fellow couchsurfer.

We are dedicating our selfs almost all summer to learn drupal and make a website for artists.

There are some basic things we still don't understand:


Agaric asks itself: help. views arguments? Taxonomy, nodes, and context

The Question: How to use arguments to make a block view show content associated with pages

ok


Original Edit Term module project page text

Current text and project: http://www.drupal.org/project/edit_term

Edit term provides a block on taxonomy listing pages with links to edit taxonomy terms .


Save the Nodes: preserving old d.o docs by flagging it as deprecated

On the last hours of the coding sprint following the amazing Drupal conference, I accosted Steven Peck and asked in person about (one of my many) pet issues: that documentation (or any non-spam node) not be deleted from Drupal.org. Assorted drupallers wandering around MIT agreed with this in principal, but also agreed with Steven that old content referring to unsupported versions of Drupal would have to be very clearly flagged.

Enter the Term message module, which Agaric Design Collective hopes can address this problem.

Right now it uses the Drupal message system and I would like feedback on whether to use that, or blocks, or Drupal hook_help before working on theming.

I'm on the go all weekend and apologize for the hasty work, but this is quite important to me and I would even hope that it become official policy during and for Drupal.org redesign to only archive and deprecate content, never delete and break links.

Save the nodes!


Drupal new taxonomy terms not appearing as option for old content

Did you add a taxonomy term to a vocabulary and it's just not showing up on existing content, contrary to all known laws of Drupal taxonomy?

Are you also using localization (l10n) / internationalization (i18n) such that your vocabularies and (even if you don't know it) terms can declare a language?


Taxonomy_term_count_nodes gives stupid results when child terms have same nodes

The Drupal core function in taxonomy.module, taxonomy_term_count_nodes, has no check in it to remove duplicate nodes, which can happen in situations where a nodde belongs to both a child and a parent.


Copy (or inherit) taxonomy terms from one node to another

function wsf_action_copy_terms($from_nid, $to_nid, $avoid_race = FALSE) {
// agaric-ben @TODO optimize;
// see http://agaricdesign.com/note/copy-taxonomy-terms-from-one-node-another
  if ($avoid_race) {
    // avoid pseudo race condition from taxonomy_node_get_terms static variable
    $result = db_query('SELECT tid FROM {term_node} WHERE nid = %d', $from_nid);    

White Screen of Death due to taxonomy parent-child infinite loop

The site stopped showing. Nothing.

What I should have done first:

tail -f /var/log/apache2/error.log

0 stedile:~# apache2ctl restart

0 stedile:~# /etc/init.d/mysql restart

Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld . . . . ..
Checking for corrupt, not cleanly closed and upgrade needing tables..


Avoiding loopy merges when cleaning up Place vocabularies with Taxonomy Manager

The key to preventing infinite loops in a Place vocabulary, which can be introduced while cleaning it up via Taxonomy Manager, is not to assume that just because something has the name of a country that it is a country.

Users have on occasion mistakenly put a town name in the country field and a country in the town field.