Posted by dragon2000 on July 16, 2009 at 6:21am
Hi,
I want to change the contact module by adding some fields to it (for example: City,
,Postal Code,Phone,Fax)
Is that better to do this by hook_form_alter or writing a new version of the module and putting
it in the "sites\all\modules" directory?
thanks in advance.
Comments
hook_form_alter is best, but
hook_form_alter is best, but you would still need to create/txtend a db table to hold the new data
Perhaps the webform module might do what youre looking for?
http://drupal.org/project/webform
thanks, you said
thanks,
you said hook_form_alter is best.
how should I use that? shall I write another module named "advanced contact" to add additional fields to contact module or do sth else?
the web form module worked in
the web form module worked in my case.. thnx!!