Closed (fixed)
Project:
Drupal core
Version:
6.2
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2008 at 12:36 UTC
Updated:
4 Jun 2010 at 19:50 UTC
http://api.drupal.org/api/function/hook_comment/6
According to the above documentation, it still says there is a "form" action in which the "comment form is about to be shown. Modules may add fields to the form at this point."
I have a D5 module using this particular action to add fields to my comment form but this is no longer working in D6. If the way the comment form is rendered has changed and this action is no longer working, shouldn't the documentation be updated with an alternative to the deprecated action?
Comments
Comment #1
eaton commentedhook_form_alter() on the comment form is definitely the way to go. We do need to update the documentation to reflect the change, though.
Comment #2
mr.baileysThis was fixed (http://drupalcode.org/viewvc/drupal/contributions/docs/developer/hooks/c...) a while ago.