Cannot join two fields from my table to one base table
I've created a module with a table that has the following fields
+------------+------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------+------------------+------+-----+---------+-------+
| type | varchar(128) | NO | PRI | | |
| tid_group | int(10) unsigned | NO | PRI | 0 | |
| tid | int(10) unsigned | NO | PRI | 0 | |
| node_count | int(10) unsigned | NO | | 0 | |
+------------+------------------+------+-----+---------+-------+
node_example.views.inc
While learning to build Drupal (vers 6) modules and learning to use Views (vers 2) I have created a node_example.views.inc file which gives views access to the node_example table.
node_example.module is one of the main demonstration programs used within Drupal api documentation for teaching people to create modules. node_example.module demonstrates how to create a module that provides a new node type. It adds a new table to the database. The new table contains a color, a quantity, nid and vid.
Read more