[TYPO3] Condition in typoscript - subnavigation

Matyi Gábor gmatyi at freemail.hu
Fri Apr 28 20:27:33 CEST 2006


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
}

temp.subnavigation.2 = TMENU
temp.subnavigation.2{
  NO {
      allWrap = <...B...> | <...B...>
      RO = 1
  }
  ACT < .NO
  ACT {
      allWrap = <...B...> | <...B...>
  }
  ACT = 1
}

temp.subnavigation.3 = TMENU
temp.subnavigation.3{
  NO {
      allWrap = <...B...> | <...B...>
      RO = 1
  }
  ACT < .NO
  ACT {
      allWrap = <...B...> | <...B...>
  }
  ACT = 1
}

My ask, how do I modify the temp.subnavigation.1 items so,  when the first top 
menu item was selected, the submenus should be generated with allWrap = 
<...B...> | <...B...>, another case with allWrap = <...B...> | <...B...>



Thanks 

Gabor



More information about the TYPO3-english mailing list