Textpattern Forum

You are not logged in. Register | Login | Help

#1 2012-08-10 13:46:52

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 254
Website

Pagination problem

Hi there,
Can someone tell me why pagination stops work after page 4?
I can’t understand why…

Even if I set limit=“2” or limit=“10” Textpattern didn’t generate older or newer links after four. But if I hardcode url like ?pg=5 all seem to work. Where is the issue?

Offline

#2 2012-08-10 14:21:09

uli
Moderator
From: Cologne/Köln
Registered: 2006-08-15
Posts: 2,949

Re: Pagination problem

Is this a 4.5.0 beta issue? (Saw you posting there.) Then I’d teleport your post. I’ve no solution for a 4.4.1 issue offhand.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2012-08-10 14:26:18

wornout
Member
From: Italy
Registered: 2009-01-20
Posts: 254
Website

Re: Pagination problem

No I’ve 4.4.1

Offline

#4 2012-08-10 14:36:50

Gocom
Developer
Registered: 2006-07-14
Posts: 4,403
Website

Re: Pagination problem

Pagination is calculated based on the first article tag instance present on the page template. If you have more than a one article tag on the page, they all need to use the exact same sorting and limit attributes.

If pages end unexpectedly, that usually is indication of the page template containing an article tag with contradicting attributes, particularly a higher limit or a offset than what the actual article tag generating the list has.

Last edited by Gocom (2012-08-10 14:37:57)


Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />

Offline

Board footer

Powered by FluxBB