Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-07-15 22:01:19

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Force Page Break on Archive

Hi, I’m wanting to split my archive page into pages, at the moment I’m using limit=”“ but that will only limit the amount of articles on a page. what I want to do is dictate how many are shown BUT with some conditioning. So for example only show 6 months per page, or 1 year per page etc. Thanks


~ Cameron

Offline

#2 2009-07-16 17:04:19

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Force Page Break on Archive

Any updates on this? Thanks


~ Cameron

Offline

#3 2009-07-16 17:27:58

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Force Page Break on Archive

Have you tried rss_suparchive ?


Code is topiary

Offline

#4 2009-07-17 12:44:53

driz
Member
From: Huddersfield, UK
Registered: 2008-03-18
Posts: 441
Website

Re: Force Page Break on Archive

That plugin rocks. But I still can’t see how I could split the archive into pages?


~ Cameron

Offline

#5 2009-07-17 13:25:18

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Force Page Break on Archive

My mistake — I thought the plugin could do that.

If you need paged results I think you’re looking at needing to create a plugin for this.

A very different approach: create a section or category for the archive pages. Create an article for each date range; in the article body puta rss_suparchive or chh_article_custom tag specifying that date range.


Code is topiary

Offline

Board footer

Powered by FluxBB