[TYPO3-dev] FYI Hide icons in list view (extended view enabled)

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Fri Mar 7 13:11:02 CET 2008


Steffen Kamper schrieb:
> "Georg Ringer" <news at ringerge.org> schrieb im Newsbeitrag 
> news:mailman.1.1204881866.26459.typo3-dev at lists.netfielders.de...
>> Hi,
>>
>> I would like to write a patch to be able to hide all of the icons in the 
>> extended view. Of course I just could disable the checkbox extended view 
>> but I need this one but not all of the icons
>> For that I wanna discuss the syntax which should be used.
>>
>> Following icons should be configurable:
>> Display Information, Display changes, Create new record after, Sorting 
>> icons, Hide record, Delete record, Copy/Paste.
>>
>> I propose to use mod.web_list in Page TsConfig and there are 2 options
>> - hide the icons of all tables
>> - hide the icons of just one table
>>
>> So what you think about
>> mod.web_list.hideIcon = list
>> and
>> mod.web_list.hideIcon.tt_content = list
>>
>> Of course the key for the icons is also an issue we need to discuss about:
>> Display information => information
>> Display changes => history
>> Create new record => new
>> Sorting icons => sort
>> Hide record => hide
>> Delete record => delete
>> Copy/Paste => copyPaste (don't really know, IMO makes sense to hide/show 
>> the whole combination)
>>
>> so this would be
>> mod.web_list.hideIcon.tt_news = new,delete,information
>>
>> What do you think?
>> Georg
> 
> good idea. I would like a syntax like RTE uses
> 
> mod.web_list.icons := addToList(...)
> mod.web_list.icons := removeFromList(...)

But that's what is proposed. A list of values of a TS properties can either 
be set completely "mod.web_list.icons = ..." or modified 
"mod.web_list.icons := addToList(...)"

There's nothing that needs to be done to support this. It's built in into TS.

Masi




More information about the TYPO3-dev mailing list