承接 toastnz/silverstripe-catalogmanager 相关项目开发

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

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

toastnz/silverstripe-catalogmanager

Composer 安装命令:

composer require toastnz/silverstripe-catalogmanager

包简介

Catalog Manager provides extension for ModelAdmin editing of SiteTree instances

README 文档

README

Catalog administration via a LeftAndMain like interface. Lets you edit and create pages outside of the SiteTree.

Features

Installation

Installation via composer

$ composer require littlegiant/silverstripe-catalogmanager

How to use

Pages

Add the following to a configuration yml file:

CatalogPage:
  extensions:
    - CatalogPageExtension
  parent_classes:
    - CatalogParentPage

Where CatalogPage is the page type you wish to administer (e.g. BlogEntry) and CatalogParentPage is where the pages should be stored in the SiteTree (e.g. BlogHolder). You may have multiple instances of the parent, the administration will provide users with a drop down to choose which page should be the parent.

You can also create pages in the root of the project (i.e. ParentID = 0) by not providing a parent class.

LandingPage:
  extensions:
    - CatalogPageExtension

Then simply extend CatalogPageAdmin instead of ModelAdmin.

DataObjects

You can also manage DataObjects through the CatalogDataObjectExtension

Translations

If you are using the translatable module, you can use the TranslatableCatalogExtension to provide functionality for choosing languages.

CatalogPageAdmin:
  extensions:
    - TranslatableCatalogExtension

Options

Hide pages in CMS

When managing pages with catalogmanager you might want to hide this pages in CMS. You can do this by adding the HidePageChildrenExtension to the holder page, e.g.

CatalogPage:
  extensions:
    - CatalogPageExtension
  parent_classes:
    - 'CatalogParentPage'
CatalogParentPage:
  extensions:
    - HidePageChildrenExtension

Duplication of pages

You can disable the ability to duplicate pages through the can_duplicate configuration setting per object.

CatalogPage:
  extensions:
    - CatalogPageExtension
  parent_classes:
    - 'CatalogParentPage'
  can_duplicate: false

Drag and drop sorting

You can add drag and drop sorting using GridFieldSortableRows when you add the sort_column setting to your configuration. Uses column Sort by default which is default in SiteTree and is added by CatalogDataObjectExtension.

CatalogPage:
  extensions:
    - CatalogPageExtension
  parent_classes:
    - 'CatalogParentPage'
  sort_column: 'CustomSort'

If you want to disable drag and drop sorting just set sort_column to false

CatalogPage:
  extensions:
    - CatalogPageExtension
  parent_classes:
    - 'CatalogParentPage'
  sort_column: false

Sort columns automatically update the sort column of both the staged and live versions of the object. To disable this, you can set the configuration option automatic_live_sort to false through your config.

CatalogPage:
  extensions:
    - CatalogPageExtension
  parent_classes:
    - 'CatalogParentPage'
  automatic_live_sort: false

License

The MIT License (MIT)

Copyright (c) 2015 Little Giant Design Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Contributing

Code guidelines

This project follows the standards defined in:

toastnz/silverstripe-catalogmanager 适用场景与选型建议

toastnz/silverstripe-catalogmanager 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 831 次下载、GitHub Stars 达 0, 最近一次更新时间为 2020 年 07 月 26 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 toastnz/silverstripe-catalogmanager 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 831
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 21
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-07-26