Full disclosure; I'm a complete newbie to Drupal development.
I've been tasked with embedding a contact form in the footer component of our site's template. I've been told to use the Drupal Contact module for this task. The problem is, I don't see how this is possible without dramatically altering the contact module itself. Is there any way to embed the Drupal Contact Module's form in a template; rather than have it as a standalone page? Any constructive input is greatly appreciated.
I'd also be open to any other way of embedding a form directly in a Drupal template.
Thanks, Frank
You should be able to accomplish that by adding the following code into your theme's template.php file:
Then in your page template file(s) you can output it with the following code snippet:
Don't forget to replace 'mytheme' with your actual theme's name and clear the caches.