[Typo3] Display second level pages in a menu
Jan Hancic
typo3 at ks-con.si
Thu Aug 18 12:14:35 CEST 2005
Hi Andreas,
this workws like a charm.
I can't thanke you enough!
lp
-----Original Message-----
From: Andreas Förthner [mailto:Andreas.Foerthner at netlogix.de]
Sent: Wed 17/08/2005 15:39
To: typo3-english at lists.netfielders.de
Cc:
Subject: Re: [Typo3] Display second level pages in a menu
Jan Hancic wrote:
> Hi list,
>
> I would like to have a menu on my page that would display subpages of the current page.
> I have a two level structure and I display level one pages in a horizontal menu wich is working perfectly.
> So how do I add a menu that will display second level pages?
> I thought this would work:
>
> # LeftMenu
> temp.LeftMenu = HMENU
> temp.LeftMenu.2 = TMENU
> temp.LeftMenu.2 {
> NO.allWrap = <li><span class="LeftMenuActive"> | </span></li>
>
> ACT = 1
> ACT.allWrap = <li><span class="LeftMenu"> | </span></li>
> }
>
> but id does not. It simply dosen't display anything.
> I have searched the typo3 site and google, but I couldn't find any examples or documentation that would solve my probblem.
>
>
> lp
> Jan
Hi,
just look at this code, it does work in my installation:
lib.subnav = HMENU
lib.subnav {
entryLevel = 1
1 = TMENU
1.target = _self
1.wrap = <table cellpadding="0" cellspacing="0" border="0"><tr> |
</tr></table>
1.expAll = 1
1 {
NO.linkWrap = <tr><td class="subnav"> | </td></tr>
}
2 = TMENU
2.target = _self
2 {
NO.linkWrap = <tr><td class="subsubnav"> | </td></tr>
}
}
hey, why do you use class="LeftMenuActive" for the normal status? ;-)
hope this helps..
greets
andreas
_______________________________________________
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