heimrichhannot / contao-categories-bundle
该插件允许在Contao驱动的系统中将可嵌套的分类分配给任意实体。
1.4.6
2023-07-04 08:08 UTC
Requires
- php: ^7.4||^8.0
- contao/core-bundle: ^4.4
- heimrichhannot/contao-multi-column-editor-bundle: ^2.0
- heimrichhannot/contao-request-bundle: ^1.0
- heimrichhannot/contao-utils-bundle: ^2.210
- wa72/htmlpagedom: ^1.3 || ^2.0
Suggests
- heimrichhannot/contao-categories-multilingual-bundle: Adds multilanguage support for categories bundle.
- dev-master
- 1.4.6
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-beta33
- 1.0.0-beta32
- 1.0.0-beta31
- 1.0.0-beta30
- 1.0.0-beta29
- 1.0.0-beta28
- 1.0.0-beta27
- 1.0.0-beta26
- 1.0.0-beta25
- 1.0.0-beta24
- 1.0.0-beta23
- 1.0.0-beta22
- 1.0.0-beta21
- 1.0.0-beta20
- 1.0.0-beta19
- 1.0.0-beta18
- 1.0.0-beta17
- 1.0.0-beta16
- 1.0.0-beta15
- 1.0.0-beta14
- 1.0.0-beta13
- 1.0.0-beta12
- 1.0.0-beta11
- 1.0.0-beta10
- 1.0.0-beta9
- 1.0.0-beta8
- 1.0.0-beta7
- 1.0.0-beta6
- 1.0.0-beta5
- 1.0.0-beta4
- 1.0.0-beta3
- 1.0.0-beta2
- 1.0.0-beta
- dev-feature/formgenerator
- dev-categories-order-fix
- dev-fix/8
- dev-feature/enhancements
This package is auto-updated.
Last update: 2024-08-25 16:04:24 UTC
README
该插件允许在Contao驱动的系统中将可嵌套的分类分配给任意实体。
功能
- 模块采用通用方式实现,即您可以将分类字段分配给任意的DCAs
- 方便地通过简单的函数调用添加单个分类字段(单选按钮)或多个分类字段(复选框)
- 指定可覆盖的属性在分类中,并易于根据给定上下文计算正确的结果
- 多语言支持通过heimrichhannot/contao-categories-multilingual-bundle
- 分类筛选类型用于Contao Filter Bundle
印象
分类管理
主要分类管理视图。点击齿轮图标可以导航到 分类配置。
DCA中的小部件集成
轻松将分类字段添加到您的DCA。标记为 主分类 的分类将以绿色显示。
选择器小部件
单个分类选择器带有单选按钮(允许选择父分类 -> 如有必要可以禁止;不需要主分类标记)
单个分类选择器带有复选框(不允许选择父分类;黄色的星号标记主分类 -> 此属性存储到自动创建的字段 <categoriesFieldname>_primary
中)
使用方法
安装
-
使用Composer或Contao管理器安装插件
composer require heimrichhannot/contao-categories-bundle
-
更新数据库
-
将分类支持添加到您想要的数据容器中,例如新闻
筛选器插件集成
此插件包含两种筛选类型
- CategoryChoiceType 允许您选择分类以过滤列表。
- ParentCategoryChoiceType 是一个初始筛选器,根据父分类过滤您的列表(意味着所有元素都位于所选父分类的子分类中)。