aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/groups/profileitems.php
blob: 6f5fa32ce9ec7c8b5588b32b182f9611bdc27bf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
* Elgg groups - group homepage (profile) - provide an area for tools to extend with their latest content.
* 
* @package ElggGroups
*/ 
	 
// tools widget area
echo "<div id='group_tools_latest' class='clearfix'>";

	// activity latest 
	echo "<div class='group_tool_widget activity clearfix'>";
	echo elgg_view("groups/activity_latest",array('entity' => $vars['entity']));
	echo "</div>";
	 
	// forum latest
	echo "<div class='group_tool_widget forum clearfix'>";
	echo elgg_view("groups/forum_latest",array('entity' => $vars['entity']));
	echo "</div>";
	
	// enable tools to extend this area
	echo elgg_view("groups/tool_latest",array('entity' => $vars['entity']));

echo "</div>";		 
?>
<script type="text/javascript">
$(document).ready(function () { // subclass every other group tool widget
	$('#group_tools_latest').find('.group_tool_widget:odd').addClass('odd');
});
</script>