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 6.2打字脚本_Typo3_Typoscript - Fatal编程技术网

将库内容添加到主节TYPO3 6.2打字脚本

将库内容添加到主节TYPO3 6.2打字脚本,typo3,typoscript,Typo3,Typoscript,有人能帮我通过打字脚本在页面的主要部分添加一个库吗 TS: 模板: <div class="main-section"> <f:render section="Main" /> <f:cObject typoscriptObjectPath="lib.phpscript" /> </div> 现在内容显示在主要部分之后,但我需要在主要部分中显示它:/ 这个的ts代码是什么 提前谢谢 您必须添加 &l

有人能帮我通过打字脚本在页面的主要部分添加一个库吗

TS:

模板:

<div class="main-section">
        <f:render section="Main" />

       <f:cObject typoscriptObjectPath="lib.phpscript" />  
    </div>

现在内容显示在主要部分之后,但我需要在主要部分中显示它:/

这个的ts代码是什么

提前谢谢

您必须添加

<f:cObject typoscriptObjectPath="lib.phpscript" />  
<f:cObject typoscriptObjectPath="lib.phpscript" />  
<f:section name="main"></f:section>
your_extension\Resources\Private\Templates\