You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hello Everyone,
First of all, thank you for your time to review and comment as well.
In the comment field on all pages. I am trying to see if there is a way to change the chronological order from oldest to newest. Instead, be the newest on top and scroll down to the oldest. Is there a way to make this change?
Hi @Robert Pineres ,
as an Admin, go to General Configuration → Look and Feel → Custom HTML and paste this in the "At end of the HEAD" section:
<script>
function reverseCommentOrder(){
$comments = AJS.$('#page-comments');
$comments.children().each(function(i,li){$comments.prepend(li)});
}
AJS.toInit(function(){
reverseCommentOrder();
AJS.$('#comments-section-title').append('<a id="page-comments-reverse" href="#">(Change order)</a>');
AJS.$('#page-comments-reverse').css({ 'color':'#999','font-size':'0.65em'}).click(function(e){
reverseCommentOrder();
e.preventDefault();
});
});
</script>
This will display comments in the reverse chronological order and provide a clickable link (Change order next to the comment counter) to change back this order.
Hope that helps!
Regards,
Nicolai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.