Categories
diy

Elgg, showing more latest updates (discussions) on group page

By default, Elgg’s group page shows 4 latest discussions from the group forum. For getting better overview about actions in forum it might be good idea to increase the number from 4 to…50, for example:

Navigate to Elgg installation folder / mod / groups / views / default / groups / forum_latest.php on line 5, where stands:
[php]
$forum = get_entities_from_annotations("object", "groupforumtopic", "group_topic_post", "", 0, $vars[‘entity’]->guid, 50, 0, "asc", false);[/php]

Number 50 is the one.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.