Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

limit latest discussion module

10 years 10 months ago
  • Wendy's Avatar
    Topic Author
  • Wendy
  • Offline
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Licenses:
JomSocial Expired

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!

10 years 10 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

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

10 years 9 months ago
  • Wendy's Avatar
    Topic Author
  • Wendy
  • Offline
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Licenses:
JomSocial Expired

The module is not enabled. How do I control the module posts for all groups?

I'm assuming if you use the Joomla module then I need to know what position to put it in.

Thanks

10 years 9 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

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

10 years 9 months ago
  • Wendy's Avatar
    Topic Author
  • Wendy
  • Offline
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Licenses:
JomSocial Expired

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

Attachment screenshot-forum.q4intel.com2014-07-0910-35-27.png not found

Attachments:
10 years 9 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

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')

and change to the number what do you want.

thank you

10 years 9 months ago
  • Wendy's Avatar
    Topic Author
  • Wendy
  • Offline
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Licenses:
JomSocial Expired

I tried this fix and didn't work. Can you please see the code?

10 years 9 months ago
Licenses:

Hi Wendy,

please put extract the zip file and put this file to:
/components/com_community/templates/default/
after that goto:
jomsocial backend: configuration - templates - select default
and put the limit value for discussion.



Regards,
Albert

Attachments:
10 years 9 months ago
Licenses:

Hi Wendy,

We have not received any response back from you in over 7 days, and would like to know if you consider this issue to be resolved. If you have any further questions, simply reply to this post.

Regards,
Albert

10 years 9 months ago
  • Wendy's Avatar
    Topic Author
  • Wendy
  • Offline
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,

I tried your solution and it didn't work. Can you please access the website via the settings I've put in for this discussion and check?

Thank you

10 years 9 months ago
Licenses:

Hi Wendy,

I saw the code that you applied. the correct one must:

$discussions = $groupsModel->getGroupLatestDiscussion($categoryId, '', 10);
not
$discussions = $groupsModel->getGroupLatestDiscussion($categoryId, '', $templateParams->get(10));

I can't access administrator seem invalid access detail, so I can't check the backend changes

Regards,
Albert

10 years 8 months ago
Licenses:

Hi Wendy,

We have not received any response back from you in over 7 days, and would like to know if you consider this issue to be resolved. If you have any further questions, simply reply to this post.

Regards,
Albert

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW