While attempting to customize node forms on a nodeprofile, I discovered that for some reason, phptemplate_node_form would not fire. After pulling out what's left of my hair all day, I found a note about something similar happening with the diff and date modules a while back.
Basically, in nodeprofile_privacy.module's hook_form_alter call, it sets the #theme attribute of the form, and apparently, that confuses other modules trying to alter the form.
Around line 160, there's a line:
$form['#theme']='nodeprofile_privacy_user_form';
When I commented this out, phptemplate_node_form was able to fire normally once again.
Comments
Comment #1
Coyote commentedAllow me to amend that... it allowed phptemplate_node_form to function... but now the node privacy checkboxes do not get their values saved when you attempt to update the form. They appear, but are not saved.
Comment #2
ben_scott commentedHi Coyote -
Sorry about that - I wasn't aware that adding theme functions like that was an issue. To fix it I've just removed the theming function - it wasn't doing much, and people can still get a handle on theming the form in other ways...
Cheers, Ben
Comment #3
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.