adjusting the contactform-plugin
Posted: Wed Aug 02, 2006 9:26 pm
hi,
i am testing serendipity for a few weeks now and i want to use it as a small cms, which seems to work very well. so first of all thanks to all the developers for their amazing work!
the website i am building is for a friend, who has a small german travel-agency. i am using serendipity 1.0 with the contactform-plugin -> v 1.18 . this works very well. but now i would like to adust this form and i am - sadly - no php-freak, so i am a little bit lost.
i know that i "simply" have to modify:
serendipity_event_contactform.php
and i think also:
plugin_contactform.tpl
what i would like to have there is text-fields for:
Vorname:
Name:
Straße:
Postleitzahl:
Ort:
Telefon:
Telefax:
E-Mail:
Datum Ankunft:
Datum Abreise:
Anzahl Erwachsene:
Anzahl Kinder:
//and then a radio-button for:
Haustiere: "ja" / "nein"
Unterkunftsart:
//here now one radio-button for each text, with the possibilty to mark all buttons
- Ferienhaus
- Ferienwohnung
- Bungalow
- Doppelzimmer
- Einzelzimmer
Nachricht:
//here another long textfield
//and at the end of the form three buttons:
"Abbrechen" [link to index.php]
"Zurücksetzen" [Should reset the form]
"Senden" [should send the filled out form]
i know i can't expect that somebody writes this concrete stuff, but perhaps somebody can tell me in general, how to:
- insert more text-fields
- insert a yes/no-radio-button
- insert several radio-buttons, which you can mark all
- insert the two additional buttons at the end (cancel -> link to index.php/reset)
i would appreciate it a lot, if somebody would help me
peter
i am testing serendipity for a few weeks now and i want to use it as a small cms, which seems to work very well. so first of all thanks to all the developers for their amazing work!
the website i am building is for a friend, who has a small german travel-agency. i am using serendipity 1.0 with the contactform-plugin -> v 1.18 . this works very well. but now i would like to adust this form and i am - sadly - no php-freak, so i am a little bit lost.
i know that i "simply" have to modify:
serendipity_event_contactform.php
and i think also:
plugin_contactform.tpl
what i would like to have there is text-fields for:
Vorname:
Name:
Straße:
Postleitzahl:
Ort:
Telefon:
Telefax:
E-Mail:
Datum Ankunft:
Datum Abreise:
Anzahl Erwachsene:
Anzahl Kinder:
//and then a radio-button for:
Haustiere: "ja" / "nein"
Unterkunftsart:
//here now one radio-button for each text, with the possibilty to mark all buttons
- Ferienhaus
- Ferienwohnung
- Bungalow
- Doppelzimmer
- Einzelzimmer
Nachricht:
//here another long textfield
//and at the end of the form three buttons:
"Abbrechen" [link to index.php]
"Zurücksetzen" [Should reset the form]
"Senden" [should send the filled out form]
i know i can't expect that somebody writes this concrete stuff, but perhaps somebody can tell me in general, how to:
- insert more text-fields
- insert a yes/no-radio-button
- insert several radio-buttons, which you can mark all
- insert the two additional buttons at the end (cancel -> link to index.php/reset)
i would appreciate it a lot, if somebody would help me
peter

