Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2015-11-27 12:34:39
- MrViSiOn
- Member
- Registered: 2014-11-17
- Posts: 26
txp:article_custom disable sort by
Hi!
Is it possible to “disable” sort by in article_custom function?
I have a specific order in id list and I want to render this form in the same order as id parameter says Is it possible?
<txp:article_custom time="any" limit="4" id="1123, 4151, 512" form="myform" />
Thank you!
Offline
Re: txp:article_custom disable sort by
<txp:article_custom time="any" limit="4" id="1123, 4151, 512" sort="field(id,1123,4151,512)" form="myform" />
See here
Offline
#3 2015-11-27 15:02:40
- MrViSiOn
- Member
- Registered: 2014-11-17
- Posts: 26
Re: txp:article_custom disable sort by
Thank you so much!
I didn’t know about that kind of sorting
Offline
Pages: 1