Jump to content

What is the code for the nav?


Kyle

Recommended Posts

  • Moderators

Hi, I'm looking for a link to contact us page but i don't know what is the codes for the navagation.

Also i want to add one feild that so someone can chose to selece to contact to who like IT/Human Res./Support.

Link to comment
Share on other sites

  • Moderators

Hi, the code is here somewhere, im at work at the moment and cant look but its on here somewhere as i done it the other day on my site.

You just need to modify the contact.tpl and the contact.php in the core modules if i remember right.

Its a real easy mod to do just finding the post seems to be the hard bit :lol:

Link to comment
Share on other sites

  • Moderators

contact_form.tpl

Add this where you want the dropdown,

<td><strong>To whom:</strong></td>
<td><select name="recipient">
<option value="your email" selected="selected">Please select</option>
<option value="your email">Flight Operations</option>
<option value="your email">IT Support</option>
<option value="your email">Human Resources</option>
<option value="your email">Events</option>
<option value="your email">CEO</option>
   </select>
</td>

Edit,

core/modules/contact/contact.php

Find this

Util::SendEmail(ADMIN_EMAIL, $subject, $message);

Replace with this,

Util::SendEmail($this->post->recipient, $subject, $message);

:lol: i started so ill finish :lol:

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...