[TYPO3-english] HMENU and entryLevel
JoH asenau
info at cybercraft.de
Sat Jul 20 19:45:27 CEST 2013
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
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