aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--mod/bookmarks/views/default/bookmarks/sidebar.php5
-rw-r--r--mod/file/views/default/file/sidebar.php5
-rw-r--r--mod/pages/views/default/pages/sidebar.php5
-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
6 files changed, 26 insertions, 0 deletions
diff --git a/mod/bookmarks/views/default/bookmarks/sidebar.php b/mod/bookmarks/views/default/bookmarks/sidebar.php
index 7d77221b1..811284ef3 100644
--- a/mod/bookmarks/views/default/bookmarks/sidebar.php
+++ b/mod/bookmarks/views/default/bookmarks/sidebar.php
@@ -7,3 +7,8 @@ echo elgg_view('page/elements/comments_block', array(
'subtypes' => 'bookmarks',
'owner_guid' => elgg_get_page_owner_guid(),
));
+
+echo elgg_view('page/elements/tagcloud_block', array(
+ 'subtypes' => 'bookmarks',
+ 'owner_guid' => elgg_get_page_owner_guid(),
+));
diff --git a/mod/file/views/default/file/sidebar.php b/mod/file/views/default/file/sidebar.php
index 864965e98..f61b8e64e 100644
--- a/mod/file/views/default/file/sidebar.php
+++ b/mod/file/views/default/file/sidebar.php
@@ -7,3 +7,8 @@ echo elgg_view('page/elements/comments_block', array(
'subtypes' => 'file',
'owner_guid' => elgg_get_page_owner_guid(),
));
+
+echo elgg_view('page/elements/tagcloud_block', array(
+ 'subtypes' => 'file',
+ 'owner_guid' => elgg_get_page_owner_guid(),
+));
diff --git a/mod/pages/views/default/pages/sidebar.php b/mod/pages/views/default/pages/sidebar.php
index 553335dc0..16fc12de0 100644
--- a/mod/pages/views/default/pages/sidebar.php
+++ b/mod/pages/views/default/pages/sidebar.php
@@ -7,3 +7,8 @@ echo elgg_view('page/elements/comments_block', array(
'subtypes' => array('page', 'page_top'),
'owner_guid' => elgg_get_page_owner_guid(),
));
+
+echo elgg_view('page/elements/tagcloud_block', array(
+ 'subtypes' => array('page', 'page_top'),
+ 'owner_guid' => elgg_get_page_owner_guid(),
+)); \ No newline at end of file
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(),
+));