Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Typo3 使用打字脚本将整个列包装在一个div中_Typo3_Typo3 6.2.x - Fatal编程技术网

Typo3 使用打字脚本将整个列包装在一个div中

Typo3 使用打字脚本将整个列包装在一个div中,typo3,typo3-6.2.x,Typo3,Typo3 6.2.x,我有一个普通列和一个左列,并想将它们分别包装在一个div中。正确的打字脚本是什么?我只能找到将每个元素包装在某个东西中的代码。到目前为止,我得到的是: page = PAGE page.typeNum = 0 page.10 < styles.content.get page.20 < styles.content.getLeft // Wrong, will wrap every object, not hole column. page.20.renderObj.stdWr

我有一个普通列和一个左列,并想将它们分别包装在一个div中。正确的打字脚本是什么?我只能找到将每个元素包装在某个东西中的代码。到目前为止,我得到的是:

page = PAGE
page.typeNum = 0

page.10 < styles.content.get

page.20 < styles.content.getLeft

// Wrong, will wrap every object, not hole column.
page.20.renderObj.stdWrap.wrap = <div id="left-column"> | </div>
page=page
page.typeNum=0
第10页
您可以简单地将各个列环绕起来,它们的行为就像

page.20.wrap=|

我想我试过了,但后来发现我打错了(
页面
而不是
页面
)。明天上班时我会再检查。
page.20.wrap = <div id="left-column"> | </div>