fritzmg/contao-store-uuid
最新稳定版本:1.1.0
Composer 安装命令:
composer require fritzmg/contao-store-uuid
包简介
Mini extension which integrates a storeFormData and a updatePersonalData hook to automatically convert uploaded file paths to UUIDs.
README 文档
README
Contao Store UUID
Mini extension which integrates a storeFormData and a updatePersonalData hook to automatically convert uploaded file paths to UUIDs.
storeFormData
The extension checks if there is a DCA available for the target table and then checks if the field is a single fileTree input and converts the file path to an UUID before saving it to the database.
updatePersonalData
The extension checks if there is a DCA available for an uploaded file and then checks if the field is an upload field (fileTree backend widget is mapped to upload field by the personal data module) and then stores the uuid if the file is stored in the file system.
For DCA fields marked as multiple a single file is saved and the correspondig order field is also updated (if defined).
统计信息
- 总下载量: 1.24k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2015-04-16