[TYPO3] Condition in typoscript - subnavigation
Tapio Markula
tapio.markula at dnainternet.net
Fri Apr 28 20:26:57 CEST 2006
Matyi Gábor wrote:
> Hi,
>
> My topnavigation has 5 items. The first items has more 3 stage subitems, the
> another topitems has just 1 stage subitems.
>
> I write this typoscript:
>
> temp.subnavigation = HMENU
> temp.subnavigation.entryLevel = 1
> temp.subnavigation.1 = TMENU
> temp.subnavigation.1{
> NO {
> allWrap = <...A...> | <...A...>
> }
> ACT < .NO
> ACT {
> allWrap = <...A...> | <...A...>
> }
> ACT = 1
> }
that is incorrect
set NO=1
when
ACT < .NO
works
ACT = 1 should not be *after* where it is needed.
>
> temp.subnavigation.2 = TMENU
> temp.subnavigation.2{
> NO {
> allWrap = <...B...> | <...B...>
> RO = 1
RO works just with GMENU - nonse with TMENU - and CSS a:hover does the task.
More information about the TYPO3-english
mailing list