定制 fritzmg/contao-store-uuid 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.38k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-04-16