30 Sep
2006
30 Sep
'06
10:26 p.m.
Dan Ziemecki wrote:
When a node is submitted, it's current status is sent, but not it's previous status. As such, I can not perform actions on newly published nodes, since I can't tell if it's state has changed. Am I correct in my understanding, or is there a hook I'm missing.
Thanks,
true. you could add a hook_nodeapi(submit) which put the old status in a #value form element. then it is available to you at subsequent hooks