Hi guys! Im working on a little custom module that shows all the groups and some information relative to that group. Im stuck at using a few of the api calls that i cant find documentation for.
Please have a look at my test site.
http://www.lf1m.org/lf1mtest
<?
require_once( JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/foundry.php' );?>
<div align="center">
<a data-spotlight="effect:left;" href="http://www.lf1m.org/lf1mtest/index.php/starflight-venture-cooperative">
<img src="/<? echo Foundry::group('2')->getAvatar();?>" align="center" width="180" height="180" alt="" />
<div class="overlay"><? echo "<h2 align='center'>" . Foundry::group( '2' )->getTotalMembers() ." Members</h2>" . Foundry::group( '2' )->getName() . "<br><h4>Star Citizen</h4>";?>
</div>
</a>
i would like this script to run and populate with all the groups.
would like to grab the
url to the group
having trouble with grabbing the
category name
having trouble with getting the
large avatar
and im not sure how to cycle through all the available groups.
any help here would be greatly appreciated!
Benjamin