[TYPO3-core] Feature request #2695

Bernhard Kraft kraftb at kraftb.at
Fri Feb 24 21:39:10 CET 2006


Franz Holzinger wrote:

>>$TCA[$tableName]['ctrl']['hideTableList']
>>
> 
> use
> 
> $TCA[$tableName]['ctrl']['hideList']
> 
> This is in TCA, so its a table.

Ok.

>>$dblist->hideTables = $this->modTSconfig['properties']['hideTables']
>>
> 
> 
> $dblist->hideList = $this->modTSconfig['properties']['hideList']
> 
> 
> So use everywhere 'hideList' instead of 'hideTables'.

I think here we should use "hideTables" ... because it's

mod.web_list.hideTables

mod.web_list.hideList doesn't sound that nice and is rather wrong .. you define
something like:

mod.web_list.hideTables = tx_kbshop_product_segment_SECTION,tx_another_table

so your "hideList" rather means "the list of tables to hide" altough "tables" isn't excatly clear here.

"hideTables" is better in this place I think.


> +1

I attach a new patch. If you are unfine with that I didn't rename the TSConfig property then
please revoke your +1 :)


greets,
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tableHide_modWebList_2006-02-24.diff
Type: text/x-patch
Size: 2100 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060224/bd4b448a/attachment.bin 


More information about the TYPO3-team-core mailing list