teufels / tt3-swiper-nce
基于Swiper JS的滑块,允许在幻灯片中使用嵌套内容元素
1.1.2
2024-07-30 12:21 UTC
Requires
- typo3/cms-core: ^12.4
README
[ ṯeufels ] Swiper NCE
基于Swiper JS (https://swiper.js.cn/) 的滑块,允许在幻灯片中使用嵌套内容元素
本版本支持TYPO3
Composer支持
composer req teufels/tt3-swiper-nce
Swiper.js 文档
需求
Swiper.js: >=6.8.4
如何使用
- 使用Composer安装
- 导入静态模板(在站点包之前)
- 自定义配置
- 将配置添加到站点包中的TsConfig/Page/TCEFORM.tsconfig
- 将自定义配置js文件添加到站点包中,并在站点包的setup.typoscript中实现
从hive_swiperjs_simple更新和迁移
- 在composer.json中,将
beewilly/hive_swiperjs_simple
替换为"teufels/tt3-swiper-nce":"^1.0"
- Composer更新
- 包含TypoScript设置
[teufels] Swiper NCE
- 分析数据库结构 -> 添加表和字段(不要删除旧的hive_swiperjs_simple)
- 执行升级向导
[teufels] Swiper NCE
- 分析数据库结构 -> 删除表和未使用的字段(现在删除旧的hive_swiperjs_simple)
- 类和id已更改 -> 调整站点包中的样式(例如,tx_tt3_swiper_nce => tx_tt3_swiper_nce)
- 检查并调整用户组访问权限
- 迁移自定义配置
变更日志
- 1.1.1 修复自动播放
- 1.1.0 新功能
- 添加自动播放选项 disableOnInteraction & pauseOnMouseEnter
- 添加滚动条 & 滚动条+分数分页类型
- 1.0.5 修复renderContentElementPreviewFromFluidTemplate更改参数
- 1.0.4 修改c-
- 1.0.3 根据新闻配置'content_elements'修改TCA配置'slide_content '
- 1.0.2 将已弃用的allowTableOnStandardPages()更改为ignorePageTypeRestriction (https://docs.typo3.org/m/typo3/reference-tca/12.4/en-us/Ctrl/Properties/Security.html#ctrl-security-ignorepagetyperestriction)
- 1.0.1 修复no-pagination的分页问题 JIRA 任务
- 1.0.0 从 hive_facts 开始