Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten Ansicht
  #1  
Alt 15.08.06, 14:45
Forum Aktivist
 
Registriert seit: 07.04.06
Ort: Ilsfeld Baden-Württemberg
Beiträge: 68
mailformplus template

Hallo
ich habe mein erstes Template mit der MailformPlus Ext. erstellt und installiert. Ich bin nach der Doku vorgegangen, das Template zu erstellen.

Leider werden die Value und Error Felder mit in dem MailForm angezeigt :
Siehe hier : http://www.mediacar.info/85.html

Weitere Frage: Das template enthält einen Lösch-Button, der funktioniert nicht. Geht das mit mailformplus??

Mein Template sieht so aus:
HTML-Code:
<!-- ###TEMPLATE_FORM### begin --> <script language="JavaScript" type="text/javascript"> <!--
function chkFormular () {
  if (document.Formular.namevorname.value == "") {
    alert("Bitte Ihren Namen/Vornamen eingeben!");
    document.Formular.namevorname.focus();
    return false;
  }
  if (document.Formular.ort.value == "") {
    alert("Bitte geben Sie Ihren Ort ein!");
    document.Formular.ort.focus();
    return false;
  }
  if (document.Formular.email.value == "") {
    alert("Bitte Ihre E-Mail-Adresse eingeben!");
    document.Formular.email.focus();
    return false;
  }
    if (document.Formular.telefon.value == "") {
    alert("Bitte Ihre Telefon-Nummer eingeben!");
    document.Formular.telefon.focus();
    return false;
  }
	if (document.Formular.strasse.value == "") {
    alert("Bitte Ihre Strasse eingeben!");
    document.Formular.strasse.focus();
    return false;
  }
  if (document.Formular.email.value.indexOf("@") == -1) {
    alert("Ihre eMail-Adresse ist nicht korrekt!");
    document.Formular.email.focus();
    return false;
  }
 
  return true;
}
--> </script> <form action="index.php" method="post" enctype="multipart/form-data" name="mailform-frenzel-de" onsubmit="return chkForumlar()" /> <input type="hidden" name="id" value="###PID###" /> <input type="hidden" name="submitted" value="1" /> <input type="hidden" name="L" value="0" />
  ###ERROR###
  <table width="525" border="0" cellspacing="0" cellpadding="0"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #9A9A9A; "> <tr> <td width="525" colspan="5" bgcolor="#EBEBEB"><p>Bitte geben Sie
                Ihre Daten an:</p></td> </tr> <tr> <td width="120" style="padding-top:7px; "><p>Name/Vorname:</p></td> <td width="175"> ###error-namevorname###
              <input type="text" name="namevorname" value="###value-namevorname###"/> </td> <td width="5">&nbsp;</td> <td width="50"><p>Plz/Ort:</p></td> <td width="175"> ###error-ort###
              <input type="text" name="ort" value="###value-ort###"/> </td> </tr> <tr> <td><p>Abteilung:</p></td> <td><input type="text" name="abteilung" value="###value-abteilung###"/> </td> <td>&nbsp;</td> <td><p>e-Mail:</p></td> <td> ###error-email###
              <input type="text" name="email" value="###value-email###"/> </td> </tr> <tr> <td><p>Firma:</p></td> <td><input type="text" name="firma" value="###value-firma###"/> </td> <td>&nbsp;</td> <td><p>Telefon:</p></td> <td> ###error-telefon###
              <input type="text" name="telefon" value="###value-telefon###"/> </td> </tr> <tr> <td style="padding-bottom:7px; "><p>Strasse:</p></td> <td> ###error-strasse###
              <input type="text" name="strasse" value="###value-strasse###"/> </td> <td>&nbsp;</td> <td><p>Telefax:</p></td> <td><input type="text" name="telefax" value="###value-telefax###"/> </td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:15px; border:1px solid #9A9A9A; "> <tr> <td width="525" bgcolor="#EBEBEB"><p>Bitte geben Sie Ihre Nachricht
                ein:</p></td> </tr> <tr> <td style="padding:7px; "><textarea name="nachricht" value="###value-nachricht##" rows="5" style="width:511px;"></textarea> </td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:15px; border:1px solid #9A9A9A; "> <tr> <td colspan="5" bgcolor="#EBEBEB"><p>Gew&uuml;nschter Bereiche bitte
                ankreuzen:</p></td> </tr> <tr> <td width="15">&nbsp;</td> <td width="26"><input type="checkbox" name="kontakt_aufnehmen" value="1"           ###checked_kontakt_aufnehmen### /> <!-- <input type="checkbox" name="kontakt_aufnehmen" value="1"> --> <!-- <input type="checkbox" name="material" value="Stahl" checked_material_stahl="" />Stahl 
					<input type="checkbox" name="tilbud" value="X" checked 
                       ###checked_tilbud_X###>

					--> </td> <td colspan="3"><p>Bitte nehmen Sie mit mir Kontakt auf</p></td> </tr> <tr bgcolor="#EBEBEB"> <td colspan="5"><p><span class="bold1">Prospektanforderung:</span></p></td> </tr> <tr> <td width="15">&nbsp;</td> <td width="26"><input type="checkbox" name="prospect_1" value="1" ###checked_prospect_1### /></td> <td width="245"><p>Minik&uuml;chen</p></td> <td width="15"><input type="checkbox" name="prospect_7" value="1" ###checked_prospect_7### /></td> <td width="212"><p>H&auml;ndetrockner</p></td> </tr> <tr> <td>&nbsp;</td> <td><input type="checkbox" name="prospect_2" value="1" ###checked_prospect_2### /></td> <td><p>K&uuml;hlschr&auml;nke/K&uuml;hltruhen</p></td> <td><input type="checkbox" name="prospect_8" value="1" ###checked_prospect_8### /></td> <td><p>Buscatering</p></td> </tr> <tr> <td>&nbsp;</td> <td><input type="checkbox" name="prospect_3" value="1" ###checked_prospect_3### /></td> <td><p>Trinkwasserk&uuml;hler</p></td> <td><input type="checkbox" name="prospect_9" value="1" ###checked_prospect_9### /></td> <td><p>Catering-Werbefilm</p></td> </tr> <tr> <td>&nbsp;</td> <td><input type="checkbox" name="prospect_4" value="1" ###checked_prospect_4### /></td> <td><p>Kaffeemaschine</p></td> <td><input type="checkbox" name="prospect_10" value="1" ###checked_prospect_10### /></td> <td><p>Video/TV-Systeme</p></td> </tr> <tr> <td>&nbsp;</td> <td><input type="checkbox" name="prospect_5" value="1" ###checked_prospect_5### /></td> <td><p>Hei&szlig;wasserger&auml;te</p></td> <td><input type="checkbox" name="prospect_11" value="1" ###checked_prospect_11### /></td> <td><p>Individualausstattung</p></td> </tr> <tr> <td>&nbsp;</td> <td><input type="checkbox" name="prospect_6" value="1" ###checked_prospect_6### /></td> <td><p>Wurstkocher/Mikrowellen</p></td> <td><input type="checkbox" name="prospect_12" value="1" ###checked_prospect_12### /></td> <td><p>Blutkonserven-Klimaschrank</p></td> </tr> </table></td> </tr> <tr> <td valign="top"><table width="200" border="0" cellspacing="0" cellpadding="0" align="right" style="margin-top:15px; border:1px solid #9A9A9A; "> <tr> <td align="center" width="50%" bgcolor="#EBEBEB" style="height:40px; "><input type="submit" name="Senden" value="senden" /></td> <td align="center" width="50%" bgcolor="#EBEBEB"><input type="reset" name="L&ouml;schen" value="l&ouml;schen" /></td> </tr> </table></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
