承接 markocupic/contao-custom-global-operation 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

markocupic/contao-custom-global-operation

最新稳定版本:1.0.6

Composer 安装命令:

composer require markocupic/contao-custom-global-operation

包简介

Extends the Contao Backend Global Operation Navigation

README 文档

README

Alt text

Mehr Übersicht bei vielen Global Operations im Contao Backend

Falls ein Contao Backend Modul über viele globale Operationen verfügt, kann die Navigation schnell unübersichtlich werden.

Hier hilft diese Erweiterung für Contao. Die verschiedenen Menupunkte lassen sich thematisch grupieren und geordnet ausgeben.

Alt text

Konfiguration

Die Konfiguration erfolgt Contao-Typisch über das DCA. Beachten Sie dabei folgende zwei keys:

custom_glob_op: Mit custom_glob_op => true aktivieren Sie customisierte Ausgabe des Menupunktes. Mit dem Array custom_glob_op_options => [] kann der Menupunnkt noch zusätzlich konfiguriert werden oder auch weggelassen werden.

	'global_operations' => [
        'all'                          => [
            'href'       => 'act=select',
            'class'      => 'header_edit_all',
            'attributes' => 'onclick="Backend.getScrollOffset()" accesskey="e"',
        ],
        'glob_operation_one' => [
            'href'                   => 'action=glob_operation_one',
            'class'                  => 'glob_operation_one',
            'icon'                   => 'bundles/myawesomecontaobundle/icons/file-word-regular.svg',
            'attributes'             => 'onclick="Backend.getScrollOffset()" accesskey="e"',
            'custom_glob_op'         => true,
            'custom_glob_op_options' => ['add_to_menu_group' => 'my_menu_one', 'sorting' => 10],
        ],
        'glob_operation_two' => [
            'href'                   => 'action=glob_operation_two',
            'class'                  => 'glob_operation_one',
            'icon'                   => 'bundles/myawesomecontaobundle/icons/file-excel-regular.svg',
            'attributes'             => 'onclick="Backend.getScrollOffset()" accesskey="e"',
            'custom_glob_op'         => true,
            'custom_glob_op_options' => ['add_to_menu_group' => 'my_menu_one', 'sorting' => 20],
        ],
        'glob_operation_three' => [
            'href'                   => 'action=glob_operation_three',
            'class'                  => 'glob_operation_one',
            'icon'                   => 'bundles/myawesomecontaobundle/icons/file-pdf-regular.svg',
            'attributes'             => 'onclick="Backend.getScrollOffset()" accesskey="e"',
            'custom_glob_op'         => true,
            'custom_glob_op_options' => ['add_to_menu_group' => 'my_menu_two', 'sorting' => 30],
        ],
	],

统计信息

  • 总下载量: 4.01k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 4
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-09