Typo3 7.6 带有标记的排版问题

编程入门 行业动态 更新时间:2024-10-28 19:27:20
本文介绍了Typo3 7.6 带有标记的排版问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我有以下排版代码

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屋!

更多推荐

[db:关键词]

本文发布于:2023-04-29 08:41:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1186675.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:标记

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!