aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/start.php
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-01 15:13:10 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-01 15:13:10 +0000
commite22e23e930ecac79489b9d20dc07eb8d7b3ac637 (patch)
tree963ed9e884b2d0caf80f70081dd75f159dc4084a /mod/blog/start.php
parent7ba9437564bc6ab830c79a3261f107798105bbb6 (diff)
downloadelgg-e22e23e930ecac79489b9d20dc07eb8d7b3ac637.tar.gz
elgg-e22e23e930ecac79489b9d20dc07eb8d7b3ac637.tar.bz2
Restricting tag cloud display on Blogs and Documents by context.
git-svn-id: http://code.elgg.org/elgg/trunk@6306 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/start.php')
-rw-r--r--mod/blog/start.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index 9c604b756..6b9f500a2 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -153,7 +153,9 @@ function blog_page_handler($page) {
$sidebar = isset($content_info['sidebar']) ? $content_info['sidebar'] : '';
- $sidebar .= elgg_view('blog/sidebar_menu');
+ $sidebar .= elgg_view('blog/sidebar_menu', array(
+ 'page' => isset($page[1]) ? $page[1] : FALSE,
+ ));
$content = elgg_view('navigation/breadcrumbs') . $content_info['content'];