我的菜单结构应该采用这种格式
PressRelease(在页面树中) 存档(在页面树中) - 2012年新闻稿(来自tt_news档案) - 2011年新闻稿(来自tt_news档案馆)
这是我的HMENU
lib.sidebarmenu = COA
lib.sidebarmenu {
10 = HMENU
10 {
entryLevel = 1
1 = TMENU
1 {
expAll = 1
noBlur = 1
stdWrap.cObject = COA
stdWrap.cObject {
10 = HMENU
10 {
special = rootline
special.range = 1|1
wrap = <h2>|</h2>
1 = TMENU
1.NO.doNotLinkIt = 0
}
20 = HMENU
20 {
entryLevel = 1
1 = TMENU
1 {
expAll = 1
noBlur = 1
NO {
ATagTitle.field = subtitle//title
ATagParams = class="sidebarNav"
stdWrap.htmlSpecialChars = 1
wrapItemAndSub = <li>|</li>
}
ACT = 1
ACT {
wrapItemAndSub = <li class="active"> | </li>
}
}
2 < .1
2.wrap = <ul id="submenu">|</ul>
3 < .2
4 < .2
}
}
wrap = <ul class="tabs"> | </ul>
NO {
}
}
}
}
This is my AMENU
[PIDinRootline = 55]
lib.newsArchiveMenu < plugin.tt_news
lib.newsArchiveMenu {
code >
code = AMENU
pid_list >
pid_list = 42,61,63
singlePid = 44
archiveTypoLink.parameter =55
catImageMode = 0
catTextMode = 0
archiveMode = year
archiveTitleCObject {
10 = TEXT
10.field = start
10.strftime =%Y
}
}
答案 0 :(得分:0)
是的,只需将您的tt_news
菜单作为COA对象的下一个元素(可能就在[PIDinRootline = 55]
条件结束之前:
lib.sidebarmenu.30 < lib.newsArchiveMenu