User login

Taxonomy

Change the vocabulary of a taxonomy term in Drupal 7 using the database

By clicking the wrong Add terms link, i managed to add a couple terms to the wrong vocabulary.

One of the powerful things about taxonomy is that all terms are really equals under the hood, no matter what vocabulary they belong to. Unfortunately, Drupal does not make this power available through the UI. We can, however,

Vocabulary Per User, New Taxonomy Module in the works by George Cassie

every user has their own vocabulary

so you can show, but disabled-- see what everyone else has been tagging a node with

http://castlin.net/blog/1/2009/03/vocabulary-user

Resolution

Ontology module of SCF early candidate for contribution to Drupal.org

Ontology module in SCF profile's custom modules directory, originally authored by Mark Goetz, is very close to ready to be committed to Drupal.org. It relies on Taxonomy extra (taxonomy_extra) module, originally by Alister Lewis-Bowen, and also in SCF profile's custom modules.

Make the (presently undeclared) dependency on graphbrowser module optional.

Create a similar optional dependency on gene_ontology (or move both these additions of data out of the hack of being added on the theme layer).

Term Fields rejected for SCF

While we prefer to use existing modules rather than create custom ones whenever possible, the specific needs for storing additional Gene Ontology data with Drupal (multiple kinds of relationships between terms) and the functionality of Term Fields module did not match up.

Furthermore, Term Fields:

DrupalConDC Community Supported Agriculture birds of a feather

Community Supported Agriculture
17 people here.

Who is interested in building the tools, and who just in deploying them?

Filter it through recipe suggestions.

Any CSA with capital resources?

About 2,000 CSAs in the U.S. About half, maybe, have web sites. Most do not have interactivity-- many have probably paid a chunk of money on this.

Do most CSAs have work shares? That's a coordination problem for farmers, dealing with these

Me: a distribution versus a site?

A CSA profile is fine with me -- you can deploy as many as you want.

Form User Interface for very large taxonomy trees with multiple select

We have a tricky user interface problem for taxonomy.

We have a very large hierarchical vocabulary, and multiple terms can be selected.

Currently the tree is much too large to reasonably navigate and control-click, control-click the terms one-by-one without a disastrous mistake

As it stands now SCF's project manager would prefer a type-ahead completion like free tagging terms get.

Trying: http://drupal.org/project/hierarchical_select

Displaying taxonomy terms differently according to their vocabulary

This is how one would embed it in a node.tpl.php, but this should all be done in a pre-process function instead.

Bulk taxonomy import term-by-term is just too slow

Struggling with taxonomy import.

After stripping everything out, the conclusion is that taxonomy_save_term, by itself, without even the hooks to add extra data, is simply too slow, with a minimum of three database calls per term. (data, hierarchy, vocabulary)

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1048576 bytes) in /RCS/agaric/agaric-sites/scf/includes/bootstrap.inc on line 836

134,217,728

Increased to 256MB. It ran forever, then returned this:

Snips of TCS import function for Taxonomy XML for future reference

<?php
// commented out below from TCS, possibly of interest
  //  $term = (object) array(
  //    'predicates' => array(),
  //  );
   
//    $term->id = $concept->getAttribute('id');

//    $term->uri = $url;

Syndicate content