[TYPO3] How to create an updated menu?
Andreas Balzer
typo3 at andreas-balzer.de
Mon Jun 11 14:11:06 CEST 2007
Peter Klein schrieb:
> "Andreas Balzer" <typo3 at andreas-balzer.de> skrev i en meddelelse
> news:mailman.1.1181540209.12155.typo3-english at lists.netfielders.de...
>> Peter Klein schrieb:
>>> Hi Andreas.
>>>
>>> On the page you have set to "hidden", enable the checkbox " Include
>>> subpages:". That should get rid of the subpages of hidden pages in your
>>> menu.
>
>> Hi!
>> Well that would be an idea, but then non-BE users wouldn't be able to
>> access that page. Isn't it possible to tell TYPO3 to look in the page
>> levels whether one page is hidden?
>>
>
> The easiest way would be to write a small UserFunc that checks the current
> menuitem and it's parent item, all the way to the rootline, to see if it has
> "hidden" set. And if it's set, you skip generating that menuitem.
>
> --
> Peter Klein / Umloud Untd.
>
>
>
Hi :)
Any chance to find such a UserFunc somewhere in the internet? ;)
Andreas
More information about the TYPO3-english
mailing list