TYPO3:删除默认包装器

时间:2017-03-21 14:55:45

标签: templates typo3 wrapper

我有TYPO3(7.6.10)。 我也有tx_news。 我用流体。

我想删除内容元素的默认包装器。

我有:

<div><p>Text content</p></div>
<div id="c343"><article>New 1</article> <article>New 2</article> ... </div>

我想:

<p>Text content</p>
<article>New 1</article> <article>New 2</article> ... 

我该怎么做? 我试过tsconfig:

tt_content.stdWrap.innerWrap >

3 个答案:

答案 0 :(得分:0)

要删除Uncaught DOMException: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'file:///home/enes/Desktop/git/text_editor_mirror/antlr4/index.js'. at require (file:///home/enes/Desktop/git/text_editor_mirror/lib/require.js:179:10) at file:///home/enes/Desktop/git/text_editor_mirror/index.html:411:16 XMLHttpRequest cannot load file:///home/enes/Desktop/git/text_editor_mirror/antlr4/index.js. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource. ,您的解决方案是正确的。

<div id="c343">

也可能

tt_content.stdWrap.innerWrap >

您可以在模板“Template”中使用TypoScript对象浏览器并搜索tt_content.stdWrap.innerWrap.cObject.default.10.cObject.default.value

您是否清除了前端缓存?

答案 1 :(得分:0)

删除TYPO3 defult <div id="c343">包装classid

typoscript

下方使用
tt_content.stdWrap.innerWrap.cObject.default >

答案 2 :(得分:0)

我删除了<div id="c343">它仅适用于此解决方案:

tt_content.stdWrap.outerWrap.cObject = CASE
tt_content.stdWrap.outerWrap.cObject {
  key.field = CType
  default = TEXT
  default.value = 

}