[TYPO3-english] Re: [Templating] Separating 1st level menu and 2nd level menu?
Salander
luc.berro at epitech.eu
Tue Oct 15 13:12:47 CEST 2013
Hi,
Thanks for your code, that's sweet.
Otherwise, I copy pasta like this:
># Menu 1 cObject
> temp.sub_naviguation = HMENU
> temp.sub_naviguation {
> special = directory
> special.value = {Root_id}
> wrap =
> |
>
> 1 = TMENU
> 1 {
> expAll = 0
> NO = 1
> NO.wrapItemAndSub =
> |
>
> ACT = 1
> ACT.wrapItemAndSub =
> |
>
> }
> 2 < .1
> 2.wrap =
> |
>
> }
> # Main TEMPLATE cObject for the BODY
> temp.mainTemplate = TEMPLATE
> temp.mainTemplate {
> [...]
> subparts.sub_naviguation < temp.sub_naviguation
> [...]
> }
And I don't have any naviguation menu anymore. Did I do something wrong?
Thanks for your kind help,
Cordialement,
Salander
More information about the TYPO3-english
mailing list