简体   繁体   English

带有标记的Typo3 7.6打字错误

[英]Typo3 7.6 typoscript problems with markers

I have the following typoscript code 我有以下打字代码

page.20 = TEMPLATE
page.20.template = FILE
page.20.template.file = fileadmin/design/index.html
page.20.marks{
    CONTENT < styles.content.get
    CONTENT.renderObj.stdWrap.dataWrap=<div class="col-md-12">|</div>

    CONTENTLEFT < styles.content.getLeft
    #CONTENTLEFT.renderObj.stdWrap.dataWrap=<div class="col-md-5">|</div>

    CONTENTRIGHT< styles.content.getRight
    #CONTENTRIGHT.renderObj.stdWrap.dataWrap=<div class="col-md-7 text">|</div>


    TOPIMAGE< styles.content.getBorder

Problem is that CONTENTLEFT & CONTENTRIGHT & TOPIMAGE is not rendered. 问题是未呈现CONTENTLEFTCONTENTRIGHTTOPIMAGE

I have inserted the Markers like this 我已经插入了这样的标记

###TOPIMAGE### and then I've added some content Elements. ###TOPIMAGE### ,然后添加了一些内容元素。

What could be the problem? 可能是什么问题呢? I use Typo3 7.6.19 我使用Typo3 7.6.19

Thanks in advance. 提前致谢。

UPDATE UPDATE 在此处输入图片说明

在此处输入图片说明

You are using static typoscript from EXT:fluid_styled_content, and not css_styled_content. 您正在使用来自EXT:fluid_styled_content的静态排印,而不是css_styled_content。 EXT:fluid_styled_content for TYPO3 7.6 do not have any typoscript styles.content.getLeft or .. getRight. EXT:TYPO3 7.6的fluid_styled_content没有任何印刷样式style.content.getLeft或.. getRight。 Have a look at 看一下

typo3_src-7.6.23/typo3/sysext/fluid_styled_content/Configuration/TypoScript/Static/Setup/styles.content.get.ts typo3_src-7.6.23 / typo3 / sysext / fluid_styled_content / Configuration / TypoScript / Static / Setup / styles.content.get.ts

or use backendmodul templates and choose 'typosript object browser' to look into your current loaded typosript setup. 或使用backendmodul模板,然后选择“ typosript对象浏览器”以查看当前加载的错别字设置。

If you want use old template marks, you could install EXT:css_styled_content and load static typoscript from this extensions, instead to load fluid_styled_content. 如果要使用旧的模板标记,则可以安装EXT:css_styled_content并从此扩展名中加载静态拼写,而不是加载fluid_styled_content。 Or just find 或者只是找到

typo3_src-7.6.23/typo3/sysext/css_styled_content/static/setup.txt typo3_src-7.6.23 / typo3 / sysext / css_styled_content / static / setup.txt

and copy the typoscript parts for styles.content.get.. as you like to use for your example, like 并复制您想要用于示例的styles.content.get ..的拼写部分,例如

# Clear out any constants in this reserved room!
styles.content >

# get content
styles.content.get = CONTENT
styles.content.get {
    table = tt_content
    select.orderBy = sorting
    select.where = colPos=0
}

# get content, left
styles.content.getLeft < styles.content.get
styles.content.getLeft.select.where = colPos=1

# get content, right
styles.content.getRight < styles.content.get
styles.content.getRight.select.where = colPos=2

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

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