0

我的菜单结构应该是这种格式

PressRelease(在页面树中) Archive(在页面树中) - 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
             }
     }
4

1 回答 1

0

是的,只需将您的tt_news菜单作为 COA 对象的下一个元素(可能就在[PIDinRootline = 55]条件结束之前:

lib.sidebarmenu.30 < lib.newsArchiveMenu
于 2012-11-27T11:15:16.643 回答