[TYPO3] How to create an updated menu?

Peter Klein peter at umloud.dk
Mon Jun 11 11:02:41 CEST 2007


"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.





More information about the TYPO3-english mailing list