ccpp / list-cal
编辑数据库记录(如新闻)的BE日历
v1.0
2021-04-08 22:50 UTC
Requires
- typo3/cms-core: ^8.7 || ^9.5 || ^10.4
Replaces
- typo3-ter/list-cal: v1.0
This package is auto-updated.
Last update: 2024-09-13 05:10:13 UTC
README
此扩展提供了一个后端模块,允许您通过日历管理基于时间的数据库记录。
内容
用法
安装后,您可以直接使用此扩展来管理由扩展“news”和“tt_news”提供的新闻记录。只需打开BE模块“网站>列表日历”,然后选择您想创建、修改或查看新闻记录的页面。
配置
扩展通过TSconfig进行配置。
TSconfig属性
TSconfig路径mod.web_listcal的子键
newItemHour
为选择的日子创建新记录的小时。
# Example: # New created records will be created with a time of 7PM mod.web_listcal.newItemHour = 19
limitDaysOfWeek
限制显示某些星期的日子(0 = 星期日 ... 6 = 星期六)。
例如,您可以将此包括在包含您星期三事件的页面上
# Example: # Show only wednesdays in the BE calendar: mod.web_listcal.limitDaysOfWeek = 3
table.[table].hideTable
不要在日历中显示某个表。
# Example: # Do not include tt_news on a page (page TSconfig) or for a certain user group (user TSconfig) mod.web_listcal.tables.tt_news.hideTable = 1
table.[table].dateColumn
通过指定包含时间戳的字段启用对某个表的支持。例如,您可以通过将此添加到您的ext_tables.php
来为您的TYPO3扩展添加对list_cal
的支持
// Add support for TYPO3 extension "list_cal" to my cool extension // by adding database field `startDate` to their configuration: \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(' mod.web_listcal.table { tx_myext_domain_model_mytable { dateColumn = startDate } } }');
有错误吗?有什么愿望?拉取请求?
forge.typo3.org上的项目已被归档。因此,现在应将问题提交到GitHub仓库
请向https://github.com/ccpp/list_cal/issues的跟踪器报告错误。