restruct/silverstripe-gridfieldpages
最新稳定版本:2.0.1
Composer 安装命令:
composer require restruct/silverstripe-gridfieldpages
包简介
Base Page & Holder classes for managing SiteTree items in a Gridfield instead of via SiteTree
README 文档
README
ARCHIVED (add issue to some Restruct module to let me know if you still need this module)
This module tackles the issue of a cluttered SiteTree by managing pages from a gridfield. It can easily handle thousands of subpages (production-tested with 65.000 pages under one parent).
This module is meant as base classes, it can be used on its own but usually you will want to subclass in order to add filtering/sorting, etc. An example module subclassing this module is Newsgrid (filterable newsitems managed from a gridfield).
Features
- GridFieldPages extend SiteTree so no Page functionality is lost by using DataObjects.
- Custom GridField components for quickly adding new pages.
- Hides sub pages from the sitetree (via excludechildren).
- Drag 'n drop sorting of pages (optional) (loop over $SortedChildren in templates).
Requirements
These will get auto-installed when using composer:
- SilverStripe CMS 4.0 or newer (3.x see 1.x tags)
- silverstripe-gridfieldsitetreebuttons to manage SiteTree items in a gridfield
Optional, for drag & drop sorting (suggested, not auto-installed by composer):
Installation
composer require restruct/silverstripe-gridfieldpages dev-master
Optional: Drag & Drop Sorting
Drag and drop sorting is supported but not active by default, as often you will want to sort by other criteria, eg. Date or some other field. To activate drag & drop sorting, add to config.yml:
GridFieldPageHolder: apply_sortable_gridfield: true
Screenshots
Easily manage and add new pages through a GridField.

Edit pages in the regular editform, including settings, history & versioning.

Recommended
Manage newsitems from a gridfield, with embargo & expire (auto-publishing) functionality
restruct/silverstripe-gridfieldpages 适用场景与选型建议
restruct/silverstripe-gridfieldpages 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 5, 最近一次更新时间为 2025 年 10 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「silverstripe」 「gridfield」 「sitetree」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 restruct/silverstripe-gridfieldpages 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 restruct/silverstripe-gridfieldpages 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 restruct/silverstripe-gridfieldpages 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Adds new form actions and buttons to GridField detail form for usability enhancements.
Limit number of records that can be added to a SilverStripe GridField
This module provides CMS field to manage data object defined in a has_one relation.
Analytics chooser extensions for site settings.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 33
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-10-02