diff options
Diffstat (limited to 'mod/custom_index/index.php')
-rw-r--r-- | mod/custom_index/index.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/custom_index/index.php b/mod/custom_index/index.php index 53990a006..43cab9723 100644 --- a/mod/custom_index/index.php +++ b/mod/custom_index/index.php @@ -24,6 +24,10 @@ $blogs = elgg_list_entities($list_params); $list_params['subtype'] = 'bookmarks'; $bookmarks = elgg_list_entities($list_params); +//grab the latest thewire +$list_params['subtype'] = 'thewire'; +$thewire = elgg_list_entities($list_params); + //grab the latest files $list_params['subtype'] = 'file'; $files = elgg_list_entities($list_params); @@ -31,7 +35,7 @@ $files = elgg_list_entities($list_params); //get the newest members who have an avatar $newest_members = elgg_list_entities_from_metadata(array( 'metadata_names' => 'icontime', - 'types' => 'user', + 'type' => 'user', 'limit' => 10, 'full_view' => false, 'pagination' => false, @@ -58,6 +62,7 @@ $params = array( 'groups' => $groups, 'login' => $login, 'members' => $newest_members, + 'thewire' => $thewire, ); $body = elgg_view_layout('custom_index', $params); |