[buddypress-trac] [BuddyPress] #5064: Template hierarchy for /groups/single/plugins.php and /members/single/plugins.php (was: Template hierarchy feedback)
buddypress-trac
noreply at wordpress.org
Fri Jun 21 18:14:33 UTC 2013
#5064: Template hierarchy for /groups/single/plugins.php and
/members/single/plugins.php
-------------------------+-----------------------
Reporter: henrywright | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 1.9
Component: Core | Version: 1.8-beta
Severity: normal | Resolution:
Keywords: needs-patch |
-------------------------+-----------------------
Changes (by boonebgorges):
* keywords: feedback => needs-patch
* type: task => enhancement
* milestone: Awaiting Review => 1.9
Comment:
Thanks for the feedback, henrywright.
> Will there be a template hierarchy for this?
Not for 1.8. We're not providing any additional enhancements for bbPress
1.x. As for bbPress 2.x (the plugin), that'd fall under your #3, but it's
not slated for this release.
> noticed that the templates for the registration page (index-
register.php) and activation page (index-activate.php) are filed under
members (buddypress/members/*.php)
These were moved to `members` in 1.7 bp-legacy. I think the idea was to
get rid of an unnecessary template directory. bp-default still has the old
format, for backward compatibility reasons only.
> Some plugins use the plugins.php file to output information, will this
be in the hierarchy e.g something like buddypress/plugins/plugin-{plugin-
name}.php
This is a great suggestion. It's too late to do this for 1.8 (and also
there are probably going to be some technical hurdles to making it work,
because BP doesn't have a reliable way of telling which plugin is calling
a given template), but I'm going to move this ticket into the 1.9
milestone and rename it to reflect the suggestion. We can talk about it
more in the next cycle.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5064#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list