--> <!--Thank you, your request will be answered soon.-->
Danke für Ihr Interesse. Wir werden Ihr eMail umgehend bearbeiten!</b> <!-- ###TEMPLATE_SUBMITTED_OK### end --> <!-- ###TEMPLATE_EMAIL_USER### begin
    OPTIONAL - this will be the email text that is sent to the user (plaintext!)
-->
Hallo ###namevorname###, Sie haben gerade unser Kontaktformular ausgefüllt: Folgende Daten haben wir erhalten: Ihr Name: ###namevorname###
Ihre email-Adresse: ###email###
Wir werden Ihre eMail umgehend bearbeiten.
Mit freundlichen Grüßen
Frenzel GmbH

<!-- ###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)
-->
Hallo Administrator der Fa. Frenzel:, ein Benutzer hat gerade Ihr Formular ausgefüllt: ###namevorname###
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: -->
Folgende Fehler sind aufgetaucht:
<ul> <!-- ###ERROR_START### end --> <!-- ###ERROR_END### begin 
this is used for the global error marker ###ERROR### --> </ul> <!-- ###ERROR_END### end --> <!-- ###ERROR_NAMEVORNAME### begin 
this is used if you use the file upload functionality --> <li>Ihr Name / Vorname fehlt!</li> <!-- ###ERROR_NAMEVORNAME### end --> <!-- ###ERROR_ORT### begin 
this is used if you use the file upload functionality --> <li>Ihre Ortsangabe fehlt!</li> <!-- ###ERROR_ORT### end --> <!-- ###ERROR_email### begin --> <li>Ihre eMail-Adresse fehlt!</li> <!-- ###ERROR_email### end --> <!-- ###error_strasse### begin --> <li>Die Strasse fehlt!</li> <!-- ###ERROR_strasse### end --> <!-- ###error_telefon### begin --> <li>Ihre Telefon-Nr. fehlt!</li> <!-- ###ERROR_telefon### end --> <!-- ###TEMPLATE_ERROR### end -->

