[TYPO3-dev] Hide table in record listings does not work!?!

Steffen Kamper steffen at sk-typo3.de
Tue Nov 13 16:33:58 CET 2007


"Steffen Kamper" <steffen at sk-typo3.de> schrieb im Newsbeitrag 
news:mailman.1.1194967886.12559.typo3-dev at lists.netfielders.de...
>
> "Malte Jansen" <mail at maltejansen.de> schrieb im Newsbeitrag 
> news:mailman.1.1194967723.12123.typo3-dev at lists.netfielders.de...
>> Hi,
>>
>> I wanted to hide some table the $TCA. In the documentation ('Reference 
>> for the ['ctrl'] section:') it says:
>> Key: hideTable = Boolean
>>
>> http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/4/2/#id3613137
>>
>> So it should look like this, but it does not work.
>>
>> $TCA["tx_mytable"] = array (
>> "ctrl" => array (
>> 'title'     => , 'label'     => ,
>> 'tstamp'    => 'tstamp',
>> 'crdate'    => 'crdate',
>> 'cruser_id' => 'cruser_id',
>> 'hideTable' => 1,
>> ...
>> )
>> );
>>
>> I have overseen somesthing?
>>
>> Cheers,
>>
>> Malte
>
> Hi Malte,
>
> what i do in such cases, i do a search in source for 'hideTable'
>
> What shall i say - no match!
>
> vg Steffen

what you can do is:

$dblist->hideTables = $this->modTSconfig['properties']['hideTables'];

so it's possible with TS.

vg  Steffen 






More information about the TYPO3-dev mailing list