MailFormPlus [Gelöst]


  • 0 x
    16. 08. 2007, 09:03

    Hallo
    Kann mir jemand weiter helfen, ich bekomme das Mailformplus Formular nicht zum laufen. Es wird lediglich nur die Überschrift angezeigt. Was mache ich da falsch?

    Was habe ich alles getan:
    1. HTML geschrieben:
    [HTML]<!-- ###TEMPLATE_FORM### Form begin --><form name="form###PID###" action="index.php?id=###PID###" method="post">

    <!-- versteckte Felder begin -->
    <!-- ###HIDDENFIELDS### -->
    <input name="L" value="0" type="hidden">
    <input name="id" value="###PID###" type="hidden">
    <input name="submitted" value="1" type="hidden">
    <!-- versteckte Felder end -->

    <fieldset>
    <br>
    <legend>Ihre Kontaktdaten:</legend>
    <label for="anrede" style="display: block; float: left; width: 100px;">Anrede:&nbsp;</label>
    <span ###error_anrede###="">
    <select name="anrede" id="anrede" size="1">
    <option value="" ###selected_anrede_###="">bitte auswählen</option>
    <option value="Frau" ###selected_anrede_frau###="">Frau</option>
    <option value="Frau Dr." ###selected_anrede_fraudr###="">Frau Dr.</option>
    <option value="Herr" ###selected_anrede_herr###="">Herr</option>
    <option value="Herr Dr." ###selected_anrede_herrdr###="">Herr Dr.</option>
    </select></span><br>

    <label for="vorname" style="display: block; float: left; width: 100px;">Vorname:</label>
    <input name="vorname" id="vorname" value="###value_vorname###" size="35" type="text">
    <br>
    <label for="name" style="display: block; float: left; width: 100px;">Name:&nbsp;</label>
    <input name="name" id="name" value="###value_name###" size="35" ###error_name###="" type="text">
    <br>
    <label for="firma" style="display: block; float: left; width: 100px;">Firma:</label>
    <input name="firma" id="firma" value="###value_firma###" size="35" type="text">
    <br>
    <label for="telefon" style="display: block; float: left; width: 100px;">Telefon:</label>
    <input name="telefon" id="telefon" value="###value_telefon###" size="35" type="text">
    <br>
    <label for="fax" style="display: block; float: left; width: 100px;">Fax:</label>
    <input name="fax" id="fax" value="###value_fax###" size="35" type="text">
    <br>
    <label for="email" style="display: block; float: left; width: 100px;">E-Mail:&nbsp;</label>
    <input name="email" id="email" value="###value_email###" size="35" ###error_email###="" type="text">
    <br>
    <label for="www" style="display: block; float: left; width: 100px;">www-Adresse:</label>
    <input name="www" id="www" value="###value_www###" size="35" type="text">
    <br>

    </fieldset>
    <br>

    <fieldset>
    <br>
    <legend>Ihr Anliegen</legend>
    <label for="antwort">Bemerkung:&nbsp;</label>
    <span style="float: left;">
    <textarea id="antwort" name="antwort" rows="6" cols="40">###value_antwort###</textarea>
    </span>

    </fieldset>
    <br style="clear: left;">

    <!-- Buttons einfügen begin -->
    <input value="absenden" type="submit">
    <br><br>
    </form>
    <!-- Buttons einfügen end -->
    [/HTML]

    2. Eine Seite erstellt:
    Typ: Plugin einfügen
    Überschrift: Mailform
    Erweiterung: mailformplus
    Templatedatei, die oben geschriebene HTML
    Ausgangspunkt: Festgelegt auf aktuelle seite

    E-Mailoptionen:
    Empfänger: Mail angegeben
    Betreff: angegeben
    Name des absenders angegeben
    Redirect seite: ist gleiche wie Ausgangspunkt
    Pflichtfelder: name,anrede,email

    Besten Dank für jeden Hinweis
    Grüsse Sebastian

  • 0 x
    14 Beiträge
    0 Hilfreiche Beiträge
    16. 08. 2007, 11:09 - Lösung

    Hast du dir mal die mailformplus_demo.html angeschaut??

    Du hast wild irgendwelche Marker gesetzt die von der Extension gar nicht erkannt werden...

    Hier der Inhalt der mailformplus_demo.html:

    [HTML]####################################
    # #
    # ext: th_mailformplus #
    # #
    # by: Dev-Team #
    # email: dev@typoheads.at #
    # www: http://www.typoheads.at #
    # #
    # donations welcome :) #
    # #
    ####################################

    ####################################
    # #
    # EXAMPLE TypoScript settings #
    # #
    ####################################
    # TypoScript settings for saving submitted data into a DB table of your choice
    ####################################
    plugin.tx_thmailformplus_pi1.saveDB = 1
    plugin.tx_thmailformplus_pi1.saveDB {
    dbTable = tt_content

    # change .96. to an existing page-ID in your TYPO3 project
    dbinsert=pid:96,hidden:0,CType:textpic

    # if dbkey is not set: "uid" is taken
    dbkey =uid

    # [inputFieldName]:[DBName]mapping=name:header,subject:bodytext,photo:image,photo2:image

    # translate form field checkbox arrays to TYPO3 Backend checkbox arrays
    powMapping.[db-fieldname].[form-inputname] = [int]

    # crop string (e.g. form a textarea) to int number of chars
    cropTextArea.[db-fieldname] = [int]

    # enable special mappings
    specialMapping = 1
    specialMapping {

    # store submission datetime in format YYYY-MM-DD HH:SS
    sub_datetime = [fieldname]

    # set timestamp (submission time) to field crdate
    crdate = 1

    # store submission IP to field
    logIP = [fieldname]

    # store uid to a second field (reference).
    # Enables storage in CSV as well and
    # activates marker ###DB_UID### in E-Mails
    storeuid = [fieldname]}
    }

    ###################################
    #
    # example TypoScript settings for example below:
    #
    ###################################
    ######################################
    # here we overwrite the default configuration for
    # file uploads defined in saveDB. for one
    # specific field
    ######################################
    plugin.tx_thmailformplus_pi1.fieldConf {
    email {
    errorCheck = email
    defaultValue.value = peter
    }
    cv {
    numberOfAllowedFiles = 3
    fileTypes = pdf,doc
    fileSize = 500000
    fileUpload = uploads/pics/
    errorText = <li>CV not filled out correctly</li><br/>
    uploadedFiles {
    template = ###fileName### ###fileSize######linkDelete_start###löschen###linkDelete_stop###<br/>
    wrap = <div>|</div>
    }
    uploadedFiles.mail {
    plainTemplate = ###filePath######fileName###
    HTMLTemplate = <a href="###filePath######fileName###">###fileName###</a><br/>
    plainWrap = File start:|file end
    HTMLWrap = File start:|<br/>file end<br/>
    }
    }
    photo {
    numberOfAllowedFiles = 2
    fileTypes = jpg,gif
    fileSize = 200000
    fileUpload = uploads/pics/
    errorText = <li>PHOTO not filled out correctly</li><br/>
    ###########################
    # template
    ###########################
    # markers:
    # fileName ... uploaded filename
    # fileSize ... size of uploaded file
    #
    # [either use link or submit depending on multipage_without_js]
    # linkDelete_start ... <a>-start-tag
    # linkDelete_stop ... </a>-end-tag
    # submitDelete ... name-attribute for input type="submit" (needs multipage_without_js)
    # submitDeleteHidden ... required for submitDelete (needs multipage_without_js)
    ###########################
    # template for all steps
    ###########################
    uploadedFiles {
    template = ###fileName### ###fileSize######linkDelete_start###löschen###linkDelete_stop###<input type="submit" ###submitDelete### />löschen###submitDeleteHidden###<br/>
    wrap = <div>|</div>
    }
    ###########################
    # template for PRINT-template (summary)
    ###########################
    uploadedFiles.print {
    template = <a href="###filePath######fileName###" target="_blank">###fileName###</a> (###fileSize###)<br/>
    wrap = <div>|</div>
    }
    ###########################
    # template only for mail (default for receiver and user)
    ###########################
    uploadedFiles.mail {
    plainTemplate = ###filePath######fileName###
    HTMLTemplate = <a href="###filePath######fileName###">###fileName###</a><br/>
    plainWrap = File start:|file end
    HTMLWrap = File start:|<br/>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 = ReceiverFile start:|file end
    HTMLWrap = ReceiverFile start:|<br/>file end<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 = UserFile start:|<br/>file end<br/>
    HTMLWrap = UserFile start:|file end<br/>
    }
    }
    }

    <!-- ###TEMPLATE_FORM### begin -->
    ###ERROR###
    <form name="Formular" method="post" action="###REL_URL###" enctype="multipart/form-data">
    <fieldset>
    <legend>Personal Information</legend>
    <input type="hidden" name="id" value="###PID###" />
    <input type="hidden" name="submitted" value="1" />
    <input type="hidden" name="L" value="###value_L###" />
    <input type="hidden" name="type" value="###value_type###" />

    <div>
    <label for="name" accesskey="n">Name</label>
    ###error_name###<input type="text" name="name" id="name" value="###value_name###" tabindex="1"/>
    <br/>
    <label for="subject" accesskey="s">Subject</label>
    ###error_subject###<input type="text" name="subject" id="subject" value="###value_subject###" tabindex="2"/>
    <br/>
    <label for="email" accesskey="e">e-mail</label>
    ###error_email###<input type="text" name="email" id="email" value="###value_email###" tabindex="3"/>
    <br/>
    <label for="phone" accesskey="p">Phone</label>
    ###error_phone###<input type="text" name="phone" id="phone" value="###value_phone###" tabindex="4"/>
    <br/>
    <label for="topic" accesskey="t">Topic</label>
    ###error_topic###<select name="topic" style="width:320px;" tabindex="5">
    <option value="leer" ###selected_topic_leer###></option>
    <option value="webdesign" ###selected_topic_webdesign###>Webdesign</option>
    <option value="hosting" ###selected_topic_hosting###>Webhosting</option>
    <option value="price" ###selected_topic_price###>Price for...</option>
    <option value="feedback" ###selected_topic_feedback###>Feedback</option>
    </select>
    <br/>
    <label for="text" accesskey="c">Text</label>
    <textarea cols="50" rows="5" name="text" id="text" style="width:320px;" tabindex="6">###value_text###</textarea>
    <br/>
    <br /><p>Please contact me via:</p><br/>
    <input tabindex="7" type="radio" name="contact_via" value="email" id="contact_email" style="border-style:none;" ###checked_contact_via_email###><label for="contact_email">e-mail </label>
    <input tabindex="8" type="radio" name="contact_via" value="phone" id="contact_phone" style="border-style:none;" ###checked_contact_via_phone### /><label for="contact_phone">Phone</label>
    <br/>
    <br />please send us your photo...<br/>
    <label for="photo" accesskey="f">Photo:</label><br/>
    number of allowed files: ###photo_numberOfAllowedFiles###<br/>
    allowed file types: ###photo_fileTypes###<br/>
    allowed file size per picture: ###photo_fileSize###<br/>
    already uploaded files: ###photo_numberOfUploadedFiles###<br/>
    remaining files: ###photo_numberOfRemainingFiles###<br/>
    ###error_photo######value_photo###<input type="file" name="photo" id="photo" size="20" maxlength="50000" accept="image" tabindex="9"/><br/>
    <br/>
    <label for="cv" accesskey="v">CV:</label><br/>
    number of allowed files: ###cv_numberOfAllowedFiles###<br/>
    allowed file types: ###cv_fileTypes###<br/>
    allowed file size per file: ###cv_fileSize###<br/>
    already uploaded files: ###cv_numberOfUploadedFiles###<br/>
    remaining files: ###cv_numberOfRemainingFiles###<br/>
    ###error_cv######value_cv###<input type="file" name="cv" id="cv" size="20" maxlength="50000" accept="*.pdf,*.doc" tabindex="10"/>
    <br/>
    <input type="submit" value="submit" tabindex="11"/><br/>
    ###ADDITIONAL_MULTIPAGE###
    </fieldset>
    </form>
    <!-- ###TEMPLATE_FORM### end -->

    <!-- ###TEMPLATE_PRINT### begin -->
    You just filled out the following fields:<br/>
    Name: ###name###<br/>
    Subject: ###subject###<br/>
    <br/>
    you uploaded the following files:<br/>
    ###photo###
    <br/>
    ###cv###
    <br/>
    <!-- ###TEMPLATE_PRINT### 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>
    you have uploaded the following files:<br/>
    <hr>
    ###photo###<br/>
    <!-- ###TEMPLATE_SUBMITTED_OK### end -->

    <!-- ###TEMPLATE_EMAIL_USER### begin
    OPTIONAL - this will be the email text that is sent to the user (plaintext!)
    -->
    Hello ###name### (plain),
    You have just filled out the form and asked about:
    ###subject###

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

    ###cv###
    We will contact you as soon as possible,
    ciao!
    <!-- ###TEMPLATE_EMAIL_USER### end -->

    <!-- ###TEMPLATE_EMAIL_USER_HTML### begin
    OPTIONAL - this will be the email text that is sent to the user (html!)
    -->
    Hello ###name### (html),<br/>
    You have just filled out the form and asked about:<br/>
    ###subject###<br/>
    <br/>
    you uploaded the following files:<br/>
    ###photo###<br/>
    <br/>
    ###cv###
    <br/>
    We will contact you as soon as possible,<br/>
    ciao!
    <!-- ###TEMPLATE_EMAIL_USER_HTML### end -->

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

    uploaded files:
    ###photo###

    ###cv###

    please contact the user: ###email###
    <!-- ###TEMPLATE_EMAIL_RECEIVER### end -->

    <!-- ###TEMPLATE_EMAIL_RECEIVER_HTML### 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 (html),<br/>
    A user just filled out the form:<br/>
    name: ###name###<br/>
    subject: ###subject###<br/>
    <br/>
    uploaded files:<br/>
    ###photo###
    <br/>
    ###cv###
    <br/>
    please contact the user: ###email###<br/>
    <!-- ###TEMPLATE_EMAIL_RECEIVER_HTML### 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 -->
    [/HTML]

    LG Karsten


  • 1
  • Tevsa Tevsa
    Sternenflotten-Admiral
    0 x
    171 Beiträge
    5 Hilfreiche Beiträge
    16. 08. 2007, 09:54

    Hallo, ich frage nur nach:
    unter "Liste" und "Neuen Datensatz anlegen" und dort Mailformplus ausgewählt hast du gemacht?

    Lieben Gruß
    Tevsa

    Irgend etwas is' ja immer...


  • 0 x
    16. 08. 2007, 10:36

    Halo
    Ich habe eine Seite erstellt und habe dann mit dem Knopf "Erstelle einen neuen Datensatz am Anfang dieser Spalte" einen Mailformplus Datensatz, wie vorhin unter zweitens beschrieben erstellt.

    Muss man dann dieser Datensatz über die Liste einfügen?
    Liste, Neuen Datensatz anlegen, mailformplus

    Ich versuchte dieses zu machen aber es ging nicht. Ich habe sämtliche Angaben gesetzt und am Ende, nach dem speichern, kam die Fehlermeldung:
    Pfad:
    Sie haben nicht die nötigen Rechte, um diese Änderung durchzuführen.
    Das ist natürlich Quatsch weil ich selbst bin doch der oberste Webadmin.

    Besten Dank für jeden weiteren Hinweis

    Liebe Grüsse Sebastian

  • 0 x
    14 Beiträge
    0 Hilfreiche Beiträge
    16. 08. 2007, 11:09

    Hast du dir mal die mailformplus_demo.html angeschaut??

    Du hast wild irgendwelche Marker gesetzt die von der Extension gar nicht erkannt werden...

    Hier der Inhalt der mailformplus_demo.html:

    [HTML]####################################
    # #
    # ext: th_mailformplus #
    # #
    # by: Dev-Team #
    # email: dev@typoheads.at #
    # www: http://www.typoheads.at #
    # #
    # donations welcome :) #
    # #
    ####################################

    ####################################
    # #
    # EXAMPLE TypoScript settings #
    # #
    ####################################
    # TypoScript settings for saving submitted data into a DB table of your choice
    ####################################
    plugin.tx_thmailformplus_pi1.saveDB = 1
    plugin.tx_thmailformplus_pi1.saveDB {
    dbTable = tt_content

    # change .96. to an existing page-ID in your TYPO3 project
    dbinsert=pid:96,hidden:0,CType:textpic

    # if dbkey is not set: "uid" is taken
    dbkey =uid

    # [inputFieldName]:[DBName]mapping=name:header,subject:bodytext,photo:image,photo2:image

    # translate form field checkbox arrays to TYPO3 Backend checkbox arrays
    powMapping.[db-fieldname].[form-inputname] = [int]

    # crop string (e.g. form a textarea) to int number of chars
    cropTextArea.[db-fieldname] = [int]

    # enable special mappings
    specialMapping = 1
    specialMapping {

    # store submission datetime in format YYYY-MM-DD HH:SS
    sub_datetime = [fieldname]

    # set timestamp (submission time) to field crdate
    crdate = 1

    # store submission IP to field
    logIP = [fieldname]

    # store uid to a second field (reference).
    # Enables storage in CSV as well and
    # activates marker ###DB_UID### in E-Mails
    storeuid = [fieldname]}
    }

    ###################################
    #
    # example TypoScript settings for example below:
    #
    ###################################
    ######################################
    # here we overwrite the default configuration for
    # file uploads defined in saveDB. for one
    # specific field
    ######################################
    plugin.tx_thmailformplus_pi1.fieldConf {
    email {
    errorCheck = email
    defaultValue.value = peter
    }
    cv {
    numberOfAllowedFiles = 3
    fileTypes = pdf,doc
    fileSize = 500000
    fileUpload = uploads/pics/
    errorText = <li>CV not filled out correctly</li><br/>
    uploadedFiles {
    template = ###fileName### ###fileSize######linkDelete_start###löschen###linkDelete_stop###<br/>
    wrap = <div>|</div>
    }
    uploadedFiles.mail {
    plainTemplate = ###filePath######fileName###
    HTMLTemplate = <a href="###filePath######fileName###">###fileName###</a><br/>
    plainWrap = File start:|file end
    HTMLWrap = File start:|<br/>file end<br/>
    }
    }
    photo {
    numberOfAllowedFiles = 2
    fileTypes = jpg,gif
    fileSize = 200000
    fileUpload = uploads/pics/
    errorText = <li>PHOTO not filled out correctly</li><br/>
    ###########################
    # template
    ###########################
    # markers:
    # fileName ... uploaded filename
    # fileSize ... size of uploaded file
    #
    # [either use link or submit depending on multipage_without_js]
    # linkDelete_start ... <a>-start-tag
    # linkDelete_stop ... </a>-end-tag
    # submitDelete ... name-attribute for input type="submit" (needs multipage_without_js)
    # submitDeleteHidden ... required for submitDelete (needs multipage_without_js)
    ###########################
    # template for all steps
    ###########################
    uploadedFiles {
    template = ###fileName### ###fileSize######linkDelete_start###löschen###linkDelete_stop###<input type="submit" ###submitDelete### />löschen###submitDeleteHidden###<br/>
    wrap = <div>|</div>
    }
    ###########################
    # template for PRINT-template (summary)
    ###########################
    uploadedFiles.print {
    template = <a href="###filePath######fileName###" target="_blank">###fileName###</a> (###fileSize###)<br/>
    wrap = <div>|</div>
    }
    ###########################
    # template only for mail (default for receiver and user)
    ###########################
    uploadedFiles.mail {
    plainTemplate = ###filePath######fileName###
    HTMLTemplate = <a href="###filePath######fileName###">###fileName###</a><br/>
    plainWrap = File start:|file end
    HTMLWrap = File start:|<br/>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 = ReceiverFile start:|file end
    HTMLWrap = ReceiverFile start:|<br/>file end<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 = UserFile start:|<br/>file end<br/>
    HTMLWrap = UserFile start:|file end<br/>
    }
    }
    }

    <!-- ###TEMPLATE_FORM### begin -->
    ###ERROR###
    <form name="Formular" method="post" action="###REL_URL###" enctype="multipart/form-data">
    <fieldset>
    <legend>Personal Information</legend>
    <input type="hidden" name="id" value="###PID###" />
    <input type="hidden" name="submitted" value="1" />
    <input type="hidden" name="L" value="###value_L###" />
    <input type="hidden" name="type" value="###value_type###" />

    <div>
    <label for="name" accesskey="n">Name</label>
    ###error_name###<input type="text" name="name" id="name" value="###value_name###" tabindex="1"/>
    <br/>
    <label for="subject" accesskey="s">Subject</label>
    ###error_subject###<input type="text" name="subject" id="subject" value="###value_subject###" tabindex="2"/>
    <br/>
    <label for="email" accesskey="e">e-mail</label>
    ###error_email###<input type="text" name="email" id="email" value="###value_email###" tabindex="3"/>
    <br/>
    <label for="phone" accesskey="p">Phone</label>
    ###error_phone###<input type="text" name="phone" id="phone" value="###value_phone###" tabindex="4"/>
    <br/>
    <label for="topic" accesskey="t">Topic</label>
    ###error_topic###<select name="topic" style="width:320px;" tabindex="5">
    <option value="leer" ###selected_topic_leer###></option>
    <option value="webdesign" ###selected_topic_webdesign###>Webdesign</option>
    <option value="hosting" ###selected_topic_hosting###>Webhosting</option>
    <option value="price" ###selected_topic_price###>Price for...</option>
    <option value="feedback" ###selected_topic_feedback###>Feedback</option>
    </select>
    <br/>
    <label for="text" accesskey="c">Text</label>
    <textarea cols="50" rows="5" name="text" id="text" style="width:320px;" tabindex="6">###value_text###</textarea>
    <br/>
    <br /><p>Please contact me via:</p><br/>
    <input tabindex="7" type="radio" name="contact_via" value="email" id="contact_email" style="border-style:none;" ###checked_contact_via_email###><label for="contact_email">e-mail </label>
    <input tabindex="8" type="radio" name="contact_via" value="phone" id="contact_phone" style="border-style:none;" ###checked_contact_via_phone### /><label for="contact_phone">Phone</label>
    <br/>
    <br />please send us your photo...<br/>
    <label for="photo" accesskey="f">Photo:</label><br/>
    number of allowed files: ###photo_numberOfAllowedFiles###<br/>
    allowed file types: ###photo_fileTypes###<br/>
    allowed file size per picture: ###photo_fileSize###<br/>
    already uploaded files: ###photo_numberOfUploadedFiles###<br/>
    remaining files: ###photo_numberOfRemainingFiles###<br/>
    ###error_photo######value_photo###<input type="file" name="photo" id="photo" size="20" maxlength="50000" accept="image" tabindex="9"/><br/>
    <br/>
    <label for="cv" accesskey="v">CV:</label><br/>
    number of allowed files: ###cv_numberOfAllowedFiles###<br/>
    allowed file types: ###cv_fileTypes###<br/>
    allowed file size per file: ###cv_fileSize###<br/>
    already uploaded files: ###cv_numberOfUploadedFiles###<br/>
    remaining files: ###cv_numberOfRemainingFiles###<br/>
    ###error_cv######value_cv###<input type="file" name="cv" id="cv" size="20" maxlength="50000" accept="*.pdf,*.doc" tabindex="10"/>
    <br/>
    <input type="submit" value="submit" tabindex="11"/><br/>
    ###ADDITIONAL_MULTIPAGE###
    </fieldset>
    </form>
    <!-- ###TEMPLATE_FORM### end -->

    <!-- ###TEMPLATE_PRINT### begin -->
    You just filled out the following fields:<br/>
    Name: ###name###<br/>
    Subject: ###subject###<br/>
    <br/>
    you uploaded the following files:<br/>
    ###photo###
    <br/>
    ###cv###
    <br/>
    <!-- ###TEMPLATE_PRINT### 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>
    you have uploaded the following files:<br/>
    <hr>
    ###photo###<br/>
    <!-- ###TEMPLATE_SUBMITTED_OK### end -->

    <!-- ###TEMPLATE_EMAIL_USER### begin
    OPTIONAL - this will be the email text that is sent to the user (plaintext!)
    -->
    Hello ###name### (plain),
    You have just filled out the form and asked about:
    ###subject###

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

    ###cv###
    We will contact you as soon as possible,
    ciao!
    <!-- ###TEMPLATE_EMAIL_USER### end -->

    <!-- ###TEMPLATE_EMAIL_USER_HTML### begin
    OPTIONAL - this will be the email text that is sent to the user (html!)
    -->
    Hello ###name### (html),<br/>
    You have just filled out the form and asked about:<br/>
    ###subject###<br/>
    <br/>
    you uploaded the following files:<br/>
    ###photo###<br/>
    <br/>
    ###cv###
    <br/>
    We will contact you as soon as possible,<br/>
    ciao!
    <!-- ###TEMPLATE_EMAIL_USER_HTML### end -->

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

    uploaded files:
    ###photo###

    ###cv###

    please contact the user: ###email###
    <!-- ###TEMPLATE_EMAIL_RECEIVER### end -->

    <!-- ###TEMPLATE_EMAIL_RECEIVER_HTML### 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 (html),<br/>
    A user just filled out the form:<br/>
    name: ###name###<br/>
    subject: ###subject###<br/>
    <br/>
    uploaded files:<br/>
    ###photo###
    <br/>
    ###cv###
    <br/>
    please contact the user: ###email###<br/>
    <!-- ###TEMPLATE_EMAIL_RECEIVER_HTML### 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 -->
    [/HTML]

    LG Karsten


  • 0 x
    16. 08. 2007, 13:37

    Danke Karsten für den Hinweis
    Ich habe nun mal die HTML ersetzt und Deinen geposteten Code so wie er ist in die HTML eingefügt, aber es ist unverändert vom Erscheinungsbild her. Es wird weiterhin nur die Überschrift angezeigt.

    Kann es sein, dass ich etwas in ein Template schreiben muss?
    Oder muss im Setup irgendwo einen Haaken gesetzt oder einen Pfad angegeben werden?

    Besten Dank für jede weiteren Hinweise

    Grüsse Sebasbastian

  • HerrJeh HerrJeh
    R2-D2
    0 x
    108 Beiträge
    0 Hilfreiche Beiträge
    28. 08. 2007, 18:30

    hi sebastian,

    keine ahnung, ob das noch aktuell ist, aber spiel mal das html-template erst auf den server und greif dann darauf zu. der "direkte" upload via flexform funzt bei mir auch nicht. extra mailform-datensatz musst du imo in den neuen versionen gar nicht mehr angeben.

    gruß,
    andré

  • 1