Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten Ansicht
  #1  
Alt 20.02.08, 17:22
Forum Newbie
 
Registriert seit: 13.08.07
Alter: 24
Beiträge: 38

Datei Upload bei MailformPlus


Hallo ich habe Mailform Plus 3.9.0 und bisher ging auch alles wunderbar. Nun habe ich einen Dateiupload eingebaut und habe dazu das TS verändert und das Template.

Am TS kann es aber nicht liegen weil hatte es vorher getestet und trotz des neues TS ging das alte Formular noch.

Nun hab ich das neue Template:
- Problem eins ist das die Werte bei Geschlecht und unter Beruf/Ausbildung nicht mehr gesendet werden.
- Problem 2 ist das wenn ich eine Datei hochlade der gleich das Formular sendet.

HTML-Code:
 <!-- ###TEMPLATE_FORM1### begin --> <!-- ###FORM_STARTBLOCK### begin-->
    Schritt ###curStep### von ###maxStep###:
   <form name="Formular" 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"> <input type="hidden" name="type" value="###value_type###">
    ###ERROR###
  <!-- ###FORM_STARTBLOCK### end--> <table border="0" cellspacing="" cellpadding="0" class="bewerbung"> <tr> <td valign="top">Persönliche Daten </td> <td valign="top">&nbsp;</td> </tr> <tr> <td valign="top"><strong>Geschlecht:*</strong></td> <td valign="top"><input name="gender" type="radio" id="sex" style="border-style:none;" value="männlich" ###sex### /> &nbsp;
männlich
<input name="gender" type="radio" id="sex" style="border-style:none;" value="weiblich" ###sex### />
weiblich</td> </tr> <tr> <td valign="top"><strong>Vorname*</strong></td> <td valign="top">###error_vorname###
      <input name="vorname" type="text" id="vorname" value="###value_vorname###" size="77"></td> </tr> <tr> <td valign="top"><strong>Name*</strong></td> <td valign="top">###error_name###
      <input name="name" type="text" id="name" value="###value_name###" size="77"></td> </tr> <tr> <td valign="top"><strong>Straße*</strong></td> <td valign="top">###error_strasse###<input name="strasse" type="text" id="strasse" value="###value_strasse###" size="77"></td> </tr> <tr> <td valign="top"><strong>PLZ*</strong></td> <td valign="top">###error_plz###<input name="plz" type="text" id="plz" value="###value_plz###" size="77"></td> </tr> <tr> <td valign="top"><strong>Ort:*</strong></td> <td valign="top">###error_ort###<input name="ort" type="text" id="ort" value="###value_ort###" size="77"></td> </tr> <tr> <td valign="top"><strong>Land</strong></td> <td valign="top">###error_land###
      <input name="land" type="text" id="land"  value="###value_land###" size="77" /></td> </tr> <tr> <td valign="top"><strong>Telefon*</strong></td> <td valign="top">###error_telefon###
      <input name="telefon" type="text" id="telefon"  value="###value_telefon###" size="77"></td> </tr> <tr> <td valign="top"><strong>E-Mail*</strong></td> <td valign="top">###error_email###
      <input name="email" type="text"  value="###value_email###" size="77"></td> </tr> <tr> <td valign="top"><strong>Nationalität</strong></td> <td valign="top">###error_nation###
    <input name="nation" type="text" id="nation"  value="###value_nation###" size="77" /></td> </tr> <tr> <td colspan="2" valign="top"><h3>Berufsausbildung:</h3></td> </tr> <tr> <td valign="top"><strong>Schulabschluss*</strong></td> <td valign="top">###error_schul###
    <input name="schule" type="text" id="schule"  value="###value_schul###" size="77" /></td> </tr> <tr> <td valign="top"><strong>Ausbildungsabschluss*</strong></td> <td valign="top">###error_ausb###
    <input name="ausbildung" type="text" id="ausbildung"  value="###value_ausb###" size="77" /></td> </tr> <tr> <td valign="top"><strong>Berufserfahrung*</strong></td> <td valign="top"><input name="erfahrung" type="radio" id="xp" style="border-style:none;" value="ja" ###sex### />
    
    ja
      <input name="erfahrung" type="radio" id="xp" style="border-style:none;" value="nein" ###sex### />
    nein</td> </tr> <tr> <td valign="top"><strong>Datei Upload: </strong></td> <td valign="top" align="left">Sie können <b>###picture_numberOfAllowedFiles###</b> Dateien hochladen.<br>
