[TYPO3-german] via mailformplus in db einsetze

Basti sebastian.schmal at wacon.de
Wed Dec 19 13:50:40 CET 2007


hallo,

ich wollte via dem mailformplus daten in die db einspeisen.


ich benutzte von tt_news die db und wollte nun mit einem formular die 
daten dort eintragen:


im setup habe ich dies eingetragen:


-------------
plugin.tx_thmailformplus_pi1{
saveDB = 1
saveDB.dbTable = tt_news
saveDB.mapping = 
Kurztext:title,Anschrift:short,Anzeigetext:bodytext,Logo:image,id:pid,hidden:hidden
}
-------------


meine eingabe.html sieht so aus:

-------------
<form name="Formular" method="post" action="index.php" 
enctype="multipart/form-data">

     <input type="hidden" name="id" value="###PID###">
     <input type="hidden" name="pid" value="###value_pid###">
     <input type="hidden" name="submitted" value="1">
     <input type="hidden" name="L" value="0">
	<input type="hidden" name="hidden" value="1">
     <input type="hidden" name="type" value="###value_type###">
	<input type="hidden" name="user_id" value="###FEUSER_UID###">
     ###ERROR### <br />

   <table width="100%" border="0" cellspacing="0" cellpadding="0" 
class="anzeige_temp">
     <tr>
       <td colspan="2">Erstelle eine Anzeige:</td>
	</tr>
     <tr>
       <td><b>Kurztext:</b> </td>
       <td><input maxlength="40" size="35" class="anzeige_input" 
name="Kurztext" value="###value_Kurztext###"/>
       </td>
     </tr>
     <tr>
       <td><b>Anzeigentext:</b> </td>
       <td><textarea rows="6" cols="45" class="anzeige_input" 
name="Anzeigentext">###value_Anzeigentext###</textarea></td>
     </tr>
     <tr>
       <td><b>Anschrift :</b> </td>
       <td><textarea rows="4" cols="45" class="anzeige_input" 
name="Anschrift">###value_Anschrift###</textarea>
       </td>
     </tr>
     <tr>
       <td><b>Logo:</b> </td>
       <td><input maxlength="40" size="35" class="anzeige_input" 
name="Logo" value="###value_Logo###" /></td>
     </tr>
     <tr>
       <td colspan="2">&nbsp;</td>
     </tr>
   </table>
   <table width="80%" cellpadding="0" cellspacing="0" border="0">
     <tr>
       <td><div align="left"><input name="reset" type="reset" 
class="anzeige_submit" value="Eintr&auml;ge l&ouml;schen" /></div></td>
       <td><div align="left"><input name="submit" type="submit" 
class="anzeige_submit" value="Absenden" /></div></td>
     </tr>
   </table>
</form>
<br /><br />
<!-- ###TEMPLATE_FORM### 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)
-->
Es ist eine Kontaktanfrage eingetroffen.
<!-- ###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)
-->
  <table cellspacing="3" >
   <tr>
     <td><strong>Name:</strong></td>
     <td>###Name###</td>
   </tr>
   <tr>
     <td><strong>Vorname:</strong></td>
     <td>###Vorname###</td>
   </tr>
   <tr>
     <td><strong>Strasse:</strong></td>
     <td>###Strasse###</td>
   </tr>
   <tr>
     <td><strong>Ort:</strong></td>
     <td>###Ort###</td>
   </tr>
    <tr>
     <td><strong>Telefon:</strong></td>
     <td>###Telefon###</td>
   </tr>
    <tr>
     <td><strong>E-Mail:</strong></td>
     <td>###eMail###</td>
   </tr>
  </table>
  <br />
  <table cellspacing="3" >
   	 <tr>
       <td><strong>Mitteilung/Fragen:</strong></td>
       <td>###Anmerkungen###</td>
      </tr>
</table>
<!-- ###TEMPLATE_EMAIL_RECEIVER_HTML### end -->
--------------------


ich weiß leider nciht warum, aber er trägt mir keine daten in die db ein :(


More information about the TYPO3-german mailing list