I'm trying to make form changes to a nodecomment form. The nodecomment form appears below nodes for which it is designated as a comment node. I can't get hook_form_alter to respond at all.

When I try to hook into the form using a hook_form_alter and checking against a $form_id of _node_form, nothing gets called in my code. I tried simply logging a message with watchdog or printing something via Devel's dsm(), but nothing is getting called.

Are there any special considerations when trying to use hook_form_alter with nodecomments? Any known issues?

Comments

semperos’s picture

Correction to above: "against a $form_id of [name_of_content_type]_node_form"

semperos’s picture

Status: Active » Closed (works as designed)

Not that it should be surprising, but other issues were at work, nothing wrong with Nodecomment. Nodecomment continues to be a wonderful addition to the Drupal ecosystem; thanks for all of your hard work.