From d65b3a6e8b25a5ebfab8f5ca7f22328db69fcb04 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 22 Mar 2011 11:09:37 +0000 Subject: Fixes #2091 completes sidebar tagcloud for major content plugins git-svn-id: http://code.elgg.org/elgg/trunk@8815 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/bookmarks/views/default/bookmarks/sidebar.php | 5 +++++ mod/file/views/default/file/sidebar.php | 5 +++++ mod/pages/views/default/pages/sidebar.php | 5 +++++ mod/thewire/pages/thewire/everyone.php | 1 + mod/thewire/pages/thewire/owner.php | 1 + mod/thewire/views/default/thewire/sidebar.php | 9 +++++++++ 6 files changed, 26 insertions(+) create mode 100644 mod/thewire/views/default/thewire/sidebar.php 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 @@ + 'thewire', + 'owner_guid' => elgg_get_page_owner_guid(), +)); -- cgit v1.2.3