[TYPO3] If main menu doesn't have a submenu ... ?

JoH asenau info at cybercraft.de
Fri May 11 16:32:06 CEST 2007


>> How do I check if the current page doesn't have any submenu pages
>> under it?
>>
>> I have created two menus, one main menu on top and a side menu on the
>> left side of the content. Problem is when the user clicks on a menu
>> on
>> top and it doesn't have any submenus on it the menu at the left side
>> will be empty. I would like it to default to get the items above it
>> if current level is empty ...
>
> read TSRef and menu states - there is for example CURIFSUB

Which is of no help in this case, since it won't give you the siblings of
the current page, if there are no subpages.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com




More information about the TYPO3-english mailing list