Sie k&ouml;nnen noch <b>###picture_numberOfRemainingFiles###</b> Dateien hochladen.<br>
Erlaubte Dateitypen: <b>###picture_fileTypes###</b><br> <br>
###error_picture###
Hochgeladene Dateien:<br> <b>###picture###</b><br> <input type="file" name="picture" size="5" maxlength="3000000" accept="application/zip/image">
###link_reload_start###Hochladen###link_reload_stop###
  
  </td> </tr> <tr> <td valign="top"><strong>Legal-Statement*</strong></td> <td valign="top" align="left"><p>Personenbezogene Daten, die Sie uns im Zuge des Bewerbungsverfahrens in elektronischer Form mitteilen, werden nicht ohne Ihre ausdr&uuml;ckliche Einwilligung erhoben. Durch Anklicken des Feldes "Legal-Statement akzeptieren" und des Buttons "Versenden" erkl&auml;ren Sie Ihr Einverst&auml;ndnis zur Datenerhebung und Datenverarbeitung zum Zwecke der Bewerbung. Nach Erteilung der Einwilligung haben Sie die M&ouml;glichkeit, diese nachtr&auml;glich jederzeit zu widerrufen. F&uuml;r den Widerruf reicht eine Mitteilung an die Personalabteilung: E-Mail-Adresse: bewerbungen@optibelt.com.</p> <p> <input name="legalstatement" type="checkbox" id="ls" style="border-style:none;" value="accept_ls" ###sex### />
      Legal-Statement akzeptieren</p></td> </tr> <tr> <td>&nbsp;</td> <td valign="top" align="left">&nbsp;</td> </tr> <tr> <td>&nbsp;</td> <td valign="top" align="left"><input type="submit" value="Abschicken"></td> </tr> </table>




###ENDBLOCK###
  <!-- ###FORM_ENDBLOCK### begin -->
    ###ADDITIONAL_MULTIPAGE###
  </form> <!-- ###FORM_ENDBLOCK### end --> <!-- ###TEMPLATE_FORM1### end --> <!-- ###TEMPLATE_EMAIL_RECEIVER### begin -->
