[TYPO3-english] menu, start pid

David Bruchmann typo3-en at bruchmann-web.de
Fri Aug 14 16:58:36 CEST 2009


----- Ursprüngliche Nachricht -----
Von:        André L. Keidser <andre at seigan.se>
Gesendet:   Freitag, 14. August 2009 16:36:10
An:         TYPO3 English <typo3-english at lists.netfielders.de>
CC:
Betreff:    Re: [TYPO3-english] menu, start pid
> Hi
> I'm working on this to but I cant get the directory thing to work like I
> want.
> Sure it starts on the PID but it  only  shows one level (all subpages to
> PID) but I would like it to start from a that PID and show all sub
> levels to - is that possible?
> 
> Thanks
> 
> André


lib.menu.combined = COA
lib.menu.combined {
      ### Outer Menu-Container:
      wrap = <div class="combined_menu">|</div>

      ### first menu
      10 = HMENU
      10 {
          special = directory
          special.value = 1001
          wrap= <ul class="Menu_1">|</ul>
          1 = TMENU
          1 {
             noBlur = 1
             expAll = 1
             NO.wrapItemAndSub = <li class="first">|</li> |*| <li>|</li>
|*| <li class="last">|</li>
             ACT < .NO
             ACT = 1
             ACT.ATagParams = class="active"
          }
          2 < .1
          2.wrap = <ul>|</ul>
          3 < .2
	 4 < .2
	 5 < .2
	 6 < .2
      }

      ### Optionale divider, comment out to disable:
      15 = TEXT
      15.value = <hr />

      ### second menu
      20 < .10
      20.special.value = 869
      20.wrap= <ul class="Menu_2">|</ul>
}

page.100 < lib.menu.combined

---

In the lines with "special.value = " you have to insert the top-page's 
uid for each menu.

Best regards,
David


More information about the TYPO3-english mailing list