[TYPO3-english] Parent's page title in sub navigation

Erik Svendsen erik at linnearad.no
Sun Jun 7 21:54:52 CEST 2009


John Sullivan skrev:
> Thanks to both Phil and Emmanuel. I tried both solutions but none of 
> them work out for me case.. maybe it just because of my limited 
> knowledge of typoscript therefore I really dont know how to put them 
> together.
> 

Something like this?

temp.subMenu = COA
temp.subMenu {
     10 = HMENU
     10 {
         entryLevel = 1
         stdWrap.dataWrap = <ul id="sub-nav"><li 
class="section"><h2>{leveltitle : 1}</h2>
     }
     20 = HMENU
     20.entryLevel = 1
     20.wrap = <ul>|</ul></li></ul>
     20.1 = TMENU
     20.1.NO {
         wrapItemAndSub = <li>|</li>
         ATagParams =
     }
     20.1.ACT = 1
     20.1.ACT {
         wrapItemAndSub = <li>|</li>
         ATagParams =
     }
     20.1.CUR = 1
     20.1.CUR {
         wrapItemAndSub = <li class="act">|</li>
         ATagParams = class="act"
     }

     20.2 = TMENU
     20.2.wrap = <ul>|</ul>
     20.2.NO {
         wrapItemAndSub = <li>|</li>
         ATagParams =
     }
     20.2.CUR = 1
     20.2.CUR {
         wrapItemAndSub = <li class="act">|</li>
         ATagParams = class="act"
     }
}

Example on http://www.torsk.net/frisk-torsk.html

Best Erik


More information about the TYPO3-english mailing list