[TYPO3] build a nested subpage browse Menu inside active Menupoint

Spencer J spencer.jakob at yahoo.de
Fri Jun 20 22:28:42 CEST 2008


Hey all,

I need to build a Menu like this. there is the normal menu, and if  
the active page has subpages then there should be a pagebrowser for  
the subpages next to the active menupoint

Menupoint 1
--activeMenupoint 2--  << previous ::  next >>
Menupoint 3
Menupoint 4
Menupoint 5

Here is the last TS:

temp.NextPrevious = HMENU
temp.NextPrevious {
      special = browse
      special {
        items = prev | next
        items.prevnextToSection = 1
        prev.fields.title = « previous
        next.fields.title = next »
      }
      1 = TMENU
      1.NO = 1
      1.NO.linkWrap = <li>|</li>
    wrap = <ul>|</ul>
}


30 = HMENU
30 {
wrap = <div id="menu"> |</div>
entryLevel = 1
1 = TMENU
1 {
noBlur = 1
wrap = <ul> |</ul>

NO = 1
NO.wrapItemAndSub = <li>|</li>
NO.stdWrap.htmlSpecialChars = 1
NO.ATagBeforeWrap = 1

CUR < .NO
CUR = 1
CUR.doNotLinkIt = 1

CURIFSUB < .NO
CURIFSUB = 1
CURIFSUB.stdWrap.cObject = COA
CURIFSUB.stdWrap.cObject {	
     5 = TEXT
     5.value = Browse through the pages 		
     10 < temp.NextPrevious
}
}
2 < .1
3 < .1
}

The Problem is that the CODE generated by temp.NextPrevious shows as  
cleartext on the page even if i dont link CURIFSUB.

What am i doing wrong.
Thanks for any hint.
Spencer



More information about the TYPO3-english mailing list