Geändert von tom (15.08.06 um 22:20 Uhr).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #2  
Alt 15.08.06, 22:20
Benutzerbild von tom
tom tom ist offline
TYPO3 Forum Team
Moderator
 
Registriert seit: 11.09.04
Ort: Schillerstadt Marbach
Alter: 40
Beiträge: 786
tom eine Nachricht über ICQ schicken tom eine Nachricht über Skype™ schicken

Problem gelöst ...

Im grossen und ganzen waren es nur Tipp- und Schreibfehler. (Teilweise mit Gross- und Kleinschreibung) und vor allem darf nach error oder value kein - sondern muss ein _ kommen.
(Also z.B error_strasse statt error-strasse und value_ort statt value-ort ...)

Tom
__________________
"Wer nichts anderes tut als Geld verdienen, verdient auch nichts anderes ..."

P.S. Ich habe gerade beschlossen alle meine Tipp- und Rechtschreibfehler unter die Open Content License zu stellen.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #3  
Alt 16.08.06, 08:21
Forum Aktivist
 
Registriert seit: 07.04.06
Ort: Ilsfeld Baden-Württemberg
Beiträge: 68

Danke Thomas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #4  
Alt 25.08.06, 11:47
Forum Zuschauer
 
Registriert seit: 16.08.06
Alter: 29
Beiträge: 7

Hallo ernstle,

Ich verstehe nicht so ganz warum du die Funktionen die dir die Extension bietet komplett aushebelst (integriertes JS etc.) ...

Benutze doch für die Bezeichner die Extension-Notation somit übernimmt Mailform-Plus die Arbeit also statt:

name="namevorname" lieber tx_pilmailform_pi1[text][user_namevorname]

Validierung der Felder macht du im Element auf der Seite dort findest du das Feld "Required Values" im Reiter Feldeinstellungen.

Pflichtfelder zum Beispiel die ausgefüllt sein müssen:

namevorname; notEmpty; text: Bitte Feld ... ausfüllen

usw. anstatt notEmpty kann auch eine regexp für Emails benutzt werden:

email; regexp/^...@...$/; text: Emailadresse ist nicht korrekt

Grüße
Brandao
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #5  
Alt 27.08.06, 17:18
Forum Aktivist
 
Registriert seit: 07.04.06
Ort: Ilsfeld Baden-Württemberg
Beiträge: 68

Hallo Brandao,
vielen Dank für deinen Hinweis .
Könntest Du evtl ein Beispiel an mich/ oder Forum übermitteln.
Danke Ernst
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #6  
Alt 06.10.06, 14:45
Forum Newbie
 
Registriert seit: 31.12.05
Alter: 28
Beiträge: 33

Die Frage ist jetzt : Wie hast du es eingebunden ......ich hatte es vor dem Domain-Umzug schonmal am laufen gehabt, jedoch nach dem Umzug kriege ich das Termplate nichtmehr ans laufen....das was du hier siehst, ist nur die Klamotte vom MailFormPlus.....kein Template :

Handwerks-plattform.de - Die Plattform für Handwerker

Das ist ja cool....welches Plugin/Produkt fürs VB-Forum ist das, die von der eingegebenen URL den Seiten-Titel raussucht ?
__________________
Wir machen euch KALT... aber leise
http://www.meisterkuehler.de

Geändert von Breaker (06.10.06 um 14:50 Uhr).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #7  
Alt 07.10.06, 14:42
Forum Newbie
 
Registriert seit: 31.12.05
Alter: 28
Beiträge: 33

Ok, es läuft jetzt..aber die Sache mit dem VB-Prugin möchte ich schon wissen ;)
__________________
Wir machen euch KALT... aber leise
http://www.meisterkuehler.de
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort


Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge anzufügen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

vB Code ist An.
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist Aus.
Trackbacks are An
Pingbacks are An
Refbacks are An


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Fehlermeldung mailformplus smithers Alle anderen Extensions 1 01.06.07 18:52
Mailformplus-Template funktioniert nicht ganz bolshi TYPO3 4.x Fragen und Probleme 0 01.01.07 18:31
Formular für mailformplus blau TYPO3-Jobs 0 13.12.06 08:59
mailformplus? dirvish Alle anderen Extensions 0 27.11.06 15:57
MailformPlus ? Was ist los ? Breaker Alle anderen Extensions 2 07.01.06 01:25


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:45 Uhr.


Powered by vBulletin® Version 3.6.8 Patch Level 2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Template-Modifikationen durch TMS