aboutsummaryrefslogtreecommitdiff
path: root/mod/custom_index_widgets/views/default/widgets/latest_activity_index/content.php
blob: 4010e0cb4b53718c230e8f24252b8967630f0ffd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php 
  
  $num_items = $vars['entity']->num_items;
  if (!isset($num_items)) $num_items = 10;
  
  $widget_group = $vars["entity"]->widget_group;
  if (!isset($widget_group)) $widget_group = 0;
 
  /* 
  $site_categories = $vars['config']->site->categories;
  $widget_categorie = $vars['entity']->widget_categorie;
  $widget_context_mode = $vars['entity']->widget_context_mode;
  if (!isset($widget_context_mode)) $widget_context_mode = 'search';
  elgg_set_context($widget_context_mode);
  */
  $widget_datas = elgg_list_river(0, $widget_group, '', '', '', '', $num_items,0,0,false);
  
	echo $widget_datas;
?>