[buddypress-trac] [BuddyPress] #1501: Main nav slugs incorrect while browsing user blogs (easy fix)

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Dec 28 19:00:53 UTC 2009


#1501: Main nav slugs incorrect while browsing user blogs (easy fix)
---------------------+------------------------------------------------------
Reporter:  teebes    |       Owner:     
    Type:  defect    |      Status:  new
Priority:  critical  |   Milestone:  1.2
Keywords:  main nav  |  
---------------------+------------------------------------------------------
 The main nav items (Home, Blogs, Groups, etc) are not linked correctly on
 a subdirectory domain.com/<user>/blog type install.  The links are
 maintaining the user's context in the URL.  You can try this by comparing:
 http://trips.expeditionrated.com/ (works fine at highest level) vs a
 user's blog: http://trips.expeditionrated.com/teebes (doesn't link).

 In header.php, it looks like we might simply need to replace site_url()
 with bp_home_blog_url() on the various nav items as that works correctly.
 I'm not sure if there is a preference to a different variable that may
 exist out there, so I wont submit code.

 Thanks :)

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1501>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list