Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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