Hide buttons in Listview
Currently it is not possible to hide specific icons of the list view (with Extended view enabled). It is a all or nothing.
With the attached patch it is possible to
- hide specific icons for all tables
- hide specific icons for specific tables.
Syntax is the following one in Page TsConfig
mod.web_list.hideIcon.pages = view,info
mod.web_list.hideIcon = edit
the following icons are hideable:
view, edit, move, info, history, versioning, permission, newafter, sort, hide, delete, movelevel
(issue imported from #M7948)
Updated by Markus Bucher about 12 years ago
Confirmed the patch, still working in 4.2.5.
But: having spaces after the commata in Ts doesn't work.
mod.web_list.hideIcon.tt_content = delete,newafter,history,versioning,move,info,sort
mod.web_list.hideIcon.tt_content = delete, newafter, history, versioning, move, info, sort
Here only "delete" is evaluated
Updated by Bernhard Kraft about 12 years ago
There is an extension from me, which utilizes a hook, to allow exactly this feature.
Not everything must be packed into the core:
It comes with even more featuers (Showing buttons depending on BE user/group) and full documentation. Have phun. If this fits your needs, feel free to change this bug to resolved.