Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
sorting articles by custom field
Hi,
I can use <txp:article sort="custom_3 asc" />
to sort my articles based on a custom field. But, is there a way I can do the same referring to the custom field by name?
Suppose that custom_3 is called state, I’d like to do something like <txp: article sort="state asc" />
.
Is there a way to do this?
TIA
Mariano Absatz – El Baby
I don’t suffer from insanity. I enjoy every minute of it.
Offline
#2 2008-06-19 21:28:56
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: sorting articles by custom field
According to the documentation, no
You need to use the name as it appears in the database.
Last edited by masa (2008-06-19 21:29:29)
Offline
Pages: 1