I'm trying to modify the Contact Us page and build some logic into the options available to our users. The logic is simply going to change the destination email address. I *think* I'm doing this right, but here's my method, thus far:
- Setup replacement variables for my email addresses in the admin cp.
- Need to write a bit of PHP and tie it to hook 'sendmessage_contactus_option'
- write PHP and apply it to hook 'sendmessage_docontactus_complete' to overwrite the $destemail variable before the mail goes out the door
Does this seem correct to begin?