Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2011-08-03 17:15:02
- woof
- Member
- Registered: 2004-08-01
- Posts: 128
Custom sorting of Sections in search results
I’m trying, unsuccessfully, to figure out how to display search results or article lists by Section, but in a custom order
using sort=“section asc” or sort=“section desc” in <txp:article>
along with <txp:if_different>
in my form allows me to display results by Sections in either 1,2,3,4 or 4,3,2,1 order, but how can I achieve a sort order like 3,1,4,2?
Essentially I want to do with <txp:article>
what esq_sectionsort does with the <txp:section_list>
tag
I’d be grateful for any pointers or suggestions, thanks!
Offline
Re: Custom sorting of Sections in search results
Offline
#3 2011-08-04 15:40:53
- woof
- Member
- Registered: 2004-08-01
- Posts: 128
Re: Custom sorting of Sections in search results
Thanks ruud
Offline