Contact form multiple subjects

A forum with Tips, tricks and small tutorials.

Moderators: mcsmom, unixboymd

Forum rules
Post Reply
holsum
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Oct 04, 2005 9:30 pm

Contact form multiple subjects

Post by holsum » Sun Feb 26, 2006 8:50 am

I want to know if there are any modules that would allow me to set up predefined Subjects for our customers. 
I want to have 5 subjects in the drop down box and depending on the choice it would send the e-mail to a specific e-mail address.

An example would be if it was regarding an order that was placed on line it would go to [email protected]

or if it was about a sponsorship it would go to [email protected]

Any help would be greatly appreciated.

I could create this externally and just use a wrapper in Joomla to display it, but whats the point?

Thanks,
-Holsum
Last edited by mcsmom on Fri Sep 28, 2007 11:13 am, edited 1 time in total.

User avatar
leolam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 155
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/S'pore/Bali/North America
Contact:

Re: Contact form multiple subjects

Post by leolam » Sun Feb 26, 2006 10:10 am

you can make that if I understand you right. is this what you look for? please check and if yes i will write down how to do it

Leo
For Professional Web-Development:: http://joomastudio.com
For Specialized Joomla Support:: http://joomadesk.com
We provide dedicated Joomla-Hosting at joomaserver.com!
Skype: joomadesk

holsum
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Oct 04, 2005 9:30 pm

Re: Contact form multiple subjects

Post by holsum » Sun Feb 26, 2006 6:00 pm

Yes, something like that would be perfect.
-holsum

scubaguy
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Fri Aug 19, 2005 2:37 am
Location: Milwaukee, WI
Contact:

Re: Contact form multiple subjects

Post by scubaguy » Sun Feb 26, 2006 6:42 pm

I just did this for a client yesterday.  All you have to do is change a bit of code starting at line 670 of /components/com_contact/contact.html.php  Basically you will be replacing the form textbox input element for the Subject with a dropdown select.  I've included the code around the change to make it easier to find.  Fill in your own values and labels for the select options.  Copy and paste an "
Group Social Events and Web Development
http://www.yourtribe.com
Connecting in the Virtual World, Playing in the Real World
(Please use username: test and password: tester to browse the site)