Yes, it is possible to create new content types in a custom module which do not use the node API, and therefore do not store any data in the node related tables. You opt out of a lot of the added functionality (e.g. taxonomies) that comes automatically with nodes, unless you write additional code for your module to make those functions available. You will have to write code to handle all of insert, update, search and delete operations on your module's database table. All of this assumes I'm actually answering the question you are asking. I'm not entirely sure on that account. On Tue, Dec 23, 2008 at 10:14 AM, Aldo Martinez Selleras <aldo@caonao.cu> wrote:
before anything, i want to thanks to all people answer me, the last question i did, all it's working, really thks to all of you.
now, i have, i think, a problem, i create a new content type node, its working, but, i don't want to insert data in nodes table, just in the table where save de info of the contents created, its that possible??
the hook_delete dosn't work fine :(
function module_delete(&$node){ db_query("DELETE FROM {module_table} WHERE mid = %d", $node->mid); }
-- ---------------------- Aldo Martinez Selleras Administrador del Nodo CITMATEL GND Camaguey Tel: 32-291661 E-mail: aldo@caonao.cu Linux User #364356