Reputation: 165
I'm building a site and it has a contact page . the contact page uses contact module and it has some basic forms , what I want is to add some simple text like my personal email and phone number and ... to this page , but I couldn't find a way to do it . I'll be appreciated if you can help me with this thanks
//--------------------------------------------------
finally found the answer! I made a file named "page--contact.tpl.php" and from there after
<?php print $feed_icons; ?>
I just wrote whatever information I wanted and it worked!
Upvotes: 3
Views: 6919
Reputation: 226
You can also create a block, add it above or below the form, then add your information to it. Simplest solution if you all you need is an area to add some details.
Upvotes: 4
Reputation: 2458
My suggestion ditch the contact form and go for Webforms You will thank me in the long run.
Upvotes: 4
Reputation: 6891
You can implement hook_form_alter() and then you can do whatever you want with the contact form.
See http://www.lullabot.com/articles/modifying-forms-drupal-5-and-6 and http://www.metaltoad.com/blog/how-add-field-drupal-contact-form
Upvotes: 1