'blog')); // fetch & display latest comments on all blog posts $comments = get_annotations(0, "object", "blog", "generic_comment", "", 0, 4, 0, "desc"); echo elgg_view('annotation/latest_comments', array('comments' => $comments)); // only show archives for users or groups. // This is a limitation of the URL schema. if ($page_owner) { $dates = blog_get_blog_months($user); if ($dates) { echo "

" . elgg_echo('blog:archives') . "

"; echo ''; } // friends page lists all tags; mine lists owner's $owner_guid = ($vars['page'] == 'friends') ? '' : $page_owner->getGUID(); echo display_tagcloud(0, 50, 'tags', 'object', 'blog', $owner_guid); } else { echo display_tagcloud(0, 50, 'tags', 'object', 'blog'); }