aboutsummaryrefslogtreecommitdiff
path: root/mod/blog
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog')
-rw-r--r--mod/blog/views/default/blog/sidebar_menu.php5
-rw-r--r--mod/blog/views/default/object/blog.php3
2 files changed, 7 insertions, 1 deletions
diff --git a/mod/blog/views/default/blog/sidebar_menu.php b/mod/blog/views/default/blog/sidebar_menu.php
index b910b420b..71bb1ec39 100644
--- a/mod/blog/views/default/blog/sidebar_menu.php
+++ b/mod/blog/views/default/blog/sidebar_menu.php
@@ -39,7 +39,10 @@ if ($loggedin_user) {
<ul class="submenu">
<li><a href="">Drafts</a></li>
</ul>
-
+<?php
+ // include a view for plugins to extend
+ echo elgg_view("blogs/sidebar", array("object_type" => 'blog'));
+?>
<?php // temporarily force tag-cloud display
echo "<h3>Tagcloud</h3>";
echo "<div class='tagcloud sidebar'>".display_tagcloud(0, 100, 'tags')."</div>";
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php
index 5a86e7e3d..f1240256a 100644
--- a/mod/blog/views/default/object/blog.php
+++ b/mod/blog/views/default/object/blog.php
@@ -50,6 +50,9 @@ if ($blog->canEdit()) {
$edit = '';
}
+ // include a view for plugins to extend
+ $edit = elgg_view("blogs/options", array("object_type" => 'blog')) .$edit;
+
if ($full) {
// The "on" status changes for comments, so best to check for !Off
if ($blog->comments_on != 'Off') {