Ein Nutzer hat folgendes Ausgef&uuml;llt:
<h1>Bewerbung</h1> <br><br> <h2>Persönliche Daten:</h2> <br>
Geschlecht:     ###gender###<br>
Vorname:    ###vorname###<br>
Name:        ###name###<br>
Straße:        ###strasse###<br>
PLZ:        ###plz###<br>
Ort:        ###ort###<br>
Land:        ###land###<br>
Telefon:    ###telefon###<br>
E-Mail:        ###email###<br>
Nationalitaet:    ###nation###<br> <br> <h2>Schul-/Berufsausbildung</h2> <br>
Schulabschluss:    ###schule###<br>
Ausbildungsabschluss:    ###ausbildung###<br>
Berufserfahrung:     ###erfahrung###<br> <br>
###picture###
<!-- ###TEMPLATE_EMAIL_RECEIVER### end --> <!-- ###TEMPLATE_EMAIL_RECEIVER_HTML### begin -->
Gesendetes Forumlar:<br> <table border="0" cellspacing="" cellpadding="0" class="bewerbung"> <tr> <td valign="top">Ihre Eingabe</td> <td valign="top">&nbsp;</td> </tr> <tr> <td valign="top"><strong>Geschlecht:</strong></td> <td valign="top">###sex###</td> </tr> <tr> <td valign="top"><strong>Vorname</strong></td> <td valign="top">###value_vorname###</td> </tr> <tr> <td valign="top"><strong>Name</strong></td> <td valign="top">###value_name###</td> </tr> <tr> <td valign="top"><strong>Straße</strong></td> <td valign="top">###value_strasse###</td> </tr> <tr> <td valign="top"><strong>PLZ</strong></td> <td valign="top">###value_plz###</td> </tr> <tr> <td valign="top"><strong>Ort:</strong></td> <td valign="top">###value_ort###</td> </tr> <tr> <td valign="top"><strong>Land</strong></td> <td valign="top">###value_land###</td> </tr> <tr> <td valign="top"><strong>Telefon</strong></td> <td valign="top">###value_telefon###</td> </tr> <tr> <td valign="top"><strong>E-Mail</strong></td> <td valign="top">###value_email###</td> </tr> <tr> <td valign="top"><strong>Nationalität</strong></td> <td valign="top">###value_nation###</td> </tr> <tr> <td colspan="2" valign="top"><h3>Berufsausbildung:</h3></td> </tr> <tr> <td valign="top"><strong>Schulabschluss</strong></td> <td valign="top">###schule###</td> </tr> <tr> <td valign="top"><strong>Ausbildungsabschluss</strong></td> <td valign="top">###ausbildung###</td> </tr> <tr> <td valign="top"><strong>Berufserfahrung</strong></td> <td valign="top">###erfahrung###</td> </tr> </tr> <td valign="top"><strong>Dateien:</strong></td> <td valign="top">###picture###<br></td> </tr> </table> <!-- ###TEMPLATE_EMAIL_RECEIVER_HTML### end --> <!-- ###TEMPLATE_EMAIL_USER### begin -->
Form was submitted (User:sad:
surname: ###surname###
email: ###email###
hobby: ###hobby###
job: ###job###
picture: ###picture###
----------------------
<!-- ###TEMPLATE_EMAIL_USER### end --> <!-- ###TEMPLATE_EMAIL_USER_HTML### begin -->
Sie haben folgendes ausgefüllt:<br> <table border="0" cellspacing="" cellpadding="0" class="bewerbung"> <tr> <td valign="top">Ihre Eingabe</td> <td valign="top">&nbsp;</td> </tr> <tr> <td valign="top"><strong>Geschlecht:</strong></td> <td valign="top">###gender###</td> </tr> <tr> <td valign="top"><strong>Vorname</strong></td> <td valign="top">###value_vorname###</td> </tr> <tr> <td valign="top"><strong>Name</strong></td> <td valign="top">###value_name###</td> </tr> <tr> <td valign="top"><strong>Straße</strong></td> <td valign="top">###value_strasse###</td> </tr> <tr> <td valign="top"><strong>PLZ</strong></td> <td valign="top">###value_plz###</td> </tr> <tr> <td valign="top"><strong>Ort:</strong></td> <td valign="top">###value_ort###</td> </tr> <tr> <td valign="top"><strong>Land</strong></td> <td valign="top">###value_land###</td> </tr> <tr> <td valign="top"><strong>Telefon</strong></td> <td valign="top">###value_telefon###</td> </tr> <tr> <td valign="top"><strong>E-Mail</strong></td> <td valign="top">###value_email###</td> </tr> <tr> <td valign="top"><strong>Nationalität</strong></td> <td valign="top">###value_nation###</td> </tr> <tr> <td colspan="2" valign="top"><h3>Berufsausbildung:</h3></td> </tr> <tr> <td valign="top"><strong>Schulabschluss</strong></td> <td valign="top">###schule###</td> </tr> <tr> <td valign="top"><strong>Ausbildungsabschluss</strong></td> <td valign="top">###ausbildung###</td> </tr> <tr> <td valign="top"><strong>Berufserfahrung</strong></td> <td valign="top">###erfahrung###</td> </tr> </tr> <td valign="top"><strong>Dateien:</strong></td> <td valign="top">###picture###<br></td> </tr> </table> <!-- ###TEMPLATE_EMAIL_USER_HTML### end --> <!-- ###TEMPLATE_ERROR### begin --> <!-- ###ERROR_START### begin --> <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>Datei ist zu groß!</li><br> <!-- ###ERROR_FILESIZE### end --> <!-- ###ERROR_FILETYPE### begin 
this is used if you use the file upload functionality --> <li>Datei ist nicht erlaubt!</li><br> <!-- ###ERROR_FILETYPE### end --> <!-- ###TEMPLATE_ERROR### end --> 
Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
plugin.tx_thmailformplus_pi1 {

limitMailsToUser = 1
}




plugin.tx_thmailformplus_pi1.fieldConf {

email {
errorCheck = email,required
errorText = <li>Füllen Sie das Email Feld aus</li><br>
defaultValue.value = asdf
}

job {
errorCheck = required
errorText = JOB not filled out!!<br>
}


picture {
errorCheck = required
numberOfAllowedFiles = 5
fileTypes = gif,pdf,jpeg
fileSize = 2000000
fileUpload = uploads/pics/

uploadedFiles {
template = <tr><td>###fileName###</td></tr>
wrap = <table border="0" cellspacing="0" cellpadding="0">|</table>
}
      ###########################
      # template only for step 3
      ###########################
uploadedFiles.3 {
template = <tr><td>###fileName###</td><td>&nbsp;###linkDelete_start### remove file###linkDelete_stop###</td></tr>
wrap = <table border="0" cellspacing="0" cellpadding="0">|</table>
}
      ###########################
      # template only for PRINT template
      ###########################
uploadedFiles.print {
template = <tr><td><a href="###filePath######fileName###" target="_blank">###fileName###</a> (###fileSize###)</td></tr>
wrap = <table border="0" cellspacing="0" cellpadding="0">|</table>
}
      ###########################
      # template only for mail (default for receiver and user)
      ###########################
uploadedFiles.mail {
plainTemplate = ###filePath######fileName###
HTMLTemplate = ###filePath######fileName###<br>
plainWrap = File start:|file end
HTMLWrap = File start:|file end<br>
}
      ###########################
      # template only for mail (receiver)
      # use marker ###[name of inputfield]Receiver### in template
      ###########################
uploadedFiles.mailReceiver {
plainTemplate = ###filePath######fileName###\n
HTMLTemplate = <a href="###filePath######fileName###">###fileName###</a><br>
plainWrap = Datei: |      
HTMLWrap = Datei:|<br>
}
      ###########################
      # template only for mail (user)
      # use marker ###[name of inputfield]User### in template
      ###########################
uploadedFiles.mailUser {
plainTemplate = ###filePath######fileName###\n
HTMLTemplate = <a href="###filePath######fileName###">###fileName###</a><br>
plainWrap = Datei: |      
HTMLWrap = Datei:|<br>
}
}
}


plugin.tx_thmailformplus_pi1.saveDB = 1
plugin.tx_thmailformplus_pi1.saveDB {
dbTable = tt_content
  # change �192� to an existing page-ID in your TYPO3 project
dbinsert=pid:86,hidden:1,CType:textpic
  # if dbkey is not set: "uid" is taken
dbkey =uid
  # [inputFieldName]:[DBName]
mapping=surename:header,email:header,picture:image
debug = 0
}
TYPO3.net - Datei Upload bei MailformPlus
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
Mailformplus Datei-Upload Beschriftung Eva Alle anderen Extensions 0 11.03.08 20:49
datei-upload mbinz Extension modifizieren oder neu erstellen 3 30.08.07 15:16
mailformplus datei-upload 360kom Alle anderen Extensions 2 12.04.07 21:55
datei down- und upload mit Versionierung carsten04 TYPO3 4.x Fragen und Probleme 1 26.11.06 14:48
Zeitangabe + Datei upload iliaca Extension suchen und neue vorschlagen 1 10.11.06 17:29


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:56 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