aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-22 11:09:37 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-22 11:09:37 +0000
commitd65b3a6e8b25a5ebfab8f5ca7f22328db69fcb04 (patch)
tree9315fdd82e9787079e2d8e1a0e316c057bae2db2 /mod/thewire
parent8a45f27fca39f0356987c011c80e07c0f0413d6a (diff)
downloadelgg-d65b3a6e8b25a5ebfab8f5ca7f22328db69fcb04.tar.gz
elgg-d65b3a6e8b25a5ebfab8f5ca7f22328db69fcb04.tar.bz2
Fixes #2091 completes sidebar tagcloud for major content plugins
git-svn-id: http://code.elgg.org/elgg/trunk@8815 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/thewire')
-rw-r--r--mod/thewire/pages/thewire/everyone.php1
-rw-r--r--mod/thewire/pages/thewire/owner.php1
-rw-r--r--mod/thewire/views/default/thewire/sidebar.php9
3 files changed, 11 insertions, 0 deletions
diff --git a/mod/thewire/pages/thewire/everyone.php b/mod/thewire/pages/thewire/everyone.php
index 75abd282d..6ccff11fd 100644
--- a/mod/thewire/pages/thewire/everyone.php
+++ b/mod/thewire/pages/thewire/everyone.php
@@ -24,6 +24,7 @@ $body = elgg_view_layout('content', array(
'content' => $content,
'title' => $title,
'buttons' => false,
+ 'sidebar' => elgg_view('thewire/sidebar'),
));
echo elgg_view_page($title, $body);
diff --git a/mod/thewire/pages/thewire/owner.php b/mod/thewire/pages/thewire/owner.php
index 5645b23ba..e52b445ab 100644
--- a/mod/thewire/pages/thewire/owner.php
+++ b/mod/thewire/pages/thewire/owner.php
@@ -28,6 +28,7 @@ $body = elgg_view_layout('content', array(
'content' => $content,
'title' => $title,
'buttons' => false,
+ 'sidebar' => elgg_view('thewire/sidebar'),
));
echo elgg_view_page($title, $body);
diff --git a/mod/thewire/views/default/thewire/sidebar.php b/mod/thewire/views/default/thewire/sidebar.php
new file mode 100644
index 000000000..a8aadd1f8
--- /dev/null
+++ b/mod/thewire/views/default/thewire/sidebar.php
@@ -0,0 +1,9 @@
+<?php
+/**
+ * The wire sidebar
+ */
+
+echo elgg_view('page/elements/tagcloud_block', array(
+ 'subtypes' => 'thewire',
+ 'owner_guid' => elgg_get_page_owner_guid(),
+));