Sudheer ha scritto:
Hello,
First of all I would like to thank this lits for all the support I am receiving.
I am writing my first module. I would appreciate any help with my question.
[...] function loadapp_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL){ switch ($op) { case'submit': // Do operations here break; } }
I don't know the name of this field so my answer is: before "break" insert print_r($node); exit; Ok, the node is not saved but you can see which is the exact name of all node's fields, CCK fields too. Are you sure for submit? Is not "insert" ? Or is better "prepare" ? I haven't here my Drupal Development book so sorry for the possible errors. Hope help. M. -- Michel 'ZioBudda' Morelli michel@ziobudda.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ajaxblog.it MSN: michel@ziobuddalabs.it JABBER: michel@gmail.com