Hello. I saw that the groupslisting.php is using the groups description in order to build its list of groups.
I think it should use the briefdescription because if users put a 1 page description then the search screen and the groups widget became a bit tooooo long.
What I did is this :
$description = $vars['entity']->briefdescription;
if ($description == "") {
$description = substr($vars['entity']->description,0, 200);
if (strlen($vars['entity']->description) > 200)
$description .= "...";
}
$info .= "<p class=\"owner_timestamp\">" . $description . "</p>";
I think it should be good to add a space detection system in order to avoid cutting a word... :p
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.