Leftandright - Nested Set Taxonomy
This module updates Drupal's taxonomy so that it supports much larger taxonomies. We currently have this running on a demo site which contains a taxonomy with over two million terms.
The module requires a small patch to "taxonomy.module" which is fully backwards compatible, meaning that it will work with, or without leftandright installed. Installation of the module requires the taxonomy.module file to be replaced with the one provided.
The module has been tested with a number of modules which require taxonomy, and found to work with them all. The main function that leftandright replaces is taxonomy_get_tree, resulting in a function which is able to get a tree 1000 terms at a time.
The module should be combined with the Big Autocomplete TAXonomy module, making it possible to edit large taxonomies, and tag content with a large taxonomy, although this isn't a dependency.
Leftandright is not a simple module to install, it currently requires the following:
- A Linux server with "nohup","mysql" and "php" commands in the web server user's path and executable by that user.
- MySQL server (PostgreSQL is not currently supported)
A Drupal database without table prefixes(Fixed in 1.3)
On installation the leftandright module will create the leftandright table, and attempt to build the values for all the taxonomies on your site. This will be done in the background, so installation should be quick, whilst the ability to use the module could take a few minutes (it takes ~5 minutes to build a tree for 2M terms on my fast desktop machine).
The leftandright module is currently used by the following modules:
Development of this module was carried out by Simon Rycroft and funded in part by the EDIT project
