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.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/custom_index/index.php b/mod/custom_index/index.php
index e39e6ef29..05771f576 100644
--- a/mod/custom_index/index.php
+++ b/mod/custom_index/index.php
@@ -31,11 +31,12 @@ $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,
- 'gallery' => true,
+ 'list_type' => 'gallery',
+ 'gallery_class' => 'elgg-gallery-users',
'size' => 'small',
));