Add drop-down selector to choose recipient of email

See Simon's forum post, which adds this functionality and allows for multiple addresses per option.

Choices and email addresses are specified in the tag call. If only one email address is specified (like an unmodified tag), then the pull-down options are not displayed in the form.


How to change title for various situations?

Cyberman solved it:

1. Open function.contact_form.php with your favourite editor 2. Add after line 24

Code:

   $ctitle = array("Contact Form Error", "Contact email sent");


3. Add after line 88

Code:

   $smarty->assign_by_ref('contacttitle', $ctitle[0]);


4. Add after line 91

Code:

   $smarty->assign_by_ref('contacttitle', $ctitle[1]);


5. Create a copy of your current template and go to edit mode

6. Add directly after <head>

Code:

{content assign='contactcheck'}


7. Change

Code:

<title>{title}</title>


to

Code:

<title>{if $contacttitle != }{$contacttitle}{else}{title}{/if}</title>


8. Attach this template to your contact form page

9. Have fun ;-)

Contact form

From CMSMS

Arvixe - A CMSMS Partner