[TYPO3-UG Dutch] ###UPLOAD_tx_extra_foto### probleem

Rik Willems rik at actiview.nl
Mon Jun 21 10:52:20 CEST 2010


Hoi Willem,

Heb je ook iets als dit in je ext_tables.php staan?

t3lib_div::loadTCA('fe_users');
t3lib_extMgm::addTCAcolumns('fe_users',$tempColumns,1);
t3lib_extMgm::addToAllTCAtypes('fe_users','tx_extra_foto;;;;1-1-1');


Groet, Rik



Op 21-6-2010 9:58, Drs. ing. W.S.M. Perquin schreef:
> Hmm, Helemaal lukken doet het niet bij me.
>
>
>
> M'n ext_tables.php ziet er als volgt uit:
>
> $tempColumns = array (
>
>              'tx_extra_foto' =>  array (
>
>                          'exclude' =>  0,
>
>                          'label' =>
> 'LLL:EXT:extra/locallang_db.xml:fe_users.tx_extra_foto',
>
>                          'config' =>  array (
>
>                                     'type' =>  'group',
>
>                                     'internal_type' =>  'file',
>
>                                     'allowed' =>  'gif,png,jpeg,jpg',
>
>                                     'max_size' =>
> $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
>
>                                     'uploadfolder' =>  'uploads/tx_extra',
>
>                                     'show_thumbs' =>  1,
>
>                                     'size' =>  1,
>
>                                     'minitems' =>  0,
>
>                                     'maxitems' =>  1,
>
>                          )
>
>              ),
>
> );
>
>
>
> En de betreffende sr_feuserregister template bevat de volgende tekst:
>
> <!-- ###SUB_INCLUDED_FIELD_tx_extra_foto### -->
>
>              <dt>
>
>                          <label
> for="tx-srfeuserregister-pi1-tx_extra_foto-0">###LABEL_TX_EXTRA_FOTO###
> ###REQUIRED_TX_EXTRA_FOTO###</label>
>
>              </dt>
>
>              <dd>
>
>                          <!-- ###SUB_ERROR_FIELD_tx_extra_foto### -->
>
>                          <p
> class="tx-srfeuserregister-pi1-error">###EVAL_ERROR_FIELD_tx_extra_foto###</
> p>
>
>                          <!-- ###SUB_ERROR_FIELD_tx_extra_foto### -->
>
>                          <!-- ###SUB_REQUIRED_FIELD_tx_extra_foto### -->
>
>                          <p
> class="tx-srfeuserregister-pi1-error">###MISSING_TX_EXTRA_FOTO###</p>
>
>                          <!-- ###SUB_REQUIRED_FIELD_tx_extra_foto### -->
>
>                          ###UPLOAD_tx_extra_foto###
>
>              </dd>
>
>              <!-- ###SUB_INCLUDED_FIELD_tx_extra_foto### -->
>
>
>
> Ook de ext_localconf.php toegevoegd met de regel:
>
> <?php
>
> if (TYPO3_MODE=='FE'){
>
>
>
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sr_feuser_register']['extendingTCA']
> [] = 'ovbd_v1_2010';
>
>
>
> }
>
>
>
> ?>
>
>
>
>
>
> Dan nog zie ik op het beeldscherm:
>
> Plaats hier een foto: ###UPLOAD_tx_extra_foto###
>
>
>
> Wat zie ik over het hoofd?
>
>
>
> Willem
>


More information about the TYPO3-UG-Dutch mailing list