[TYPO3-german] Zusätzliche Felder

Nicolas Puente nicolas.puente at lgb-rlp.de
Mon Sep 17 17:03:07 CEST 2012


Hallo,

seit zwei Tagen suche ich und finde keine Lösung: an welcher Stelle muss ich ansetzen, wenn ich "sr_feuser_register" um ein zusätziches Datei-Upload-Feld erfolgreich erweitern will? Vor de Update hat alles perfekt funktioniert. Vor de Update hat alles perfekt funktioniert.
Vor de Update hat alles perfekt funktioniert (sind mehrere neue Felder da).

Hier meine Template:

  <!-- ###SUB_INCLUDED_FIELD_tx_srfeuserpue_cvitae### -->
   <dt>
     <labelfor="tx-srfeuserregister-pi1-tx_srfeuserpue_cvitae-0">###LABEL_TX_SRFEUSERPUE_CVITAE### ###REQUIRED_TX_SRFEUSERPUE_CVITAE###</label>
   </dt>
   <dd>
     <!-- ###SUB_ERROR_FIELD_tx_srfeuserpue_cvitae### -->
     <pclass="tx-srfeuserregister-pi1-error">###EVAL_ERROR_FIELD_tx_srfeuserpue_cvitae###</p>
     <!-- ###SUB_ERROR_FIELD_tx_srfeuserpue_cvitae### -->
     <!-- ###SUB_REQUIRED_FIELD_tx_srfeuserpue_cvitae### -->
     <pclass="tx-srfeuserregister-pi1-error">###MISSING_TX_SRFEUSERPUE_CVITAE###</p>
     <!-- ###SUB_REQUIRED_FIELD_tx_srfeuserpue_cvitae### -->
     <inputid="tx-srfeuserregister-pi1-tx_srfeuserpue_cvitae-0"class="tx-srfeuserregister-pi1-uploader"type="file"size="40"title="Si
  lo desea puede ingresar una imagen. El formato de la foto puede ser
PNG, JPG, JPEG, GIF, TIF o TIFF y no debe superar los 500kb."size="32"type="file"name="FE[fe_users][tx_srfeuserpue_cvitae][0]"/><br/>
   </dd>
   <!-- ###SUB_INCLUDED_FIELD_tx_srfeuserpue_cvitae### -->

###############################################################################
<!-- ###SUB_INCLUDED_FIELD_tx_srfeuserpue_cvitae### -->
<dt>###LABEL_TX_SRFEUSERPUE_CVITAE###</dt>
<dd>###UPLOAD_PREVIEW_tx_srfeuserpue_cvitae###&nbsp;</dd>
<!-- ###SUB_INCLUDED_FIELD_tx_srfeuserpue_cvitae### -->

Script:

|  'tx_srfeuserpue_cvitae'=> array (
         'exclude'=>0,
         'label'=>'LLL:EXT:sr_feuser_pue/locallang_db.xml:fe_users.tx_srfeuserpue_cvitae',
         'config'=> array (
             'type'=>'group',
             'internal_type'=>'file',
             'allowed'=>'pdf, doc',
             'disallowed'=>'php,php3',
             'max_size'=>$GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
             'uploadfolder'=>'uploads/tx_srfeuserpue',
             'show_thumbs'=>1,
             'size'=>1,
             'minitems'=>0,
             'maxitems'=>1,
         )
     ),|

*ext_localconf.php:

<?php

if (TYPO3_MODE=='FE'){
	$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sr_feuser_register']['extendingTCA'][] = 'sr_feuser_pue';
}
?>



*



More information about the TYPO3-german mailing list