adding objects and submit data in a node_form()
hi! i want modify a node_form() function, but, i need to a direct relation between a node and a term in the taxonomy vocabulary, them, i want to add fieldset with a checkbox relation of the terms in the category, now, my question is it, how i add the information in the term_node table when submit the form ?? i hope u understand me. -- ---------------------- Aldo Martinez Selleras Administrador del Nodo CITMATEL GND Camaguey Tel: 32-291661 E-mail: aldo@caonao.cu Linux User #364356
On Fri, Oct 31, 2008 at 1:21 PM, Aldo Martinez Selleras <aldo@caonao.cu>wrote:
hi!
i want modify a node_form() function, but, i need to a direct relation between a node and a term in the taxonomy vocabulary, them, i want to add fieldset with a checkbox relation of the terms in the category, now, my question is it, how i add the information in the term_node table when submit the form ??
i hope u understand me.
Using the hook_taxonomy() ? -- Paolo Mainardi Vice Presidente Assoc.ILDN (http://www.ildn.net) Blog: http://www.mainardipaolo.org
I'm not sure I follow... doesn't taxonomy module already do this for you? If you specifically need to relate a node to a term you can either insert the relationship directly into the term_node table or use taxonomy_node_save(). On Fri, Oct 31, 2008 at 8:21 AM, Aldo Martinez Selleras <aldo@caonao.cu>wrote:
hi!
i want modify a node_form() function, but, i need to a direct relation between a node and a term in the taxonomy vocabulary, them, i want to add fieldset with a checkbox relation of the terms in the category, now, my question is it, how i add the information in the term_node table when submit the form ??
i hope u understand me.
-- ---------------------- Aldo Martinez Selleras Administrador del Nodo CITMATEL GND Camaguey Tel: 32-291661 E-mail: aldo@caonao.cu Linux User #364356
participants (3)
-
Aldo Martinez Selleras -
Darrel O'Pry -
Paolo Mainardi