mattclegg / silverstripe-event-calendar
适用于 Silverstripe CMS 的事件日历
2.0.1
2020-11-03 05:32 UTC
Requires
- johngrogg/ics-parser: ^2
- nesbot/carbon: 1.39.1
- silverstripe/cms: ^4
Replaces
README
简介
这是一个适用于 Silverstripe CMS 的事件日历模块,具有以下功能:
- 日历 - 用于保存/显示事件和公告的页面类型。
- 日历事件 - 代表一个事件的页面类型,具有一个或多个日期时间(事件的实例)。
- 重复事件 - 可以设置日历事件自动重复。
- 日历公告 - 没有关联事件页面的日历条目。
- ICS订阅源 - 向日历添加外部 ICS 订阅源以显示这些事件。
- ICS输出 - 下载 ics 文件以便轻松导入到日历应用中。
- RSS订阅源 - 日历事件的 RSS 订阅源。
- 日历小部件 - 在小部件中显示日历视图,以便网站用户可以选择按年/月/周/日查看事件。
- 缓存
需求
Silverstripe CMS 4.4 或更高版本
Carbon (版本 1 - https://github.com/briannesbitt/carbon )
配置选项
启用 jQuery(即,不要请求本地副本)
UncleCheese\EventCalendar\Pages\Calendar: jquery_included: true
缓存选项
UncleCheese\EventCalendar\Pages\Calendar: caching_enabled: true cache_future_years: 2
设置 ICS 输出的默认时区和语言
UncleCheese\EventCalendar\Pages\Calendar: timezone: America/New_York language: EN
禁用自动显示 RSS 链接
UncleCheese\EventCalendar\Pages\Calendar: include_rss_link: false