david thompson Posted July 27, 2010 Report Share Posted July 27, 2010 Hi, How do you edit the contact us page so the user can decide who to send it to e.g CEO or VCEO and so on. Regards Quote Link to comment Share on other sites More sharing options...
Jeff Posted July 27, 2010 Report Share Posted July 27, 2010 You can use a custom made one like I did. Have a look http://www.oneworldvs.net/index.php/pages/contactus Quote Link to comment Share on other sites More sharing options...
david thompson Posted July 27, 2010 Author Report Share Posted July 27, 2010 How do I get it like hey can select send to, human resources, CEO etc Quote Link to comment Share on other sites More sharing options...
Jeff Posted July 27, 2010 Report Share Posted July 27, 2010 Not sure about that one, why don't you try installing the AirMail Module Quote Link to comment Share on other sites More sharing options...
david thompson Posted July 27, 2010 Author Report Share Posted July 27, 2010 I have that and im talking about like this under to whom http://www.easyjetva.com/index.php/contact regards Quote Link to comment Share on other sites More sharing options...
Jeff Posted July 27, 2010 Report Share Posted July 27, 2010 Maybe a question to ask Mark, since that is his site. Quote Link to comment Share on other sites More sharing options...
TennShadow Posted July 27, 2010 Report Share Posted July 27, 2010 Hi, How do you edit the contact us page so the user can decide who to send it to e.g CEO or VCEO and so on. Regards The answer is in the below forum. http://forum.phpvms.net/topic/1317-request-contact-form-mod/ Quote Link to comment Share on other sites More sharing options...
david thompson Posted July 27, 2010 Author Report Share Posted July 27, 2010 Ok, added but I get this error... when someone sends This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: ceo@bmibaby-virtual.net No Such User Here regards Quote Link to comment Share on other sites More sharing options...
TennShadow Posted July 27, 2010 Report Share Posted July 27, 2010 Ok, added but I get this error... when someone sends This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: ceo@bmibaby-virtual.net No Such User Here regards That looks like a bounce detection. Make sure the email address is valid and spelled correctly. I have that running on my site with no issues. Quote Link to comment Share on other sites More sharing options...
david thompson Posted July 27, 2010 Author Report Share Posted July 27, 2010 Yes correct as displayed here .... ceo@bmibaby-virtual.net | Manage this domain | Settings | Help | Sign out Quote Link to comment Share on other sites More sharing options...
TennShadow Posted July 27, 2010 Report Share Posted July 27, 2010 Yes correct as displayed here .... ceo@bmibaby-virtual.net | Manage this domain | Settings | Help | Sign out Post the code that you have from contact_form.tpl that pertains to the e-mail. Quote Link to comment Share on other sites More sharing options...
david thompson Posted July 27, 2010 Author Report Share Posted July 27, 2010 <h3>Contact Us</h3> <form method="post" action="<?php echo url('/contact'); ?>"> <table width='100%' border='0'> <tr> <td><strong>Name:</strong></td> <td> <?php if(Auth::LoggedIn()) { echo Auth::$userinfo->firstname .' '.Auth::$userinfo->lastname; echo '<input type="hidden" name="name" value="'.Auth::$userinfo->firstname .' '.Auth::$userinfo->lastname.'" />'; } else { ?> <input type="text" name="name" value="" /> <?php } ?> </td> </tr> <tr> <td width="1%" nowrap><strong>E-Mail Address:</strong></td> <td> <?php if(Auth::LoggedIn()) { echo Auth::$userinfo->email; echo '<input type="hidden" name="name" value="'.Auth::$userinfo->email.'" />'; } else { ?> <input type="text" name="email" value="" /> <?php } ?> </td> </tr> <tr> <td><strong>Subject: </strong></td> <td><input type="text" name="subject" value="<?php echo $_POST['subject'];?>" /></td> </tr> <tr> <td><strong>Recipient:</strong></td> <td><select name="recipient"> <option value="ceo@bmibaby-virtual.net">David Thompson - CEO</option> <option value="vceo@bmibaby-virtual.net">Kris Thomson - Vice CEO</option> </select></td> </tr> <tr> <td><strong>Message:</strong></td> <td> <textarea name="message" cols='45' rows='5'><?php echo $_POST['message'];?></textarea> </td> </tr> <tr> <td width="1%" nowrap><strong>Security</strong></td> <td> <?php echo recaptcha_get_html(Config::Get('RECAPTCHA_PUBLIC_KEY'), $captcha_error); ?> </td> </tr> <tr> <td> <input type="hidden" name="loggedin" value="<?php echo (Auth::LoggedIn())?'true':'false'?>" /> </td> <td> <input type="submit" name="submit" value='Send Message'> </td> </tr> </table> </form> Quote Link to comment Share on other sites More sharing options...
TennShadow Posted July 27, 2010 Report Share Posted July 27, 2010 Change <select name="recipient"> to <select name="recipient" id="recipient"> If that doesn't work then I'm not to sure what you problem could be. 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.