これが簡単な解決策です:
pagelink = HMENU
pagelink {
# only display if there is a subpage
stdWrap.required = 1
# with value directory, the default special.value is the current page id
special = directory
# limit to 1 page
maxItems = 1
# link item
1 = TMENU
1 {
NO = 1
}
}
ページ タイトルをオーバーライドするには、次を使用します。
pageLink = HMENU
pageLink {
# only display if there is a subpage
stdWrap.required = 1
# with value directory, the default special.value is the current page id
special = directory
# limit to 1 page
maxItems = 1
# link item
1 = TMENU
1 {
NO = 1
NO {
doNotLinkIt = 1
stdWrap.cObject = TEXT
stdWrap.cObject {
typolink.parameter.field = uid
# override text of menu item
value = Dummy Text
}
}
}
}