Closed (works as designed)
Project:
Node Comments
Version:
6.x-2.0-beta5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2011 at 17:17 UTC
Updated:
2 Mar 2011 at 20:23 UTC
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
Comment #1
semperos commentedCorrection to above: "against a $form_id of [name_of_content_type]_node_form"
Comment #2
semperos commentedNot 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.