Zum Inhalt springen

Mailformplus Bestätigungsseite geht nicht

Erstellt am 13. September 2006 · 6 Antworten · letzte Antwort am 14. September 2006

Tags: Frage

zarah ·

Hallo

Ich habe über Mailformplus ein Formular eingerichtet.
Ich hätte gerne eine Seite, die nach dem Abschicken des Formulares aufgeht, auf der eine Art "Danke, das Sie mit uns Kontakt aufnehmen,..." erscheint.
Die Seite habe ich auch schon unterhalb der Formularseite eingerichtet. Ich weiß nur nicht, wie ich sie aktiviert bekomme.

Viele Grüße
zarah

Ande ·

zeig mal den Code vom Formular.

bei mir sieht das so aus, hab es aus der mailform configuration Erklärung.

http://typo3.org/documentation/document-library/extension-manuals/th_mailformplus/3.8.0/view/1/6/

</table>

</form>

<!-- ###TEMPLATE_FORM### end -->

<!-- ###TEMPLATE_SUBMITTED_OK### begin

  OPTIONAL - will be shown if form was submitted and all required fields were filled out

-->

<b>Vielen Dank! Ihre Anfrage wird so bald wie möglich bearbeitet</b>

Sie haben folgende Dateien hochgeladen<br>

###UPLOAD1###<br>

###UPLOAD2###<br>

<hr>

or:<br>

###photo###<br>

###photo2###

<!-- ###TEMPLATE_SUBMITTED_OK### end -->

ciao Ande

zarah ·

Hallo Ande,
hier ist mein HTML Formular.
Dies ist das Formular, das man abschickt.
Dachte ich könne die Bestätigungsseite allein über TYPO3 erstellen, indem ich einfach eine Unterseite einrichte, mit der Dankesformulierung.
Dies scheint nun aber nicht so, oder täusche ich mich..???
Grüße
Zarah

<!-- ###TEMPLATE_FORM### begin
shows formular form to be filled out
-->
<form name="anfrage" action="index.php" method="post" enctype="multipart/form-data">
  <input type="hidden" name="id" value="###PID###" />
  <input type="hidden" name="submitted" value="1" />
<table width="560" border="0" cellpadding="2" cellspacing="0">
  <!--DWLayoutTable-->
<tr class="rot">
  <td width="88" height="26" valign="top" scope="row">  <label for="Namen">Name </label>
    <td width="17" rowspan="3" valign="top"> <img src="../clear.gif" width="1" height="1"> 
  <td width="240" scope="row"><div align="left"><label for="Namen">
<input name="body" type="text" id=" name size = 100" size="40" maxlength="70" />
</label>
</div>
</td>
<td colspan="2"><label></label>
</td>
<td width="229">
<tr>
<td height="26" valign="top" scope="row">
  <div align="left">
  <label for="email Adresse">E-Mail</label>
  </div></td>
<td>
<label>
<input name="email" type="text"
id="email" size="40" maxlength="70" />
</label>
</td>
<td width="3">&nbsp;</td>
<td width="20">&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="74" valign="top"scope="row">
  <div align="left">
  <label>Mitteilung</label>
  </div></td>
<td colspan="2" valign="top">
  <label>
<textarea name="mitteilung"
cols="37" rows="3" id="textarea"></textarea>
      </label></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<th height="28" valign="top" scope="row">
</th>
<th valign="top" scope="row"></th>
<td>
<input name="Submit" type="submit"
class="button" value="Senden" />
<input name="löschen" type="reset"
class="button" id="Löschen" value="Löschen" />
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</form>
<!-- ###TEMPLATE_FORM### end -->

##-Mail-User
<!-- ###TEMPLATE_EMAIL_USER### begin -->
Hallo ###vorname### ###nachname###,
Vielen Dank für Ihre Nachricht
Wir werden uns schnellstmöglich mit Ihnen in Verbindung setzen.
Mit freundlichen Grüßen
Meine Firma
<!-- ###TEMPLATE_EMAIL_USER### end -->
E-Mail-Admin
<!-- ###TEMPLATE_EMAIL_RECEIVER### begin -->
Name: ###name###
Email: ###email###
Mitteilung: ###mitteilung###
<!-- ###TEMPLATE_EMAIL_RECEIVER### end -->


#E-Mail-Admin
<!-- ###TEMPLATE_EMAIL_RECEIVER### begin -->
Name: ###name###
Email: ###email###
Mitteilung: ###mitteilung###
<!-- ###TEMPLATE_EMAIL_RECEIVER### end -->
Ande ·

hallo zarah

