diff --git a/modules/blog.module b/modules/blog.module index 8e63edd4fd029aa68044dc851100554ea32e54c1..791e9ec84f478190c6f798beebcc688e26859a2d 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -259,6 +259,9 @@ function blog_menu($may_cache) { 'callback' => 'blog_page', 'access' => user_access('access content'), 'type' => MENU_SUGGESTED_ITEM); + $items[] = array('path' => 'blog/'. $user->uid, 'title' => t('my blog'), + 'access' => user_access('edit own blog'), + 'type' => MENU_DYNAMIC_ITEM); } return $items; diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 8e63edd4fd029aa68044dc851100554ea32e54c1..791e9ec84f478190c6f798beebcc688e26859a2d 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -259,6 +259,9 @@ function blog_menu($may_cache) { 'callback' => 'blog_page', 'access' => user_access('access content'), 'type' => MENU_SUGGESTED_ITEM); + $items[] = array('path' => 'blog/'. $user->uid, 'title' => t('my blog'), + 'access' => user_access('edit own blog'), + 'type' => MENU_DYNAMIC_ITEM); } return $items;