Mail from

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
rtk
Posts: 10
Joined: Thu 24. Nov 2005, 17:22

Mail from

Post by rtk »

I need to make an email form where I can choose between more than one person(e-mail adress) who will receive the e-mail. Like this:

<p>Choose a person to contact</p>
<selecte name="contact">
<option value="mail1@a.com>Administration</option>
<option value="mail2@a.com>Sales</option>
<option value="mail3@a.com>Support</option>
</selecte>

Is it posible to create a mail form like this in phpWCMS?

If not. Is it then posibale to write my own mail form in phpWCMS or do I need to make a brand new php page without any contact to the WCMS-System?

I hope you can read my bad english writing(I'm form Denmark :D)
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Post by sustia »

I think it's possible by choosing the "HTML" content part and inserting the appropriate HTML code.
Campeones del mundo!
Vegetables!
rtk
Posts: 10
Joined: Thu 24. Nov 2005, 17:22

Post by rtk »

Yes, but how do I insert the choosen mail into wcms?
tamara
Posts: 11
Joined: Wed 21. Sep 2005, 18:44

Post by tamara »

This type of form field is built in to the Email Contact Form:
http://www.phpwcms-docu.de/index.php?e- ... ntact_form

You would add the type: select menu. Then list the options.
rtk
Posts: 10
Joined: Thu 24. Nov 2005, 17:22

Post by rtk »

Yes I know that. But I want the visitor to deside witch person he wants to get i contact with by using the select menu.

I made a form like this but when I prees 'Send message' the mail will be sent to the e-mail i typed in the 'recipient' field for my article email form. I need the mail to be sent to one of the choosen persons in the select menu.

IT|name|1|name:&nbsp;|40,100||300
IT|mail|1|mail:&nbsp;|40,100||300
TA|message|0|message:&nbsp;|20,3||300
SM|contact|0|contact:&nbsp;|20,100|admin#sale|300
IH|hiddencode|0||10,100|xyz123456|0
IH|language|0||10,100|EN|0

If its possible, would you give me an example?
Pappnase

Post by Pappnase »

hello

this is with the old contactform not possible choose the new one!
http://www.phpwcms-docu.de/index.php?e- ... ktformular
as far as i remember there it should be possible! :-)
rtk
Posts: 10
Joined: Thu 24. Nov 2005, 17:22

Post by rtk »

I'm currently running Release 1.1-RC4 27-08-2004 it should not be so old, but maby im forced to update it before I get theis form options.
jscholtysik

Post by jscholtysik »

Hi rtk,


believe us: 1.1RC4 is old!! Oliver Georgi himself advices all people to upgrade to the newest dev version (1.2.6), because it's stable.

So feel free to try it out!!


Joachim
rtk
Posts: 10
Joined: Thu 24. Nov 2005, 17:22

Post by rtk »

I now update to phpwcms v1.2.5-DEV. Very nice design.

But is it possible for me to make a {NAV_TABLE_COLUMN} menu expand and colapse? Right now it just colapse when clicking on another menu.

// RTK
jscholtysik

Post by jscholtysik »

Hi rtk,


why don't you update to the newest version 1.2.6? Do you have any reasons for this?


Joachim
rtk
Posts: 10
Joined: Thu 24. Nov 2005, 17:22

Post by rtk »

I will do then, but what about the menu: colapse and expand function?
Post Reply