[buddypress-trac] [BuddyPress] #997: New theme structure doesn't work with parent theme not being a BP framework

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Sep 16 14:10:00 UTC 2009

#997: New theme structure doesn't work with parent theme not being a BP framework
  Reporter:  Detective   |       Owner:        
      Type:  defect      |      Status:  closed
  Priority:  minor       |   Milestone:  1.1   
Resolution:  worksforme  |    Keywords:        
Changes (by Jason_JM):

  * priority:  major => minor
  * status:  reopened => closed
  * resolution:  => worksforme


 Replying to [comment:3 Detective]:
 > I forgot to say: when I tested this, I renamed my groups folder to old-
 groups and copied the groups folder from the bp-parent theme. And before I
 had tested moving my own files to the new locations (inside single/ with
 their new names).
 > I don't understand enough BP to find where $bp_path is set. If you give
 me some pointer I'll try to make a patch.
 > Thanks.

   - Use the default templates, assure default works first.
   - Copy the default template, modify as necessary.
   - You are either missing files, or your template file is not defined
   - Please evaluate the template file and compare to the default.

 This will be flagged 'works for me' for now.  If your still having issues,
 provide more information and re-open, but please only after you try the
 recommended, provide some extra info (like files).  Attach your files so
 that they can be evaluated, it's a little hard to debug something with no
 info on this side.

 About $bp_path:

 With $template being a specific template file
 *bp_core_load_template(...) is called, accepting and passing $template as
 $pages to bp_catch_uri.

 ->calls bp_catch_uri(...) is called, accepting $template as $pages and
 tries to load the first template file that can be found.

 ->It is here that $bp_path gets set:
   $bp_path = $pages;

Ticket URL: <http://trac.buddypress.org/ticket/997#comment:4>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list