comment form alter

bdtushar - October 17, 2009 - 13:33

Hi
I want to alter comment subject for specific content type. How can I do that. I want that comment subject will be select list item. How can I do that without developing any module.
Please help me

_

WorldFallz - October 17, 2009 - 15:24

Can't be done without custom code in a module.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

thank u. If I want to make

bdtushar - October 17, 2009 - 17:43

thank u. If I want to make custom module for that then what should I do. I prefer to use comment_subject module for that by changing some code. what Can I do.

_

WorldFallz - October 17, 2009 - 18:29

I wouldn't bother altering another module-- you don't need that much code. Just create a little custom module and use hook_form_alter to change the subject element however you use.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

_

WorldFallz - October 17, 2009 - 15:56

Also please don't post duplicate threads. I've deleted the dupe, thanks.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

 
 

Drupal is a registered trademark of Dries Buytaert.