Feature #21928

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

Added by Sebastian Michaelsen over 9 years ago. Updated over 1 year ago.

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

0%

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)

listmod_controls.png View (21.2 KB) Administrator Admin, 2010-01-08 14:14

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


Related issues

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

History

#1 Updated by Mathias Schreiber almost 5 years ago

  • Description updated (diff)
  • Category set to Backend User Interface
  • Status changed from New to Accepted
  • Target version changed from 0 to 7.0
  • PHP Version changed from 4.3 to 5.5

#2 Updated by Mathias Schreiber over 4 years ago

  • Target version changed from 7.0 to 7.1 (Cleanup)

#3 Updated by Benni Mack over 4 years ago

  • Target version changed from 7.1 (Cleanup) to 7.4 (Backend)

#4 Updated by Susanne Moog about 4 years ago

  • Target version changed from 7.4 (Backend) to 7.5

#5 Updated by Benni Mack almost 4 years ago

  • Target version changed from 7.5 to 7 LTS

#6 Updated by Benni Mack almost 4 years ago

  • Target version changed from 7 LTS to 8 LTS

#7 Updated by Riccardo De Contardi over 2 years ago

  • Target version changed from 8 LTS to 9.0

#8 Updated by Susanne Moog over 1 year ago

  • Target version changed from 9.0 to Candidate for Major Version

Also available in: Atom PDF