[TYPO3-core] RFC #13183: Disable certain Control Icons in the List Module via PageTS/UserTS

Stefan Geith typo3dev2010.nospam1 at geithware.de
Tue Sep 28 13:33:31 CEST 2010


Anything new about this ?

Is it true, that atm it is not prossible to blind e.g. the Delete-Icon ?

I tested:
    options.contextMenu.pageList.disableItems = delete
that disables the delete-button from Context-Menu,
but not in the Control-Icons List ...

/Stefan

Am 08.01.2010 14:26, schrieb Sebastian Gebhard:
> This is an SVN patch request.
>
> Type: Feature
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=13183
>
> Branches:
> trunk
>
> Problem:
> For each record in the databse the List module offers a variety of
> functions. Depending on the Database Table, User Rights and other
> circumstances you can Edit, Move, Delete, Preview etc records.
> But especially for editors with low technical skills the "wall of icons"
> in the extended view can be confusing.
> Yes, you can disable the extended view, but then you might take away
> features the editor needs to perform his tasks.
> Until now it's not possible to disable single Control Icons.
>
> Solution:
> Introduce some properties to mod.web_list (which is available in PageTS
> and UserTS).
> My patch introduces the following properties:
>
> mod.web_list.tableControls.[table].delete.disabled
> mod.web_list.tableControls.[table].edit.disabled
> mod.web_list.tableControls.[table].hideUnhide.disabled
> mod.web_list.tableControls.[table].history.disabled
> mod.web_list.tableControls.[table].info.disabled
> mod.web_list.tableControls.[table].move.disabled
> mod.web_list.tableControls.[table].moveLevels.disabled
> mod.web_list.tableControls.[table].newRecordAfter.disabled
> mod.web_list.tableControls.[table].permissions.disabled
> mod.web_list.tableControls.[table].show.disabled
> mod.web_list.tableControls.[table].upDown.disabled
> mod.web_list.tableControls.[table].versions.disabled
>
> Obviously all of them are boolean and "1" disables the certain icon.
>
> Notes:
> Mind that some of the Controls are only available for certain tables.
> Eg. "moveLevels" is only for pages.
> Though most Icons should be uite clear I attached a screenshot in the
> bugtracker, showing which property belongs to which icon.
> As a starting point for your tests you can use this snippet (PageTS or
> UserTS):
> mod.web_list.tableControls{
> pages{
> delete.disabled = 1
> edit.disabled = 1
> hideUnhide.disabled = 1
> history.disabled = 1
> info.disabled = 1
> move.disabled = 1
> moveLevels.disabled = 1
> newRecordAfter.disabled = 1
> permissions.disabled = 1
> show.disabled = 1
> upDown.disabled = 1
> versions.disabled = 1
> }
> }
>
> Kind regards,
> Sebastian Gebhard


More information about the TYPO3-team-core mailing list