[TYPO3] HMENU/TMENU: no output

Edwin Blokker a.stoutjesdijk at chello.nl
Mon Jun 18 14:17:04 CEST 2007


Hi Joey,

Thanks so much for your quick response! I was trying to solve this for 
days already, but overlooked this.. It works now. Thanks again!

Edwin.




JoH asenau schreef:
>> For rendering a horizontal menu I have put together this Typoscript:
>>
>> # Hnav
>> lib.hnav = HMENU
>> lib.hnav {
>> 10 = TMENU
> 
> This would be nice for level10 of your navigation (which hopefullly doesn't
> exist, since it would be a sign for a bad tree concept).
> 
> HMENU elements like TMENU or GMENU always have to start with 1 and not 10.
> 
> At the first look they seem to be similar to PAGE or COA where steps of 10
> are recommended just to make sure you can insert other stuff later using 12,
> 25  or whatever you like. But for HMENU the numbers indicate more than just
> a position in the array: It's the level you want to render and each level
> has to be available even if you don't show the links for this level.
> 
> lib.hnav = HMENU
> lib.hnav {
>     1 = TMENU
>     1 {
>         blah
>     }
>     2 = TMENU
>     2 {
>         blah
>     }
>     3 = TMENU
>     3 {
>         blah
>     }
> }
> 
> HTH
> 
> Joey
> 


More information about the TYPO3-english mailing list