[Typo3] Double nav
Tim Riemenschneider
lists-05 at tim-riemenschneider.de
Wed Oct 19 12:26:13 CEST 2005
>> 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 ?
>
> 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.
>
>> 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 ?
>>
>>
Another possibility would be playing with the propertys "begin" and
"maxItems", i.e. creating two MENUs, with one showing only 2 items and
the other starting at Item #3.
cu
Tim
More information about the TYPO3-english
mailing list