[TYPO3] Put in menu the pages which are set "Not in menu"
Wester, Josh
JoshuaWester at creighton.edu
Mon Apr 17 17:32:36 CEST 2006
Livius:
I believe the solution to the duplication issue is to only include the
IDs of the top-level pages. Following your example, the template would
be:
temp.menu1 = HMENU
temp.menu1.special = list
temp.menu1.special.value = 1,2,5
And the result would be:
Page 1 (id 1)
Page 2 (id 2)
Page 21 (id 3)
Page 22 (id 4)
Page 3 (id 5)
Good luck,
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