[Typo3] Double nav

Oliver oliver at liquidlight.co.uk
Tue Oct 18 17:32:25 CEST 2005


Hi gueho_fred,

To display a menu of the pages contained in a sys-folder you can use the 
following TS:

lib.topMenu = HMENU
lib.topMenu.special = directory
lib.topMenu.special.value = 22
lib.topMenu.1 = TMENU
lib.topMenu.1 {
   wrap =   |
   NO {
     stdWrap.htmlSpecialChars = 1
     allWrap = |  |   |*||*| |
   }
   ACT < .NO
   ACT = 1
   ACT {
     ATagParams = class="current"
   }
  }

Where '22' in 'lib.topMenu.special.value = 22' is the page ID of the 
sys-folder. This might however cause some problems with your breadcrumb 
and sitemap but there are ways around that too.

You could otherwise use the HMENU 'excludeUidList' property but this 
means you would end up with even more hardcoded page IDs in your TS.

Hope this helps,

Oliver

gueho_fred wrote:
> Hi,
> 
> I need to have 2 TMENU on a page (one on top, one on bottom).
> 
> My site map :
> - page 1
> - page 2
> - page 3
> - page 4
> - page 5
> 
> I need one TMENU on the top of the page with : page 1 | page 2.
> And another TMENU on the bottom of the page with : page 3 | page 4 | page 5.
> 
> How can I do that ?
> 
> Idea : if I put page 1 and 2 in a sysfolder, and page 3, 4 and 5 in another 
> sysfolder, can I display a TMENU with the pages of a given sysfolder ?
> 
> 



More information about the TYPO3-english mailing list