We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Forum pagination show more | Forum

Marcus
Marcus Sep 20 '19
Is it doable to replace forum thread pagination with show more button. And reverse post order to show last replies on top
dave Leader
dave Sep 21 '19
Not sure about the more button and on the display order so far i have only found that in the customize php file in the forum controllers section on line 71 and 84 it references sortSectionOrder function 


and the function is on like 115


im not sure if that is the topic section or the actual topic.   But you might check the forum bol service file to see if there is a sort order assigned in there or the dao file.


in that same file grouporder is right under that.



I found several things that are DESC which is the way you want it anyway, latest on top.



section_dao.php  line 214            $example->setOrder('id DESC');


topic_dao.php  lines 113, 218, 255  also has DESC


post_dao.php is also DESC  lines 160 and 228


so im not sure where its set, but it might not be set at all, i believe php defaults to ASC so you may have to assign a sort order in the dao file if you can find the listing function you need.

The Forum post is edited by dave Sep 21 '19
Marcus
Marcus Sep 21 '19
Thanks Dave appreciate it