Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-04-06 19:09:51

dF
Member
Registered: 2006-12-22
Posts: 22

Pagination issue

I did my best but could not find my answer on this forum so I post a new topic.

I have more than 550 articles on my website and pagination works fine until page 55 (?pg=55), after that <txp:older> and <txp:newer> will not display even though the articles go on til page 91 (?pg=91).
I use <txp:article limit=“6” /> on the page to display the articles so there is something going wrong with the total amount of pages in my txp and I don’t know what or where.

How do I ?

Thanks in advance, digitalefotografie.nl

Offline

#2 2008-04-06 19:32:36

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Pagination issue

Are you sure the missing articles are in a section that is set to be displayed on the front page?

Edit: sorry, wrong question, I can see that the articles show up when you change the page nr. in the URL manually…
Are you using any other article tags on the page? If so, could you post them?
Does the tag trace of a page with missing older/newer links tell you something?

Last edited by els (2008-04-06 19:41:52)

Offline

#3 2008-04-06 21:22:06

dF
Member
Registered: 2006-12-22
Posts: 22

Re: Pagination issue

Hoihoi Els,

Apart from lots of article_custom tags I also use <txp:article pgonly=“1” /> to display the amount of found articles in search results in an if_search part, could that be it? … wait a minute …

Aha, thank you !!!
I did place the <txp:article pgonly=“1” /> in front of the if_search part an now inside the if_search part so article count will only start on search result pages.

Total pagination is fine now, thanks again Els for your help.

Have a nice day (een fijne dag gewenst), digitalefotografie.nl

Offline

#4 2008-04-06 21:35:02

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Pagination issue

Bedankt en graag gedaan, but it was you who solved the problem :)

Offline

Board footer

Powered by FluxBB