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

Sebastian Michaelsen sebastian.gebhard at gmail.com
Wed Jun 30 23:07:57 CEST 2010


Attached is v2 which:

* Applies to current trunk
* Has a modified syntax

mod.web_list.tableControls{
   pages.blind{
     show = 1
     edit = 1
     move = 1
     info = 1
     history = 1
     versions = 1
     permissions = 1
     newRecordAfter = 1
     upDown = 1
     hideUnhide = 1
     delete = 1
     moveLevels = 1
   }
}

hides all icons

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 13183_v2.diff
Type: text/x-diff
Size: 9760 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100630/79107742/attachment.diff>


More information about the TYPO3-team-core mailing list