I've installed the module but I can't figure out how to use it.
When a user clicks the 'contact' link on a node page I would like to send the page title and another cck field in the URL to fill out the 'subject' field on the contact form. How do I do this?
Thanks

Comments

behindthepage’s picture

Make sure you are using the Contact Forms module. I get many issues created for the core contact module and other contact related modules.

Are you using a module to create the link on the node? If so disable it and create the link on the page by editing the node template and build the link in the format of 'contact/{category}/Title-CCK field'.

Something like this

print l('Contact',  'contact/{category}/' . $node->title . ' - ' . $node->cck_field_name['und'][0]['value'])

http://api.drupal.org/api/drupal/includes!common.inc/function/l/7

Hope that helps.
Regards
Geoff

behindthepage’s picture

Status: Active » Closed (fixed)