Trying to get blog archive block showing on blog archive pages

Events happening in the community are now at Drupal community events on www.drupal.org.
ltwinner's picture

Im using the archive block that comes with views as a blog archive for my users by setting it to only show blog nodes and to take an extra argument of uid. So that that each user will have their own blog archive block

I've given the page display for the view this path: blog_archive. I want to show blog archive block on all users blog pages - blog/* and on the blog_archive pages - blog_archive/*

However the block only shows on the blog/* pages. It fails on the blog_archive/* pages due to arguments.

When the view is being created it gets the arguments and calls menu_get_object on them. This loads the user object for the blog/* pages because the blog/* menu items use the %user_uid_optional load function - from hook_menu() in blog.module - $items['blog/%user_uid_optional'] = array(......

However my blog_archive path is created by views and it has no load function, therefore there is no user object and the block doesn't show up. So any views experts got any ideas how I can get my blog_archive block to show up on blog_archive/* pages??

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: