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

buddypress-trac noreply at wordpress.org
Fri Nov 2 01:06:07 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 boonebgorges):

 Ah yes, you're right about activity permalinks.

 Looking over the way we handle permalinks, it doesn't seem to me to be out
 of the question to rework the activity loading process so that
 `BP_Activity_Component::setup_globals()` does most of the work that's
 currently being done in `bp_activity_screen_single_activity_permalink()`.
 This would help with template hierarchy, and it would also more closely
 match the way that the members and group components work.

 I'm agnostic about whether this should be done for 1.7. IMO it's not out
 of the question to release 1.7 without
 `activity/permalink-{activity_type}`, but then to refactor activity as
 described above for 1.8 and introduce activity-type-specific templates as
 an enhancement then.

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


More information about the buddypress-trac mailing list