[TYPO3] TMENU maxItems
Bas van der Togt
b.vandertogt at profinit.com
Sat Mar 24 18:57:29 CET 2007
Hello list,
I build a menu, see below. But now i want to show max 5 pages in the
menu, two pages before the active item and two pages after.
Exmaples:
page4|page5|page6(active)|page7|page8
page1(active)|page2|page3|page4|page5
This is not possible with maxItems = 5. Cause than it's only showing the
first 5 items. Does anybody knows a solution for this?
cheers,
Bas
# ProductMenu
temp.ProductMenu = HMENU
temp.ProductMenu {
wrap = <div class="prod-left"> </div>|<div
class="prod-right"> </div>
entryLevel = -2
1 = TMENU
1 {
SPC = 1
SPC.doNotLinkIt = 1
expAll = 0
NO {
linkWrap = <div class="prod-no">|</div><div
class="prod-spacer"> </div>|*|<div class="prod-no">|</div><div
class="prod-spacer"> </div>|*|<div class="prod-no">|</div>
}
ACT < .NO
ACT = 1
ACT.linkWrap = <div class="prod-act">|</div><div
class="prod-spacer"> </div>|*|<div class="prod-act">|</div><div
class="prod-spacer"> </div>|*|<div class="prod-act">|</div>
RO = 0
}
}
More information about the TYPO3-english
mailing list