dd/evolutioncms-plugins-managermanager-mm_hideempty
Composer 安装命令:
composer require dd/evolutioncms-plugins-managermanager-mm_hideempty
包简介
A widget for ManagerManager plugin that allows to hide all empty sections and tabs.
关键字:
README 文档
README
A widget for ManagerManager plugin that allows to hide all empty sections and tabs.
Requires
- PHP >= 5.4
- (MODX)EvolutionCMS.plugins.ManagerManager >= 0.7
Installation
To install you must unzip the archive to /assets/plungins/managermanager/widgets/mm_hideempty/.
You may also read this documentation:
Parameters description
-
$params- Desctription: Parameters, the pass-by-name style is used.
- Valid values:
stdClassarrayAssociative
- Required
-
$params->roles- Desctription: The CMS user roles that the widget is applied to.
- Valid values:
arraystringCommaSeparated''— when this parameter is empty then widget is applied to the all roles
- Default value:
''
-
$params->roles[$i]- Desctription: CMS user role ID.
- Valid values:
integer - Required
-
$params->templates- Desctription: Document templates IDs for which the widget is applied to.
- Valid values:
arraystringCommaSeparated''— empty value means the widget is applying to all templates
- Default value:
''
-
$params->templates[$i]- Desctription: Template ID.
- Valid values:
integer - Required
CMS events
OnDocFormPrerenderOnDocFormRender
Examples
Apply for all roles and templates
mm_hideEmpty();
Links
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2022-05-23