Thank you. Thank you. Thank you. Using the correct function signature made all the difference in the world: function agenda_nodeapi <http://api.drupal.org/api/function/hook_nodeapi/5>(&$node, $op, $a3 = NULL, $a4 = NULL) { -ron Jakob Petsovits wrote:
On Tuesday, 18. December 2007, Ron Parker wrote:
The entire code:
function agenda_nodeapi($node, $op, $arg = 0) {
(...)
When you don't take $node as reference parameter, you'll have a hard time changing it. Better copy hook_nodeapi() function signatures from official places like http://api.drupal.org/?q=api/function/hook_nodeapi/5 .
Have fun, Jakob
__________ NOD32 2731 (20071218) Information __________
This message was checked by NOD32 antivirus system. http://www.eset.com
-- Ron Parker Software Creations http://www.scbbs.com Self-Administration Web Site http://saw.scbbs.com SDSS Subscription Mgmt Service http://sdss.scbbs.com Central Ave Dance Ensemble http://www.centralavedance.com R & B Salsa http://www.randbsalsa.com