[Typo3] wrap prev and next differently in page navigation

Rickard Stjernborg erse at home.se
Fri Sep 2 13:38:32 CEST 2005


Hi,

I have a prev / next navigation like this:

# Previous | Next  navigation
lib.browse = HMENU
lib.browse.special = browse
lib.browse.special {
items = prev|next
items.prevnextToSection = 1
prev.fields.title = « Previous
next.fields.title = Next »
}
lib.browse.1 = TMENU
lib.browse.1.NO.allWrap = |*|<div class="giPrev">|</div>||<div 
class="giNext">|</div>|*|


..now the problem is that when only "Next" is displayed (on the first 
page" it gets wrapped with <div class="giPrev"> </div> whereas I want it 
to be wrapped with .."giNext"..
How can I wrap the prev and next values differently even when they 
appear alone?

Thanks

Rickard



More information about the TYPO3-english mailing list