I use Drupal 5.1 @ FreeHostia. Recently started. Despite the tough fight with understanding how it works, I am really unable to figure out how do I add to Contact forms.

1. Contact US in the menu should link to general contact form, like it does now.. on navigation
2. What I cannot configure is this -> another contact form which I can keep for Authenticated / logged in users to contact me.. is there a way I can do this? If I put a PHP contact page and give access level to Authenticated users ..is it right ?

I have also put this in formus Home » Forum » Support » Module development but no reply yet....
http://drupal.org/node/219967

I searched the forums but unable to get the answer.
Someone please guide me.

Pls guide me

Comments

kylehase’s picture

Let me see if I understand.

  1. You want a site-wide contact form for anyone to use
  2. You want authenticated users to be able to contact you. I'm assuming that this goes to a different address than the site-wide contact form

The easiest way is to enable your personal contact form in your account/edit page. You'd then create a navigation link pointing to 'user/-yourname or number-/contact'. Depending on your navigation block permissions, anonymous users may be able to see this link. Alternately you could use a php snippet in the theme page.tpl.php that looks something like:

<?php global $user;
if ($user->uid){?>
<ul class="links secondary-links">
<li> <a href="/user/-yourname or number-/contact">contact me</a></li>
</ul>
<?php}
ainigma32’s picture

Status: Active » Fixed

Guidance was provided ;-)

Setting this to fixed.

- Arie

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.