heimrichhannot / contao-media-library-bundle
项目包
1.6.0
2024-09-04 12:42 UTC
Requires
- php: ^8.1
- codefog/tags-bundle: ^3.2
- contao/core-bundle: ^4.13
- heimrichhannot-contao-components/alertifyjs: 1.11.2
- heimrichhannot/contao-categories-bundle: ^1.1
- heimrichhannot/contao-encore-contracts: ^1.0
- heimrichhannot/contao-form-type-bundle: ^0.2.0
- heimrichhannot/contao-utils-bundle: ^2.220
- symfony/config: ^4.4 || ^5.4
- symfony/event-dispatcher-contracts: ^1.0 || ^2.0 || ^3.0
- symfony/translation-contracts: ^1.0 || ^2.0 || ^3.0
- dev-master
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-beta23
- 1.0.0-beta22
- 1.0.0-beta21
- 1.0.0-beta20
- 1.0.0-beta19
- 1.0.0-beta18
- 1.0.0-beta17
- 1.0.0-beta16
- 1.0.0-beta15
- 1.0.0-beta14
- 1.0.0-beta13
- 1.0.0-beta12
- 1.0.0-beta11
- 1.0.0-beta10
- 1.0.0-beta9
- 1.0.0-beta8
- 1.0.0-beta7
- 1.0.0-beta6
- 1.0.0-beta5
- 1.0.0-beta4
- 1.0.0-beta3
- 1.0.0-beta2
- 1.0.0-beta
- 0.11.0
- 0.10.1
- 0.10.0
- 0.9.x-dev
- 0.9.2
- 0.9.1
- 0.9.0
- 0.8.5
- 0.8.4
- 0.8.3
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.1
- 0.7.0
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.0
- 0.3.1
- 0.3.0
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.1
- 0.1.0
- dev-feature/create-permission
- dev-feature/support_new_delete_permissions
- dev-feature/delete-product-permissions
- dev-feature/enhance_copyright
- dev-beta15
This package is auto-updated.
Last update: 2024-09-04 12:47:02 UTC
README
此插件提供对不同类型媒体库产品的归档处理以及其下载项的处理。下载项可以自动生成。
功能
- 如果完整的商店系统过于复杂,可以将媒体(图片、视频等)组织为归档中的产品
- 预定义的媒体库内容类型
image
、video
、file
- 对于图片产品,可以指定根据下载项创建下载的图片大小
- 手动为产品添加下载项
- 产品可配置的dca字段面板
- 为每个产品归档添加不同的附加字段
- 表单类型 集成
- Encore Bundle 集成
- 可选:激活产品归档中的
codefog/tags-bundle
集成以对产品进行标记 - 可选:激活产品归档中的
heimrichhannot/contao-categories-bundle
集成以对产品进行分类
使用方法
安装
通过composer安装
composer require heimrichhannot/contao-media-library-bundle
更新数据库
设置
- 创建媒体库归档并设置其内容配置。
- 在归档中创建产品。如果没有手动允许,提交时将自动生成下载项。
- 可选:手动添加下载项
配置
huh_media_library: # If true, the filenames of the generated product downloads will be sanitized. sanitize_download_filenames: false
编辑和删除产品
您可以通过设置归档设置中的相应选项来为媒体库产品添加编辑和删除支持。您还需要相应地调整成员(组)设置。
如果成员具有相应的权限,将自动将编辑和删除链接添加到读者包模板的模板数据中。变量名称为 editLink
和 deleteLink
。