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

Drs. ing. W.S.M. Perquin perquin at yniverse.nl
Mon Jun 21 09:58:04 CEST 2010


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