Community: Default sorting order for posts.
回答済みBy default the sorting order for views in the forums is always "Newest". It would be great if we could set our own custom default for the forums such as setting it to recent activity so posts with more activity float up to the top.
-
It's possible through a 'hack'. We've done it on http://www.dropboxforum.com
-
Hi Ed,
That's awesome! Would you mind sharing your hack?
Also, it looks like your hack is universal - e.g. affects all topics. Do you know if it's possible to hack it so there's a different default view according to the topic? We'd like our Ideas topic to default to the "votes" view but our Troubleshooting topic to default to newest post.
Lastly - are you the CM for Dropbox? I'd love to talk to someone about your Super User program. :)
Thanks!
-
Sure - you can add a "'sort_by=recent_activity" to the href
$topicList.find('a').each(function(){
$this = $(this);
$this.attr('href',$this.attr('href') + '?sort_by=recent_activity')and yes, I am :)
Just sent you an invite to chat!
投稿コメントは受け付けていません。
3 コメント