[TYPO3-templavoila] A question about menus
Brian Bendtsen
info at bendtsen-solutions.dk
Sat Feb 25 23:26:43 CET 2006
Franz Koch skrev:
>> Im trying to create a page with a horizontal menu for level 1 and on
>> another location on the page a vertical menu for level 2.
>>
>> I have trying inserting lib.menu_1.1 and lib.men_1.2 in the Data
>> Structure XML, but it is ignored.
>>
>> How is this done?
>
> - set mapping type of the menus to "TypoScript Object Path"
> - assing to every object your ts-object (e.g. lib.menu1)
> - every menu-object has to be a HMENU
> - thats all
>
> using your mentioned lib-objects it's supposed to be:
> ---------
> lib.menu_1.1 = HMENU
> lib.menu_1.1 {
> entryLevel = 0
> ...
> 1 = TMENU {
> ...
> }
> }
> lib.menu_1.2 = HMENU
> lib.menu_1.1 {
> entryLevel = 1
> ...
> 1 = TMENU {
> ...
> }
> }
> ---------
>
> WRONG would be this, what you probably have done:
> ---------
> lib.menu_1 = HMENU
> lib.menu_1 {
> ...
> 1 = TMENU (defined as first menu)
> 2 = TMENU (defined as second menu)
> }
> ---------
> that won't work.
>
>
I cant seem to get it working the way you describe it.
Its like the second lib.menu_1.1 is just overwriting the first one.
Also tried just entering the entryLevel for the first menu to 1 and it
still chose level 0 (root).
Still, thank you for trying.
/Brian Bendtsen
More information about the TYPO3-project-templavoila
mailing list