diff options
Diffstat (limited to 'mod/custom_index/index.php')
| -rw-r--r-- | mod/custom_index/index.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mod/custom_index/index.php b/mod/custom_index/index.php index 94a1a16c6..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', )); @@ -60,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); |
