[TYPO3-german] Dateiupload in FrontEnd Benutzer Registrierung
    pue 
    nicolas.puente at lgb-rlp.de
       
    Fri Dec  2 11:29:38 CET 2011
    
    
  
Würde gerne meine FrontEnd Benutzer Registrierung so verändern, das man 
beim Dateiupload auch PDF's und Doc's uploaden kann. Ich finde die 
Lösung nicht. Hat jemand eine Idee?
In Template:
Das funktioniert!!!
<!-- ###SUB_INCLUDED_FIELD_tx_srfeuserpue_cvitae### -->
<dt>
<label 
for="tx-srfeuserregister-pi1-tx_srfeuserpue_cvitae">###LABEL_TX_SRFEUSERPUE_CVITAE###</label>
<span 
class="tx-srfeuserregister-pi1-required">###REQUIRED_TX_SRFEUSERPUE_CVITAE###</span>
</dt>
<dd>
<!-- ###SUB_ERROR_FIELD_tx_srfeuserpue_cvitae### -->
<p 
class="tx-srfeuserregister-pi1-error">###EVAL_ERROR_FIELD_tx_srfeuserpue_cvitae###</p>
<!-- ###SUB_ERROR_FIELD_tx_srfeuserpue_cvitae### -->
<!-- ###SUB_REQUIRED_FIELD_tx_srfeuserpue_cvitae### -->
<p 
class="tx-srfeuserregister-pi1-error">###MISSING_TX_SRFEUSERPUE_CVITAE###</p>
<!-- ###SUB_REQUIRED_FIELD_tx_srfeuserpue_cvitae### -->
<input id="tx-srfeuserregister-pi1-tx_srfeuserpue_cvitae" type="file" 
size="32" title="###TOOLTIP_TX_SRFEUSERPUE_CVITAE###" 
name="###NAME_TX_SRFEUSERPUE_CVITAE###" 
class="tx-srfeuserregister-pi1-uploader" />
</dd>
<!-- ###SUB_INCLUDED_FIELD_tx_srfeuserpue_cvitae### -->
Previeu:
Funktioniert nicht!!!!
<!-- ###SUB_INCLUDED_FIELD_tx_srfeuserpue_cvitae### -->
<dt>###LABEL_TX_SRFEUSERPUE_CVITAE###</dt>
<dd>###UPLOAD_PREVIEW_tx_srfeuserpue_cvitae### </dd>
<!-- ###SUB_INCLUDED_FIELD_tx_srfeuserpue_cvitae### -->
In *ext_tables.php*
'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' => '',
             'disallowed' => 'php,php3',
             'max_size' => 
$GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
             'uploadfolder' => 'uploads/tx_srfeuserpue',
             'show_thumbs' => 1,
             'size' => 1,
             'minitems' => 0,
             'maxitems' => 1,
         )
     ),
    
    
More information about the TYPO3-german
mailing list