[Typo3] Double nav

gueho_fred gueho_fred at yahoo.fr
Tue Oct 18 20:46:19 CEST 2005


Thank you. It's perfect :)


"Oliver" <oliver at liquidlight.co.uk> a écrit dans le message de news: 
mailman.1.1129649545.15114.typo3-english at lists.netfielders.de...
> 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 = &nbsp; |
>   NO {
>     stdWrap.htmlSpecialChars = 1
>     allWrap = |&nbsp;&nbsp;&#124;&nbsp;&nbsp; |*||*| |
>   }
>   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