aboutsummaryrefslogtreecommitdiff
path: root/mod/custom_index/views/default
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-09-29 15:46:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-09-29 15:46:54 -0300
commit731e0f0feff53520cf68f8dbcbd0531303716221 (patch)
treea11021818a1f2e6967f75ba69ec261c2cb169b62 /mod/custom_index/views/default
parentd3b655c485b370c9f2f94c7ba18e807b337ed5d4 (diff)
downloadelgg-731e0f0feff53520cf68f8dbcbd0531303716221.tar.gz
elgg-731e0f0feff53520cf68f8dbcbd0531303716221.tar.bz2
Adding latest activities into custom index
Diffstat (limited to 'mod/custom_index/views/default')
-rw-r--r--mod/custom_index/views/default/page/layouts/custom_index.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/custom_index/views/default/page/layouts/custom_index.php b/mod/custom_index/views/default/page/layouts/custom_index.php
index 4f79754b9..2a05348b3 100644
--- a/mod/custom_index/views/default/page/layouts/custom_index.php
+++ b/mod/custom_index/views/default/page/layouts/custom_index.php
@@ -58,7 +58,12 @@ echo elgg_view("index/righthandside");
// members
//echo elgg_view_module('featured', elgg_echo("custom:members"), $vars['members'], $mod_params);
-// groups
+// activities
+if (elgg_is_active_plugin('activity')) {
+ echo elgg_view_module('featured', elgg_echo("custom:activities"), $vars['activities'], $mod_params);
+}
+
+// blogs
if (elgg_is_active_plugin('blog')) {
echo elgg_view_module('featured', elgg_echo("custom:blogs"), $vars['blogs'], $mod_params);
}