3 Different Ways
1)So I copy page.tpl.php to page-contact.tpl.php and did changes
2)A different method would be to theme the contact form not the whole page.
function YOURTHEMENAME_theme() {
return array(
'contact_mail_page' => array(
'arguments' => array('form' => $form),
),
);
}functionYOURTHEMENAME_contact_mail_page($form) {
$output = drupal_render($form);
$output .= '
'. t('Text to add to bottom of form') .'
';
return $output;
}
?>
No comments:
Post a Comment