[TYPO3] tmenu on submenu items

dave typo typothree at gmail.com
Mon Dec 18 13:01:41 CET 2006


ah turns out the problem was my typoscript on my main template was
conflicting with my TS that was for the subpage template section.


thanks

On 12/18/06, David Smeringe <david at smeringe.se> wrote:
> lib.subMenu.entryLevel = 2
>
> results in a menu for pages with "level 2".
>
> the lib.subMenu.special = directory
> gives you the possibility to define a restricted menu of all pages with
> pid set in special.value.
>
> ref:
> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/8/11/#id2812754
>
> Regards,
> David Smeringe
>
> dave typo skrev:
> > great can you give me a little typoscript example?
> >
> > On 12/18/06, Peter Klein <peter at umloud.dk> wrote:
> >> Hi Dave.
> >>
> >> Use "entryLevel" or "special = directory"
> >>
> >> --
> >> Peter Klein/Umloud Untd
> >>
> >> "dave typo" <typothree at gmail.com> skrev i en meddelelse
> >> news:mailman.24856.1166430843.21325.typo3-english at lists.netfielders.de...
> >> > this seems so simple, yet i can't get it to work
> >> >
> >> > how do i make a tmenu of secondary hierarchial pages using lib
> >> > (templavoila) typoscript?
> >> >
> >> > For example, if this is my hierarchy:
> >> >
> >> > pageone (id 1)
> >> >       pagetwo (id 2)
> >> >       pagethree (id 3)
> >> >       pagefour (id 4)
> >> >
> >> > how would i make it so that a menu shows id's 2, 3 and 4 only?
> >> >
> >> > I thought this would work:
> >> >
> >> >
> >> > lib.topMenu = TMENU
> >> > lib.topMenu = HMENU
> >> > lib.topMenu.special = list
> >> > lib.topMenu.special.value = 2, 3, 4
> >> > lib.topMenu.1 {
> >> > NO.allWrap <div id="nav_menu"> |</div>
> >> > NO.Wrap.htmlSpecialChars = 1
> >> > }
> >> >
> >> > but doesn't.
> >> >
> >> > thanks for the help!
> >> >
> >> > -dave
> >>
> >>
> >> _______________________________________________
> >> TYPO3-english mailing list
> >> TYPO3-english at lists.netfielders.de
> >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list