定制 evoweb/ew-collapsible-container 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

evoweb/ew-collapsible-container

最新稳定版本:2.3.0

Composer 安装命令:

composer require evoweb/ew-collapsible-container

包简介

Collapsible container

README 文档

README

build Latest Stable Version Monthly Downloads Total Downloads

Installation

via Composer

The recommended way to install ew_collapsible_container is by using Composer:

composer require evoweb/ew-collapsible-container

quick introduction

Adds ability to collapse a container in backend to get children out of the way.

Add 'collapsed' to column definition when registering ContainerConfiguration to collapse elements initially.

$configuration = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
    \B13\Container\Tca\ContainerConfiguration::class,
    'demo_container',
    $languageFile . 'CType.I.demo_container',
    $languageFile . 'CType.I.demo_container-plus_wiz_description',
    [
        [
            [
                'name' => 'Elements',
                'colPos' => 200,
                'allowed' => ['CType' => 'kwicks_element'],
                'collapsed' => true,
                'minitems' => 1,
                'maxitems' => 5,
            ]
        ]
    ]
);

$configuration->setGroup('ew_fischer');
$configuration->setIcon('content-card-group');

GeneralUtility::makeInstance(Registry::class)->configureContainer($configuration);

Add setTemplate to disable ability to collapse for defined container elements.

$configuration->setGridTemplate('EXT:container/Resources/Private/Templates/Grid.html');

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 2
  • 开发语言: Shell

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2024-01-05