SimplePortal
Support => English Support => Topic started by: BuddahBoy on July 20, 2015, 11:42:44 AM
-
Greetings - didn't find an answer to this so thought to ask here.
The "Recent Posts" block lists in descending order and I'd like the list to be ascending and also to not be affected by replies - can you please give me some direction?
Thank you,
Ron
-
Try the following change:
SSI.php
ORDER BY t.id_last_msg DESC
ORDER BY t.id_topic
-
Greetings - didn't find an answer to this so thought to ask here.
and also to not be affected by replies - can you please give me some direction?
Sounds like you should select Recent Topics instead of Recent Posts.
-
We have a single "recent" block which handles both posts and topics. However, the topic bit is more like recently updated topics and not recently created topics, as many people expect. The change above should change that along with the desired sort direction.
-
Thank you [SiNaN] - I did edit that file as you suggested but nothing changed in the listing. I attach a screenshot showing the box contents - same per and post fix.
Appreciate the assistance
Ron
-
You seem to be listing "posts" with that block indeed. If you want to list "posts" there, what do you mean by "also to not be affected by replies"? Can you try changing the "display" option of that block to "topics" by editing the block and see if that gives you want you want to achieve?
-
Thank you - tried that previous to the edit of the php file - did that again and it seems to work fine.
Appreciate it mucho
Ron
-
Glad to hear that it worked fine. You're welcome! ;)