承接 heimrichhannot/contao-categories-bundle 相关项目开发

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

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

heimrichhannot/contao-categories-bundle

Composer 安装命令:

composer require heimrichhannot/contao-categories-bundle

包简介

This bundle allows to assign nestable categories to arbitrary entities in Contao-driven systems.

README 文档

README

This bundle allows to assign nestable categories to arbitrary entities in Contao-driven systems.

Features

  • the module is done in a generic way, i.e. you can assign category/categories field(s) to arbitrary DCAs
  • conveniently add single category fields (radio button) or multiple categories fields (checkbox) via a simple function call
  • specify overridable properties in categories and compute the correct result depending on the given context easily
  • multilanguage support via heimrichhannot/contao-categories-multilingual-bundle
  • categories filter type for Contao Filter Bundle

Impressions

Category management

alt preview

Main category management view. By clicking the cog icon you can navigate to the category configs.

Widget integration in your DCA

alt preview

Add category fields to your DCA easily. The category marked as primary category is colored in green.

Picker widgets

alt preview

Single category picker with radio buttons (selecting parent categories is allowed -> can be disallowed if necessary; no primary category marker necessary)

alt preview

Single category picker with checkboxes (selecting parent categories is disallowed; the yellow asterisk marks the primary category -> this attribute is stored to an automatically created field named <categoriesFieldname>_primary)

Usage

Install

  1. Install bundle with composer or contao manager

    composer require heimrichhannot/contao-categories-bundle
    
  2. Update database

  3. Add category support to the datacontainer you want, e.g. news

Filter bundle integration

This bundle comes with two filter types:

  • CategoryChoiceType let you select categories to filter a list.
  • ParentCategoryChoiceType is an inital filter to filter your list based on a parent category (means all elements are in a child category of the selected parent).

Entity structure

alt entities

Table Description
tl_category Contains the category instances
tl_category_association Association table between tl_category and your DCA's table
tl_category_context Defines context keys (simple strings) usable in category configs
tl_category_config Contains category configs. Here you can override properties defined per default in a category linked with a certain category context
tl_category_property_cache Contains the resolved overridable property values

Documentation

Concepts

Technical instructions

Guide: News categories field

heimrichhannot/contao-categories-bundle 适用场景与选型建议

heimrichhannot/contao-categories-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6.78k 次下载、GitHub Stars 达 4, 最近一次更新时间为 2017 年 12 月 06 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 heimrichhannot/contao-categories-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 heimrichhannot/contao-categories-bundle 我们能提供哪些服务?
定制开发 / 二次开发

基于 heimrichhannot/contao-categories-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 5
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2017-12-06