Implement HTML template in Typo3, content don't work or my mistake

坚强是说给别人听的谎言 提交于 2019-12-11 00:06:51

问题


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

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
}

EDIT>>>

I solved.

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

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


回答1:


Go to Template->Includes and include css_styled_content



来源:https://stackoverflow.com/questions/16732387/implement-html-template-in-typo3-content-dont-work-or-my-mistake

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!