[development] Trying to understand hook_nodeapi() invocation
sequence from node.module -- updated
Karoly Negyesi
karoly at negyesi.net
Sun Nov 27 01:12:56 UTC 2005
>>> And on a "preview" of the node after editing, I see this:
>>>
>>> nodeapi load 8
node_menu
>>> nodeapi load 8
node_page op'edit'
>>> nodeapi prepare 8
node_object_prepare
>>> nodeapi form 8
node_form()
>>> nodeapi validate 8
drupal_get_form
>>> nodeapi view 8
>>> nodeapi validate 8
These should be reversed, you sure not mixed them? See
node_form_add_preview, _validate is called before viewing.
Regards
NK
More information about the development
mailing list