[buddypress-trac] [BuddyPress] #1244: ul#nav class="selected" and ul#bp-nav class="current" are mixing up

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Nov 18 18:40:15 UTC 2009


#1244: ul#nav class="selected" and ul#bp-nav class="current" are mixing up
-------------------------+--------------------------------------------------
  Reporter:  21cdb       |       Owner:                                                                  
      Type:  defect      |      Status:  closed                                                          
  Priority:  major       |   Milestone:  1.2                                                             
Resolution:  worksforme  |    Keywords:  selected, current, css, nav, navigation, menu, reporter-feedback
-------------------------+--------------------------------------------------
Changes (by jason_jm):

 * cc: jason_jm (added)
  * keywords:  reporter-feedback => selected, current, css, nav,
               navigation, menu, reporter-feedback
  * status:  new => closed
  * resolution:  => worksforme


Comment:

 I can verify that the stock themes are fine, there is not issue between
 the selections between the main nav and userbar nav.  Thus I am closing
 the ticket.

 This looks to be a custom user theme issue.

 Recommend to the user that he/she post their code for their theme in which
 they've modified, i'm sure someone (like me) will help them out :-)

 Note, it looks like your actively calling:  bp_get_nav()
 Note that:
 - bp_get_nav() calls bp_get_loggedin_user_nav()
 - bp_get_loggedin_user_nav() is called by userbar.php

 So your script is calling bp_get_loggedin_user_nav() twice

 This is what leads me to believe that it's a user custom theme issue.

 Post your theme up and i'm sure people (including myself) will help you
 out, but I do believe the stock theme uses the functions properly.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1244#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list