I'm trying to find a setting. The latest discussion module that is built into jomsocial is showing a lot of discussions for all groups. I can't find the setting for the number of discussions to limit.
I'm wondering if I need to create a Joomla module that will override the Jomsocial one. If so what position do I put the module in?
Thanks!
Hi Wendy,
You can set it in Joomla menu manager, and edit your latest disucssion module, there you can see "Count" field, edit that value to whatever you want.
I hope it helps.
thank you
Hi Wendy,
What do you mean to control module post? where is the position do you want to put? can you provide me the screenshoot, please?
thank you
I mean that I want to control the number of discussions that are displayed on all groups. The list just keeps growing and I want to limit the number of discussions.
I found the Joomla module but this is the one built in and I can't find the place to control the number of discussions. I've also given a login so you can see yourself the settings.
Thanks
Hi Wendy,
well, I think this is bug, that total parameter disucssion should be configureable on template, but in newest version we are missing that setting.. for temp fix you can edit this file components/com_community/views/groups/view.html.php find this code :
$templateParams->get('sidebarTotalDiscussions')
Hi Wendy,
I saw the code that you applied. the correct one must:
$discussions = $groupsModel->getGroupLatestDiscussion($categoryId, '', 10);
$discussions = $groupsModel->getGroupLatestDiscussion($categoryId, '', $templateParams->get(10));