[buddypress-trac] [BuddyPress] #3060: Can't navigate to group page after creation - Page bot found
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Thu Feb 10 10:29:00 UTC 2011
#3060: Can't navigate to group page after creation - Page bot found
--------------------------+-----------------------------
Reporter: jasonnathan | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Groups | Version:
Resolution: | Keywords:
--------------------------+-----------------------------
Comment (by jasonnathan):
- "My Groups" was showing even though user wasn't logged in and it wasn't
his profile page.
The problem was in the declaration of the sub-nav items.
Corrected {{{'user_has_access' => bp_is_my_profile()}}} to the subnav
declaration as it was before
- The default subnav slug is not set to home when is single item.
The problem certainly a little deeper, but this was a quick fix in
_setup_globals()
Set the {{{default action_variable[0]}}} to {{{'home'}}} if its empty
That part is not so much a fix, more of a hack.
--
Ticket URL: <https://trac.buddypress.org/ticket/3060#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list