Feature #21928
closedEnable/Disable Control Icons in the List Module via PageTS/UserTS
0%
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