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

Coyote’s picture

Allow 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.

ben_scott’s picture

Status: Active » Fixed

Hi 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

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.