Moderators Kyle Posted April 14, 2010 Moderators Report Share Posted April 14, 2010 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. Quote Link to comment Share on other sites More sharing options...
Tom Posted April 14, 2010 Report Share Posted April 14, 2010 Link to contact page: <a href="<? echo url('/contact'); ?>">Contact</a> And the choice of email recipient was brought up a while back and I answered it. Do a quick search. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted April 14, 2010 Moderators Report Share Posted April 14, 2010 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 Quote Link to comment Share on other sites More sharing options...
Tom Posted April 14, 2010 Report Share Posted April 14, 2010 Meh I searched it: http://forum.phpvms.net/topic/1317-request-contact-form-mod/page__view__findpost__p__8116 Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted April 14, 2010 Moderators Report Share Posted April 14, 2010 Meh are you trying to do a goat sorry hope you don't find it offensive. i just found it funny Quote Link to comment Share on other sites More sharing options...
Tom Posted April 14, 2010 Report Share Posted April 14, 2010 Haha no Never seen it like that, but true.. when said as read it sounds like a goat I meant it as: http://www.urbandictionary.com/define.php?term=meh Quote Link to comment Share on other sites More sharing options...
Moderators joeri Posted April 14, 2010 Moderators Report Share Posted April 14, 2010 Haha no Never seen it like that, but true.. when said as read it sounds like a goat I meant it as: http://www.urbandictionary.com/define.php?term=meh yeah i know what you mean. but it sounded funny as i am from belgium and mostly need to read all 2 times so nothing gets lost in translation Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted April 14, 2010 Moderators Report Share Posted April 14, 2010 Give me 5 and i will post the edits and code needed Quote Link to comment Share on other sites More sharing options...
Tom Posted April 14, 2010 Report Share Posted April 14, 2010 Give me 5 and i will post the edits and code needed Meh I searched it: http://forum.phpvms.net/topic/1317-request-contact-form-mod/page__p__8116entry8116 's all there. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted April 14, 2010 Moderators Report Share Posted April 14, 2010 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); i started so ill finish 1 Quote Link to comment Share on other sites More sharing options...
Tom Posted April 14, 2010 Report Share Posted April 14, 2010 Remember, whenever you update core/modules/contact/contact.php will be replaced so the code will need changing again. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted April 14, 2010 Moderators Report Share Posted April 14, 2010 Renamed file already in the folder for such an occurrence Quote Link to comment Share on other sites More sharing options...
Tom Posted April 14, 2010 Report Share Posted April 14, 2010 I was just reminding everyone else who probably don't Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.