[TYPO3-english] TMENU IFSUBSUB - Special action if menu-item has Sub-Sub Pages
Ansgar Brauner
ansgarb at gmail.com
Thu Jan 28 18:00:08 CET 2010
Tapio Markula schrieb:
>> Hi,
>>
>> 1. the menu item in the 2nd Level looks different if there is a 3rd
>> level.
>> 2. The Menu is based on css and lists. Its always expanded. CSS is doing
>> the trick of expanding it on mouseover.
>
>
> see
> USERDEF1
> in
> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.2.0/view/1/10/#id4447861
>
>
> you must build the functionality yourself - create a loop and check
> 'pid' values of pages, if the page has several level ancestor pages.
What a pity!
I thought it would maybe possible through LOAD_REGISTER.
Something this way Pseudocode alarm!):
HMENU
TMENU
1.NO.wrapItemAndSub = <li class="alwaysUsed {register:thirdLevel}
...
3.NO {
LOAD_REGISTER
register:thirdLevel = thirdTrue
}
But thanks for your help
regards
Ansgar
More information about the TYPO3-english
mailing list