これが私がやりたいことです: 特定のページで、特定のページの最初の子ページのすべてのコンテンツ要素を表示したいと考えています。サブページのコンテンツ要素の後に他のコンテンツ要素を表示する必要があるため、単純にショートカット ページを使用することはできません。これどうやってするの?
これは私ができると思う方法のスニペットですが、選択を構築する方法がわかりません。より良い方法はありますか?
# save current content
tmp.pagecontent < page.10.subparts.main-content
# clear the content of the main column
page.10.subparts.main-content >
# build a new object for this column as content-object-array
page.10.subparts.main-content = COA
page.10.subparts.main-content {
10 = CONTENT
10.table = tt_content
10.select {
# what should I put here?
}
# re-insert the normal pagecontent to the page
20 < tmp.pagecontent