Zum Inhalt springen

Mailformplus

Erstellt am 12. April 2011 · Noch keine Antworten

Tags: Frage

Beleg ·

Huhu,

ich habe die Extension Mailformplus installiert und bin gerade am rumtesten.
Ich habe ein HTML-Datei aus einer Vorlage erstellt und diese im Fileadmin hochgeladen.
Nun, das Formular funktioniert und ich bekomme es per Mail geschickt, wie ich es haben wollte.
Allerdings sieht das dann so aus:

Hello admin,
A user just filled out our form:

name: XX
email: XX@XX.de

please contact the user via: email

the user has uploaded the following files:
a815d3b532_1605__eisbaeren.jpg

-> Aber wo wurde denn das JPG nun hingespeichert? *grübel* :o

Hab das hier als HTML Vorlage genommen (aus einer Anleitung heraus):

<!-- ###TEMPLATE_FORM### begin
shows formular field to be filled out
-->
<script language="JavaScript" type="text/JavaScript">
<!--
function chkFormular() {
if (document.Formular.surename.value == "") {
alert("Please insert your surename!");
document.Formular.surename.focus();
return false;
}
return true;
}

//-->
</script>

<form name="Formular" onSubmit="return chkFormular()" method="post" action="index.php" enctype="multipart/form-data">
<input type="hidden" name="id" value="###PID###">
<input type="hidden" name="submitted" value="1">
<input type="hidden" name="L" value="0">
###ERROR###

Surename:<br />
###error_surename###
<input type="text" name="surename" value="###value_surename###">
<br />

email:<br />
###error_email###
<input type="text" name="email" value="###value_email###">
<br />

Topic: <br/>
###error_topic###
<select name="topic" style="width:320px;">
<option value="empty" ###selected_topic_empty###></option>
<option value="webdesign" ###selected_topic_webdesign###>Webdesign</option>
<option value="feedback" ###selected_topic_feedback###>Feedback</option>
</select>
<br />

Contact: <br />
<input type="radio" name="contact_via" value="email" style="border-style:none;" ###checked_contact_via_email###>e-mail
<input type="radio" name="contact_via" value="phone" style="border-style:none;" ###checked_contact_via_phone###>Phone
<br />

Photo(s):<br />
###error_filesize######error_filetype###
<input type="file" name="photo" size="50" maxlength="50000" accept="image"><br>
<input type="file" name="photo2" size="50" maxlength="50000" accept="image">
<br />

<input type="submit" value="submit">
</form>
<!-- ###TEMPLATE_FORM### end -->

<!-- ###TEMPLATE_SUBMITTED_OK### begin
OPTIONAL - will be shown if form was submitted and all required fields were filled out
-->
<b>Thank you, your request will be answered soon.</b>
<!-- ###TEMPLATE_SUBMITTED_OK### end -->

<!-- ###TEMPLATE_EMAIL_USER### begin
OPTIONAL - this will be the email text that is sent to the user (plaintext!)
-->
Hello ###surename###,
You have just submitted our form:

Your name: ###surename###
your email: ###email###
you want to be contacted via: ###contact_via###

you uploaded the following files:
###photo###
###photo2###

ciao!
<!-- ###TEMPLATE_EMAIL_USER### end -->

<!-- ###TEMPLATE_EMAIL_RECEIVER### begin
OPTIONAL - this will be the email text that is sent to the admin (plaintext!)
(admin-email = the email you can specify in the mailformplus plugin)
-->
Hello admin,
A user just filled out our form:

name: ###surename###
email: ###email###

please contact the user via: ###contact_via###

the user has uploaded the following files:
###photo###
###photo2###

<!-- ###TEMPLATE_EMAIL_RECEIVER### end -->

<!-- ###TEMPLATE_ERROR### begin

OPTIONAL – this section holds the error texts for the input fields.
Only a primitive server side check is supported: you can specify fiels that have to be filled out. If not, this error message is shown.
-->

<!-- ###ERROR_START### begin
this is used for the global error marker ###ERROR### -->
The following errors occured:
<ul>
<!-- ###ERROR_START### end -->

<!-- ###ERROR_END### begin
this is used for the global error marker ###ERROR### -->
</ul>
<!-- ###ERROR_END### end -->

<!-- ###ERROR_FILESIZE### begin
this is used if you use the file upload functionality -->
<li>File is too large!</li>
<!-- ###ERROR_FILESIZE### end -->

<!-- ###ERROR_FILETYPE### begin
this is used if you use the file upload functionality -->
<li>File is not allowed!</li>
<!-- ###ERROR_FILETYPE### end -->

<!-- ###ERROR_email### begin -->
<li>insert email</li>
<!-- ###ERROR_titel### end -->

<!-- ###TEMPLATE_ERROR### end -->

Danke schonmal!!!