Community

contact form block to node creator personal email

Just want the code for user contact form instead of site wide - ?

<?php
if(!function_exists('contact_site_page')) {
  require_once
drupal_get_path('module', 'contact') .'/contact.pages.inc';
  print
drupal_render(drupal_get_form('contact_site_form'));
}
?>

contact_personal_form but what argument do you use to direct it to personal user who created node?

Comments

or like this guy asks

=-=

the code given is a custom module intended to hook_form_alter the webform.module. more information about what the fatal error was, what logs say and how you set it up would be of benefit.

however, based on what you seem to be after, I suggest module like: http://drupal.org/project/privatemsg

excellent

excellent, excellent VM- thanks!

nobody click here