私はあなたが探していると思います
lib.menupage.1.sectionIndex.useColPos = -1
(しかし、これはTYPO36.0でのみ利用可能のようです)
回避策として、自分でそれを行うことが可能であるはずです。通常のメニューをレンダリングしますが、そのページのtt_contentからすべてのヘッダーを取得するCONTENTオブジェクトでリンクをオーバーライドします(allWrap.cObjectがその役割を果たします)。これは、私がその問題を解決しようとする方法を説明するのに役立ついくつかの擬似コードです。このコードは機能しません。原則を示してください。
lib.menupage = HMENU
lib.menupage {
1 = TMENU
1 {
wrap = <ul> | </ul>
NO.wrapItemAndSub = <li> | </li>
# pgampe suggested to use: stdWrap2.append instead of allWrap.cObject. My intention
# was to override the original link at all. But you should be able to play with
# the different stdWrap functions to get the best solution
# as far as i remember, allWrap will be wrapped by "wrapItemAndSub"
NO.allWrap.cObject = CONTENT
NO.allWrap.cObject {
table = tt_content
select {
# the uid is the id of the page where we need the content from
pidInList.field = uid
orderBy = colPos, sorting
}
# inside the renderobj we get the elements which are retrieved by CONTENT
renderObj = TEXT
renderObj {
field = header
typolink.parameter.field = pid
typolink.section.field = uid
required = 1
wrap = <span class="inside-li">|</span>
}
}
}
}