[drupal-devel] [task] taxonomy: make node type a separatw table

killes drupal-devel at drupal.org
Tue Jan 18 22:29:59 UTC 2005


 Project:      Drupal
 Version:      cvs
 Component:    taxonomy.module
 Category:     tasks
 Priority:     normal
 Assigned to:  killes at www.drop.org
 Reported by:  killes at www.drop.org
 Updated by:   killes at www.drop.org
 Status:       patch

Yes, I am sure. grep is my friend. To be honest: metatags module uses
it, but that isn't really maintained.
mailhandler lets users add taxo _terms_ by name not vocabs.

killes at www.drop.org



Previous comments:
------------------------------------------------------------------------

April 1, 2004 - 00:33 : killes at www.drop.org

Attachment: http://drupal.org/files/issues/taxo_0.diff (4.7 KB)

I wanted to add caching by a static variable to
taxonomy_get_vocabularies(). While I was doing this, I remembered a
discussion about putting the node types in their own table and
extended
the patch to do this.
A problem is that all selects on the vocabulary table will no longer
contain the node types. Does anybody know of where this might cause
problems? taxonomy_get_vocabularies() will also not return the node
type
if called without parameter. I solved the only problem I found that
was caused by this.

The patch is incomplete, it does not contain update information and
database schemes. It also isn't tested. I'd like to get some feedback
on the implementation.

------------------------------------------------------------------------

August 12, 2004 - 16:40 : killes at www.drop.org

Doesn't apply anymore.

------------------------------------------------------------------------

January 18, 2005 - 21:50 : killes at www.drop.org

Attachment: http://drupal.org/files/issues/taxo_1.diff (9.33 KB)

I've updated the patch, but the upgrade path is still missing.

Related issues:

http://drupal.org/node/15690
http://drupal.org/node/6357
http://drupal.org/node/12542

------------------------------------------------------------------------

January 18, 2005 - 22:48 : killes at www.drop.org

Attachment: http://drupal.org/files/issues/taxo_2.diff (11.11 KB)

Removed static caching, addedupgrade path.



------------------------------------------------------------------------

January 18, 2005 - 23:20 : killes at www.drop.org

Attachment: http://drupal.org/files/issues/taxo_3.diff (11.09 KB)

New version. Removes taxonomy_get_vocab_by_name. Wasn't used.

------------------------------------------------------------------------

January 18, 2005 - 23:23 : tangent

Are you sure no modules use get_vocab_by_name? I know that the
mailhandler module allows specifying a taxonomy by name instead of by
id.

-- 
View: http://drupal.org/node/6847
Edit: http://drupal.org/project/comments/add/6847





More information about the drupal-devel mailing list