简体   繁体   English

TYPO3 /掩码扩展:如何使用“ Content”字段类型?

[英]TYPO3 / Mask extension: How to get to work the field type “Content”?

I've built an content element with the extension "Mask". 我用扩展名“ Mask”构建了一个内容元素。 Within this content element I use the field type "Content", with which it's possible to integrate other content elements. 在此内容元素中,我使用字段类型“ Content”,通过该字段类型可以集成其他内容元素。

But if I do that, nothing of that inline element will be rendered in the frontend, even though I select this element in the list of the allowed ones. 但是,如果我这样做,即使我在允许的元素列表中选择了该元素,该内联元素也不会在前端呈现。 How do I get this to work? 我该如何工作?

The fluid templates are located in an own extension/distribution (of course I changed all the paths in the mask extension ;-)) - does this take any effect? 流体模板位于自己的扩展/分布中(当然,我更改了遮罩扩展中的所有路径;-))-这会生效吗?

Thank you for any hint! 谢谢您的提示!

Michael. 迈克尔。

Typo3 V. 8.7.20 / Mask Extension V. 3.3.2 Typo3 V.8.7.20 / Mask Extension V.3.3.2

UPDATE 26.11.2018 I've made a little progress with my problem - after I add the static template of mask (I thought this will be done by my extension/distribution, but it doesn't), the output works in principle. 更新26.11.2018我的问题取得了一些进展-在我添加了mask的静态模板之后(我认为这将由我的扩展/分发来完成,但没有),输出原则上是有效的。 But only the field 'header' of my nested content element will be put out in the frontend - all other field are ignored. 但是,只有嵌套内容元素的字段“标头”会在前端放出-其他所有字段都会被忽略。 What did I do wrong? 我做错了什么?

Attached you'll find screenshots of the affected content elements: 随附的是受影响内容元素的屏幕截图:

The content element to be nested: 要嵌套的内容元素:

The wrapping content element: 包装内容元素:

I had the same problem. 我有同样的问题。 Only p Elements were rendered in the frontend! 前端仅渲染了p个元素! I switch the order of the template includes cleared all cashes and it worked. 我切换了模板的顺序,其中包括清除所有兑现,并且可以正常工作。

包含顺序

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

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