Parent Directory
|
Revision Log
|
Revision Graph
Module to associate nodes with a given term from a given vocabulary. Node appears at top of taxonomy listing page for these terms.
| 1 | <?php |
| 2 | // $Id $ |
| 3 | |
| 4 | function taxonomynode_install(){ |
| 5 | switch ($GLOBALS['db_type']) { |
| 6 | case 'mysql': |
| 7 | case 'mysqli': |
| 8 | db_query("CREATE TABLE taxonomy_node ( |
| 9 | args varchar(128) NOT NULL default '', |
| 10 | nid int(12) NOT NULL default '0', |
| 11 | PRIMARY KEY (args), |
| 12 | UNIQUE KEY nid (nid) |
| 13 | ) /*!40100 DEFAULT CHARACTER SET utf8 */;"); |
| 14 | |
| 15 | break; |
| 16 | } |
| 17 | drupal_set_message(t('Database tables for Taxonomy Node module have been installed.')); |
| 18 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |