aboutsummaryrefslogtreecommitdiff
path: root/mod/custom_index/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/custom_index/index.php')
-rw-r--r--mod/custom_index/index.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/mod/custom_index/index.php b/mod/custom_index/index.php
index 34a24ba38..05771f576 100644
--- a/mod/custom_index/index.php
+++ b/mod/custom_index/index.php
@@ -31,8 +31,13 @@ $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,
+ 'list_type' => 'gallery',
+ 'gallery_class' => 'elgg-gallery-users',
+ 'size' => 'small',
));
//newest groups
@@ -56,4 +61,8 @@ $params = array(
);
$body = elgg_view_layout('custom_index', $params);
+// no RSS feed with a "widget" front page
+global $autofeed;
+$autofeed = FALSE;
+
echo elgg_view_page('', $body);