webbuilders-group/silverstripe-frontendgridfield
最新稳定版本:3.0.0
Composer 安装命令:
composer require webbuilders-group/silverstripe-frontendgridfield
包简介
Wraps gridfield adding support for using it on the front-end.
README 文档
README
Wraps gridfield adding support for using it on the front-end of a site.
Maintainer Contact
- Ed Chipman (UndefinedOffset)
Requirements
- SilverStripe Framework ~6.0
Installation
- Download the module from here https://github.com/webbuilders-group/silverstripe-frontendgridfield/archive/master.zip
- Extract the downloaded archive into your site root so that the destination folder is called frontendgridfield, opening the extracted folder should contain _config.php in the root along with other files/folders
- Run dev/build?flush=all to regenerate the manifest
Usage
Instead of using the GridField class you need to use FrontEndGridField for use on the front-end, note it is not recommended to be used in the CMS. As well instead of using the GridFieldConfig extensions provided with SilverStripe use FrontEndGridFieldConfig_Base, FrontEndGridFieldConfig_RecordEditor, FrontEndGridFieldConfig_RecordViewer, or FrontEndGridFieldConfig_RelationEditor. If you are building your own GridField config ensure that you use FrontEndGridFieldDetailForm instead of GridFieldDetailForm.
统计信息
- 总下载量: 29.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 20
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2013-12-11