[buddypress-trac] [BuddyPress] #4639: Add template hierarchy support

buddypress-trac noreply at wordpress.org
Fri Nov 2 10:58:40 UTC 2012


#4639: Add template hierarchy support
--------------------------+------------------------------
 Reporter:  DJPaul        |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Theme         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------

Comment (by hnla):

 Quick observations: (disclaimer: hurried tests & may have missed some
 points)

 The process seems to work well creating /single/custom/component-
 profile.php loads the file for user profile screens, copying all of
 home.php into the file (that seems a little like overkill but a very minor
 point )

 However what I still don't see  - and really the intial point of this
 exercise - is how one overloads for all user account screens, we have
 drilled down past this point.

 If I wanted to have a unique layout for user account screens in general
 I'm still stuck?

 Is it not possible to work something along the lines of /single/custom
 /home-custom.php and using something like bp_is_user() to id this action
 (realise the naming is a possibly problematic area and if this possible
 would have to be a fixed name)

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4639#comment:23>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list