Typo3 7.6 带有标记的排版问题 [英] Typo3 7.6 typoscript problems with markers

查看:32
本文介绍了Typo3 7.6 带有标记的排版问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下排版代码

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

问题在于 CONTENTLEFT &内容 &TOPIMAGE 未呈现.

Problem is that CONTENTLEFT & CONTENTRIGHT & TOPIMAGE is not rendered.

我已经插入了这样的标记

I have inserted the Markers like this

###TOPIMAGE### 然后我添加了一些内容元素.

###TOPIMAGE### and then I've added some content Elements.

可能是什么问题?我使用 Typo3 7.6.19

What could be the problem? I use Typo3 7.6.19

提前致谢.

更新

推荐答案

您使用的是来自 EXT:fluid_styled_content 的静态排版文字,而不是 css_styled_content.EXT:fluid_styled_content for TYPO3 7.6 没有任何打字稿 style.content.getLeft 或 .. getRight.看看

You are using static typoscript from EXT:fluid_styled_content, and not css_styled_content. EXT:fluid_styled_content for TYPO3 7.6 do not have any typoscript styles.content.getLeft or .. getRight. Have a look at

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

或使用 backendmodul 模板并选择typosript object browser"来查看当前加载的错别字设置.

or use backendmodul templates and choose 'typosript object browser' to look into your current loaded typosript setup.

如果你想使用旧的模板标记,你可以安装 EXT:css_styled_content 并从此扩展加载静态排版,而不是加载fluid_styled_content.或者直接找

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. Or just find

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

并复制 styles.content.get.. 的排版部分,如您喜欢用于示例,例如

and copy the typoscript parts for styles.content.get.. as you like to use for your example, like

# 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

这篇关于Typo3 7.6 带有标记的排版问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