Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-14 12:40:35

nateVeronica
New Member
Registered: 2004-07-05
Posts: 2

next/previous article list limit

Hey … sorry I may not word this as well as i’d like, but here goes.

My blog is starting to get quite long now (I’ve only ever used sections), and now I want to be able to limit the number of entries that appears on my blog page, having the other entries accessible through a ‘next page’ / ‘previous page.’

Can this be achived? I can figure out how to pump out the entries, limiting the number to say 10, but, I cannot get the next page/previous page thingo to work.

Mucho thanko.

Offline

#2 2005-12-14 12:50:37

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: next/previous article list limit

On your front-page (article list) you would use the <code><txp:older><txp:newer></code> tags and on the backpage (single article view with comments etc) you use the <code> <txp:link_to_next >###</txp:link_to_next ></code> and <code> <txp:link_to_prev >###</txp:link_to_prev ></code> tags. You can find out all about them in the Manual link at the top of this page.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2005-12-14 22:12:47

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: next/previous article list limit

This is in the FAQ.


Alex

Offline

#4 2005-12-15 01:27:09

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: next/previous article list limit

That FAQ is going to make me redundant. ;)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB