我是TYPO3的新手,我想改变扩展程序" Calendar Base(cal)"输出一个事件。 我想改变HTML输出。
我在哪里可以在当前版本的Calendar Base和TYPO3 8.5.1中执行此操作?
如何为同一视图选择不同的模板? 我想在两个HTML输出之间进行选择,例如:列表视图。
有人可以帮助我吗?
问候! 马尔特
答案 0 :(得分:0)
模板位于EXT:cal / Resources / Private / Templates / v1 /
复制那些,你想要改变到fileadmin /中的某个地方......然后根据需要更改复制的模板。
在TypoScript常量中更改模板的路径。例如:
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.5. Set the 'ServerName' directive globally to suppress this message
对于不同的列表视图,使用TypoScript常量中的条件作为另一个列表模板。例如:
plugin.tx_cal_controller.view.list.listTemplate = fileadmin/Templates/Html/ExtCal/list.tmpl