[buddypress-trac] [BuddyPress Trac] #7079: BP-legacy: split group single admin.php in separate template files

buddypress-trac noreply at wordpress.org
Wed Aug 24 21:59:49 UTC 2016


#7079: BP-legacy: split group single admin.php in separate template files
-----------------------------------+-----------------------
 Reporter:  Offereins              |       Owner:  hnla
     Type:  enhancement            |      Status:  accepted
 Priority:  normal                 |   Milestone:  2.7
Component:  Templates              |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+-----------------------

Comment (by dcavins):

 One more thought: These screens are wrapped completely in a form, which
 would make adding a search box in #6385 a bad/impossible idea. (Nested
 forms aren't allowed, and generally the closure of the inner form is
 interpreted as the outer form's closure because the inner form's opening
 tag is ignored.) We have two action points,
 `bp_before_group_admin_content`, and `bp_after_group_admin_content`, but
 both are contained within the form. Could we add an action point before
 the form, like `bp_before_group_admin_settings_form `, for items that need
 to exist on the screen but not be included in the form?

 Otherwise, I guess we could move the `<form>` tags (and those inside-the-
 form action points) into every sub template, so those templates can add
 items outside the form, but that's so much duplication.

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


More information about the buddypress-trac mailing list