cgoit / calendar-extended-bundle
Contao 4/5 LTS 日历扩展包。更好的重复事件和例外处理。
2.4.6
2024-09-04 20:20 UTC
Requires
- php: ^8.1 || ^8.2 || ^8.3
- contao/calendar-bundle: ^4.13 || ^5.3
- contao/core-bundle: ^4.13 || ^5.3
- doctrine/dbal: ^3.3
- menatwork/contao-multicolumnwizard-bundle: ^3.6
- symfony/config: ^5.4 || ^6.0
- symfony/dependency-injection: ^5.4 || ^6.0
- symfony/http-foundation: ^5.4 || ^6.0
- symfony/http-kernel: ^5.4 || ^6.0
- symfony/routing: ^5.4 || ^6.0
Requires (Dev)
- contao/manager-plugin: ^2.0
- phpunit/phpunit: ^10.3
- terminal42/contao-build-tools: dev-main
Suggests
- inspiredminds/contao-event-registration: For registration to events use this bundle.
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
- dev-main
- 2.4.6
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.x-dev
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-release-please--branches--main--components--cgoit/calendar-extended-bundle
This package is auto-updated.
Last update: 2024-09-04 20:20:59 UTC
README
Contao 4 & 5 LTS 日历扩展
此包为 Contao 添加更多日历功能。
- 更好的重复事件处理
- 事件例外
- 假期
安装
在您的项目目录中运行以下命令
composer require cgoit/calendar-extended-bundle
重要通知
从版本 2 开始,此包的一些功能不再支持。
从 1.x 版本升级
如果您想从版本 1 升级,请运行 contao:migrate
脚本。在第一步中,执行所有数据库更新 而不 进行删除。这确保了所有迁移都可以在第一次迁移轮次之后运行。如果您确信版本 2 对您适用,可以通过 contao:migrate
脚本运行所有删除操作。
Contao 5 支持
从版本 2 开始,此包支持 Contao 5。在此版本中进行了许多重构,许多类已被拆分或移动,处理事物的完整方法也发生了变化。因此,某些功能可能还没有达到100%的支持。因此,我建议所有 Contao 4 用户非常仔细地检查版本 2 是否按预期工作。或者,版本 1 可以继续用于 Contao 4。
配置
像往常一样,您可以通过 config.yml 配置一些设置。默认配置如下
# Default configuration for extension with alias: "cgoit_calendar_extended" cgoit_calendar_extended: # The maximum number an event is repeated. Default: 365. max_repeat_count: 365 exceptions: # The maximum number of repeat exceptions for an event. Default: 250. max_count: 250 # The range of days for the move date option. 14 means from -14 days to 14 days. Default: 7. move_days: 7 move_times: # The start time for the move time option. Default: 00:00. from: '00:00' # The end time for the move time option. Default: 23:59. to: '23:59' # The interval in minutes for the move time option. Default: 15. interval: 15 # Define which fields of an event should be available as filter. Default: ['title', 'location_name', 'location_str', 'location_plz']. filter_fields: # Defaults: - title - location_name - location_str - location_plz # Examples: # - title # - location_name # - location_str # - location_plz