Project

General

Profile

Actions

Feature #21928

open

Enable/Disable Control Icons in the List Module via PageTS/UserTS

Added by Sebastian Michaelsen over 14 years ago. Updated about 6 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Start date:
2010-01-08
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.5
Tags:
Complexity:
Sprint Focus:

Description

For each record in the databse the List module offers a variety of funtions. 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 is to introduce some properties to mod.web_list (which is avaiable 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.

Now you can disable Icons depending on Be-User, Page and Database Table.

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, showing which property belongs to which icon.
(issue imported from #M13183)


Files

listmod_controls.png (21.2 KB) listmod_controls.png Administrator Admin, 2010-01-08 14:14
13183_v1.diff (9.42 KB) 13183_v1.diff Administrator Admin, 2010-01-08 14:16

Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Feature #16061: to not show edit icon if user hasn't modify permissionClosed2006-04-18

Actions
Related to TYPO3 Core - Story #82206: list module enhancements/bugfixesNew2005-07-21

Actions
Actions

Also available in: Atom PDF