[TYPO3-core] RFC #8785: Bug: TCAselectItem not working for all tables

Ralf Hettinger ng at ralfhettinger.de
Mon Aug 16 22:54:28 CEST 2010


+1 by reading and testing.

Am 14.08.2010 00:51 schrieb Sebastian Michaelsen:
> This is an SVN patch request.
> 
> Type: Bug
> 
> Bugtracker references: http://bugs.typo3.org/view.php?id=8785
> 
> Branches: trunk
> 
> Problem:
> Mostly the stdWrap feature TCAselectItem. is not working for tables, which come from own extensions. 
> The TCA columns are not included.
> 
> Solution:
> Load the columns with t3lib_div::loadTCA($table)
> 
> Notes:
> In the BT Benni said, that this should be done by tslib_fe, but tslib_fe->includeTCA() says: "To 
> load full TCA for the table, use t3lib_div::loadTCA($tableName) after calling this function." So I 
> think t3lib_div::loadTCA($table) is ok.
> 
> How to test:
> 
> * Install TemplaVoilá
> * Run following TS:
> page.20 = TEXT
> page.20.value = 1
> page.20.TCAselectItem {
>      table = tx_templavoila_datastructure
>      field = scope
>      delimiter = ,
> }
> 
> You should get "Page Template".
> 
> Kind regards,
> Sebastian


More information about the TYPO3-team-core mailing list