Ich habs mal in meinem code eingefügt und so bekommst du schonmal deine Dankesmeldung.
Dier wird aber auch auffallen, dass die Marker ###vorname### ###nachname###
nicht ausgeben werden. Das liegt daran das du das Formular anscheinend selbst geschrieben hast und dabei einige Marker vergessen hast.
Schau nochmal hier nach und vergleich das mit deinem Formular, dann wirst du erkennen wo du welche setzen muss und wo nicht.

  http://typo3.org/documentation/document-library/extension-manuals/th_mailformplus/3.8.0/view/1/6/

Viel Glück Ande

<!-- ###TEMPLATE_FORM### begin
shows formular form to be filled out
-->
<form name="anfrage" action="index.php" method="post" enctype="multipart/form-data">
  <input type="hidden" name="id" value="###PID###" />
  <input type="hidden" name="submitted" value="1" />
<table width="560" border="0" cellpadding="2" cellspacing="0">
  <!--DWLayoutTable-->
<tr class="rot">
  <td width="88" height="26" valign="top" scope="row">  <label for="Namen">Name </label>
    <td width="17" rowspan="3" valign="top"> <img src="../clear.gif" width="1" height="1">
  <td width="240" scope="row"><div align="left"><label for="Namen">
<input name="body" type="text" id=" name size = 100" size="40" maxlength="70" />
</label>
</div>
</td>
<td colspan="2"><label></label>
</td>
<td width="229">
<tr>
<td height="26" valign="top" scope="row">
  <div align="left">
  <label for="email Adresse">E-Mail</label>
  </div></td>
<td>
<label>
<input name="email" type="text"
id="email" size="40" maxlength="70" />
</label>
</td>
<td width="3"> </td>
<td width="20"> </td>
<td> </td>
</tr>
<tr>
<td height="74" valign="top"scope="row">
  <div align="left">
  <label>Mitteilung</label>
  </div></td>
<td colspan="2" valign="top">
  <label>
<textarea name="mitteilung"
cols="37" rows="3" id="textarea"></textarea>
      </label></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th height="28" valign="top" scope="row">
</th>
<th valign="top" scope="row"></th>
<td>
<input name="Submit" type="submit"
class="button" value="Senden" />
<input name="löschen" type="reset"
class="button" id="Löschen" value="Löschen" />
</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</form>
<!-- ###TEMPLATE_FORM### end -->

<!-- ###TEMPLATE_SUBMITTED_OK### begin

  OPTIONAL - will be shown if form was submitted and all required fields were filled out

-->

Hallo###vorname### ###nachname###<b />
Vielen Dank für Ihre Nachricht<b />
Wir werden uns schnellstmöglich mit Ihnen in Verbindung setzen.<b />
Mit freundlichen Grüßen<b />
Meine Firma<b />



<hr>

or:<br>

###photo###<br>

###photo2###

<!-- ###TEMPLATE_SUBMITTED_OK### end -->

<!-- ###TEMPLATE_EMAIL_USER### begin

    OPTIONAL - this will be the email text that is sent to the user (plaintext!)

-->

Hallo ###name###,

You have just filled out the form and asked about:

###subject###

Sie haben die folgenden Dateien hochgeladen:

###photo###

###photo2###

Wir werden sie so bald wie möglich kontaktieren,

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 the form:

name: ###name###

subject: ###subject###

uploaded files:

###photo###

###photo2###

please contact the user: ###email###

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

 

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

<!-- ###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_name### begin -->

<li>insert Title</li>

<!-- ###ERROR_name### end -->

 

<!-- ###TEMPLATE_ERROR### end -->
zarah ·

mhm
Also wenn ich dich richtig verstehe, müßte ich jetzt schon ein art d
Dankesmeldung bekommen. Bei mir ändert sich leider gar nichts. Haben wir uns denn richtig verstanden, das diese Meldung auf einer weiteren Seite erscheint, oder meintest Du als email.

Grüße

Ande ·

Das Formular, dass du hier reingestellt hast, habe ich genommen und bei mir eingefügt, dabei habe ich gemerkt das wirklich keine Dankesmeldung kommt.

Daraufhin habe ich dein Formular so verändert das die Dankesmeldung ausgegeben wird, unzwar so, dass nach dem abschicken des Formulars die Dankesmeldung sofort anstatt des Formulars ausgegeben wird (und das alles auf der selben Seite).

Falls du es noch nicht getan hast, erstelle mal ein neues Formular mit dem modifizierten Code den ich reingestellt habe. Lösche das alte und füge das neue ein, und zur Sicherheit nochmal Cache leeren.

Mmmh habs ebend nochmal probiert, bei mir wird die Meldung ausgegeben, also müsste es auch bei dir klappen.

Ciao Ande

zarah ·

Hallo Ande

vielen Dank , jetzt hat es geklappt!

Habe die Kontaktseite im Menü nocheinmal neu erstellt, da hing es wohl irgendwie dran.

Vielen Dank und viele Grüße
Zarah