Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-11-21 12:20:36
- younglee
- New Member
- Registered: 2007-11-21
- Posts: 2
Comments order
Hi,
Is it possible to change order of comments. Default is always putting newest comment below the older comment so is it possible to reverse it? Like newest comment on top?
Thanks…
Offline
Offline
Re: Comments order
I might be wrong but thought that now comments supported the sortdir=“desc/asc” attribute
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Comments order
Not sortdir, just the sort
attribute, which can take not only the column used for sorting, but also the sorting order (ASC/DESC), so you can now use this attribute/value set inside the txp:comments tag: sort="posted DESC"
, similar to how the sort attribute works for the article/article_custom tag.
Perhaps Textbook isn’t yet updated with this new information, but all TXP tags that generate lists (category_list, section_list, link_list, etc) now have a sort attribute. This was introduced in TXP 4.0.5
Offline
Pages: 1