titledk / silverstripe-gallery
该软件包最新版本(1.0)没有提供许可信息。
为 SilverStripe 3 提供的简单画廊后端,具有高级目录保存规则。
1.0
2016-03-24 18:04 UTC
Requires
- bummzack/sortablefile: *
- titledk/silverstripe-uploaddirrules: dev-legacy
This package is not auto-updated.
Last update: 2024-09-14 16:29:23 UTC
README
为 SilverStripe 3 提供的简单画廊后端,具有高级目录保存规则。
功能
- 批量上传
- 拖放排序
- 根据您的设置自动创建画廊目录
- 可用于页面和数据对象
- 与 Translatable 模块兼容
要使用可用的画廊,还需要安装Gallery Pagetypes 模块。
要求
- 上传目录规则
- 可排序文件
安装
GalleryExtension
可以添加到 任何 DataObject
。
请将以下内容添加到您的 config.yml
基本设置
MyDataObject: extensions: - GalleryExtension #this is for the upload dir rules dependency, which takes care of #the relation between the gallery and it's folder #only needed on DataObjects, as this is added automatically to SiteTree - AssetsFolderExtension