简体   繁体   English

日历基本扩展模板

[英]Calendar Base Extension Template

I am new to TYPO3 and I'd like to change the way the extension "Calendar Base (cal)" outputs an event. 我是TYPO3的新手,我想更改扩展名“ Calendar Base(cal)”扩展输出事件的方式。 I would like to change the HTML-Output. 我想更改HTML输出。

Where can I do this in the current version of Calendar Base and TYPO3 8.5.1? 在当前版本的Calendar Base和TYPO3 8.5.1中,该在哪里执行此操作?

And how can I select different templates for the same view? 以及如何为同一视图选择不同的模板? I want to choose between two HTML-Outputs for eg the list view. 我想在两个HTML输出之间进行选择,例如列表视图。

Can anybody please help me? 有人可以帮我吗?

Greeting! 问候! Malte 马尔特

Templates are located in EXT:cal/Resources/Private/Templates/v1/ 模板位于EXT:cal / Resources / Private / Templates / v1 /

Copy the ones, you want to change to a place somewhere in fileadmin/... Then change the copied templates as you need it. 复制那些模板,您想要更改为fileadmin / ...中的某个位置,然后根据需要更改复制的模板。

Change the path to the template in TypoScript constants. 在TypoScript常量中更改模板的路径。 For example: 例如:

plugin.tx_cal_controller.view.list.listTemplate = fileadmin/Templates/Html/ExtCal/list.tmpl

For different list views use a condition in TypoScript constants for another list template. 对于不同的列表视图,请在TypoScript常量中使用条件作为另一个列表模板。 For example: 例如:

[PIDinRootline = 40]
    plugin.tx_cal_controller.view.list.listTemplate = fileadmin/Templates/Html/ExtCal/list_aktuell.tmpl
[GLOBAL]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM