aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire
diff options
context:
space:
mode:
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(),
+));