Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 9 years ago

#6024 closed enhancement (no action required)

Allow plugins to filter selected template for bp-legacy AJAX requests

Reported by: dcavins's profile dcavins Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: Core Keywords:
Cc:

Description

While trying to simplify the way a plugin worked, I needed to be able to filter the template used by bp-legacy for AJAX responses. This patch adds filtering for all the things.

Attachments (1)

6024.01.patch (1.9 KB) - added by dcavins 10 years ago.
Allow plugins to filter bp-legacy AJAX template selection.

Download all attachments as: .zip

Change History (7)

@dcavins
10 years ago

Allow plugins to filter bp-legacy AJAX template selection.

#1 @boonebgorges
10 years ago

What do these filters do that can't be done with the more generic 'bp_get_template_part'?

#2 @DJPaul
10 years ago

  • Keywords reporter-feedback added

#3 @dcavins
10 years ago

I made this change while trying to simplify Invite Anyone (trying to use filters and actions to overload the default invites template in this post-theme-compat world). And there was a reason that filtering 'bp_get_template_part' wasn't up to scratch... let me look back at my notes and see if I can remember what the problem was.

Sorry for not describing the problem I was intending to fix as part of the original ticket description.

#4 @DJPaul
9 years ago

Any luck tracking it down?

This ticket was mentioned in Slack in #buddypress by djpaul. View the logs.


9 years ago

#6 @DJPaul
9 years ago

  • Keywords has-patch reporter-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

@dcavins Going to close this. If you think this still needs to be done, please provide more details and re-open the ticket. Thank you.

Note: See TracTickets for help on using tickets.