[TYPO3-english] HMENU and entryLevel
JoH asenau
info at cybercraft.de
Sat Jul 20 19:50:34 CEST 2013
Am 20.07.2013 19:45, schrieb JoH asenau:
> Am 19.07.2013 17:03, schrieb Simone Paolinelli:
>> Hi to all,
>>
>> I'm going crazy with a script to create a menu that should list:
>>
>> - current page
>> - all page "sister" of current page
>> - all subpages of current page
>>
>> The script that I using (view below) work fine just with second level
>> pages.
>>
>> That I want is to set entryLevel dynamic (equal to level of parent of
>> current page) but I don't know how do this!
>
> Use a negative entryLevel to get relative instead of absolute entry levels:
>
> -1 = subpages of the current page
> -2 = subpages of the parent of the current page
You could even go for a directory style menu:
lib.blah = HMENU
lib.blah {
special = directory
special.value.field = pid
}
HTH
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
More information about the TYPO3-english
mailing list