Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-14 17:21:36

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

How: Create a prev/next link with alternate sort criteria

Recently I tried to create a linear presentation with textpattern that relied on the <txp:link_to_next >###</txp:link_to_next > which is sorted by post date. Doesanyone know of a simple way to create next/previous links based on another sort criteria, say ID,Title, Custom field, etc.

A sort attribute on these tags would actually make a nice new feature…

Thoughts, suggestions

Offline

#2 2006-12-14 19:35:23

douglgm
Member
From: Bristol
Registered: 2006-08-23
Posts: 182
Website

Re: How: Create a prev/next link with alternate sort criteria

This is something that would really really make me happy. It would have made my latest project infinately more sensible. I would also like to see something better than just “<txp:newer> and <txp:older> so that it’s possible to move from one article in another in the same order as the sorted list…

Offline

#3 2006-12-14 19:38:33

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: How: Create a prev/next link with alternate sort criteria

Great! Do you know how to code a patch? ;)

I’m not that smart. I suppose we could make it a feature request. or a plugin request.

Offline

Board footer

Powered by FluxBB