【发布时间】:2015-04-27 13:49:13
【问题描述】:
需要有关未呈现的自定义内容元素的帮助。 这是我的打字稿:
tt_content.cat_button = FLUIDTEMPLATE
tt_content.cat_button {
template = FILE
template.file = EXT:so_product/Resources/Private/Templates/ContentELements/CategoryButton.html
layoutRootPath = EXT:so_product/Resources/Private/Layouts/
}
即使我拼错了CategoryButton.html,也不会出现错误消息。那么如何知道是否找到了正确的模板呢?
如果我删除行 template 和 template.file,我会收到消息“糟糕,找不到模板...”
我的模板只包含<p>Test</p>。我也需要部分和布局吗?
这是我使用的指南:http://docs.typo3.org/typo3cms/extensions/sitepackage/CustomContentElements/Index.html
日志中没有错误。
【问题讨论】:
标签: typo3 typo3-6.2.x