且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

TYPO3:如何将页面内容插入模板

更新时间:2023-11-26 15:28:34

我不太明白第二个问题.如果您只想在其他页面下的页面中包含某些记录,那么这显然会起作用:

I didn't quite get the second question. If you want to include some record only to pages under some other page, then this will obviously work:

[PIDinRootline = pages-uid, pages-uid, ...]
temp.foo = RECORDS
temp.foo {
    tables = tt_content
    source = ID # Enter the object's ID here
}
[end]

另一方面,如果您想包含来自其他页面的页面的所有记录,请尝试以下操作:

On the other hand, if you want to include all records from pages, being children of some other page, then try something like:

1 = CONTENT
  1.table = tt_content
  1.select {
    pidInList = parent-uid
  }

不知道我是否理解你的意思.德米特里.

Don't know if I got you right though. Dmitri.