[TYPO3] Help with menu

Michael Cannon michael at cannonbose.com
Mon Feb 13 18:18:33 CET 2006


Matt,

One route is to set the menu entryLevel = 1. This way the home page  
doesn't have a menu wrapped around it.

The following works well for a client at http://autumnridgechurch.org/ 
worship/sermons.html who only wants left navigation to show if  
there's third or forth to show. The keys are entryLevel and the first  
menu wrap.

-----
## Inner Sub Menu [Begin]
lib.submenu2 = HMENU
lib.submenu2.entryLevel = 2

lib.submenu2.1 = TMENU
lib.submenu2.1 {
     wrap = <div id="SidebarNav">|</div>
     NO {
	linkWrap = <span class="navl2dead">|</span><br />
     }
     ACT = 1
     ACT {
	linkWrap = <span class="navl2live">|</span><br />
     }
}
lib.submenu2.2 < lib.submenu2.1
lib.submenu2.2.wrap =
lib.submenu2.2.NO {
	linkWrap = <span class="navl3dead">|</span><br />
}
lib.submenu2.2.ACT {
	linkWrap = <span class="navl3live">|</span><br />
     }
## Inner Sub Menu [End]
-----

Michael

-----
Michael Cannon
President of Cannonbose, LLC
Tel    : +1 (206) 351-0159         Fax : +1 (802) 609-2776



On Feb 13, 2006, at 10:49 , matt wrote:

> Hi,
>
> I have been given the job of updating our current typo3 site.  At  
> the moment we have a pretty standard setup, using templaviola and
> dynamically generated menu (which is like an expandable tree).  All  
> the typoscpript exists in the main template setup field at the
> route of the website.
>
> What we want to do now is this... Have the home page display  
> without a menu, but on every sub-level page have a menu which reflects
> that sub-level (i.e. not showing the entire structure of the site,  
> just the level were at and beyond).
>
> Can anyone suggest the best way of achieving this?
>
> I was thinking it may be possible to move the typoscript that  
> generates the menu into the second level pages.
>
> Any help most appreciated.
>
> Matt
>
> _______________________________________________
> 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