在 Typo3 中实现 HTML 模板,内容不起作用或我的错误 [英] Implement HTML template in Typo3, content don't work or my mistake

查看:20
本文介绍了在 Typo3 中实现 HTML 模板,内容不起作用或我的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在typo3中实现html模板.本教程:http://wiki.typo3.org/Templating_Tutorial_-_Basics

I try that implement html template in typo3. With this tutorial: http://wiki.typo3.org/Templating_Tutorial_-_Basics

所有子部分和制造商都能正常工作,但内容子部分 CONTENTMIDDLE 和 CONTENTRIGHT 不起作用.

All subparts and makers perfectly work, but content subparts CONTENTMIDDLE and CONTENTRIGHT don't work.

我在教程中做了所有相同的事情,但不起作用,没有显示任何内容.

I did all the same from tutorial, but don't work, nothing are showing.

子部分在这个区域,应该改变从后端输入的内容.

subpart In this area, should be changed content which input from backend.

我试过了,但没有任何反应:

I tried with this, but nothing happens:

CONTENTRIGHT = CONTENT
CONTENTRIGHT < styles.content.getRight

<小时>

# get content, right
CONTENTRIGHT = CONTENT
CONTENTRIGHT {
  table = tt_content
  select.orderBy = sorting
  select.where = colPos=2
  select.languageField = sys_language_uid
}

编辑>>>

我解决了.

问题是我没有包含 css_styled_content,即.我已经更改了根页面,但忘记在模板-> 包含中更改它.

Problem is what I not included css_styled_content, ie. I have changed root page, and forget thet change this in template->Includes.

截图> http://www.dodaj.rs/f/15/Za/PWfwzG3/forgetinclude.jpg

推荐答案

转到模板->包含并包含 css_styled_content

Go to Template->Includes and include css_styled_content

这篇关于在 Typo3 中实现 HTML 模板,内容不起作用或我的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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