Is it possible to sort the topic list by the topics creation date and not by update date for one particular forum on my Drupal site (not for all forums, just one)?
Currently, when a topic is edited by the author it jumps to the top of the list. It makes sense for normal situations when editing a post makes it "new", but I have a specific forum where user wants the posts sorted statically by creation date, period.
I didn't find such option in the UI, and I wasn't able to figure out how to do it in a custom module via hook or something. I am ok with writing a hack if necessary (just don't know exactly which part to hack), anything that would enable the sort order by creation date.
Comments
Comment #1
crucq CreditAttribution: crucq commentedSubscribe
Comment #2
troky CreditAttribution: troky commentedYou don't need to subscribe... there is "Follow" button for that purpose.
Comment #3
crucq CreditAttribution: crucq commentedSorry, I noticed that button too late
Advanced Forum provides several views, and one show the list of topics:
/admin/structure/views/view/advanced_forum_topic_list/edit
I added the 'Content: Post date' value under 'Sort Criteria', because I needed all forum-topics to be sorted by post date
I'm not an expert, but maybe you could duplicate the view, and apply each for its own type of order depending on forum id's?
Just an idea, I hope it helps you a bit further
Comment #3.0
crucq CreditAttribution: crucq commentededit
Comment #4
David Latapie CreditAttribution: David Latapie commentedI can't find it on/admin/config/content/advanced-forum
. Any other place to look for it?I use Drupal 7 and I can't findadmin/structure/views/view/advanced_forum_topic_list/edit
- I only haveadmin/structure/
, I did not install views.Update: I did not enable View UI.
Comment #5
dillix CreditAttribution: dillix commentedI didn't find a way to sort by topic creation date or latest comment date...
Comment #6
idflorin CreditAttribution: idflorin commented#3 works. thank you