[TYPO3] Put in menu the pages which are set "Not in menu"

Livius Agrippa livius_agrippa at yahoo.com
Mon Apr 17 17:20:38 CEST 2006


Wester, Josh wrote:
> Livius:
> 
> I believe this is what you are after:
> 
> temp.menu1 = HMENU
> temp.menu1.special = list
> temp.menu1.special.value = 5,37,43,45
> 
> This essentially accomplishes the non-existent "includeUidList".
> 
> Hope this helps,
> 
> Josh

Hi Josh,

This method works but it creates a problem. I will explain this with an 
example:

if I have this structure:
Page 1 (id 1)
Page 2 (id 2)
	Page 21 (id 3)
	Page 22 (id 4)
Page 3 (id 5)

And in my template:
temp.menu1 = HMENU
temp.menu1.special = list
temp.menu1.special.value = 1,2,3,4,5

the result will be:
Page 1
Page 2
	Page 21
	Page 22
Page 21
Page 22
Page 3

And I cannot deal with this behavior.

And a question for Heiner.
How can I implement your method? Please give me more hints.

Best regards,
Livius



More information about the TYPO3-english mailing list