turtleshell icon indicating copy to clipboard operation
turtleshell copied to clipboard

Backpat template filenaming

Open r-a-y opened this issue 12 years ago • 1 comments

I have some concerns about backpat.

I'm working on a plugin currently, which grabs the members loop template to display on a page.

I'm currently using this:

 bp_get_template_part( 'members/members-loop' );

Which will grab the members loop template from theme compat / bp-default.

In TS, this won't work since the filenaming structure is different and members-loop.php does not exist.

TS will, at the very least, need to add a filter so it will route filenames from theme compat to TS' new filenames to ensure compatibility.

I'll send a pull request soon, but wanted to note this now.

r-a-y avatar Feb 27 '13 19:02 r-a-y

I started it like this intentionally because the old file name conventions suck. Benefits of working on a proof of concept idea :)

paulgibbs avatar Feb 27 '13 19:02 paulgibbs