Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Is it possible to force BP to use page templates?

  • Avatar of Brendino
    Brendino
    Participant

    @brendino

    WP 3.5.1, BP 1.7b1.

    I made a page template to exclude a sidebar:

    Page template screenshot - basic stuff (EDIT: can I not embed screenshots?)

    I tested it with a normal page; it worked as expected. But then I tried it with my BP “Register” page and the page didn’t reflect the fact that I changed the template.

    Is there something I can do about that? Or will I have to come up with another way to change the registration page template?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of Brendino
    Brendino
    Participant

    @brendino

    Found this thread which, as of nine months ago, indicates that what I want to do isn’t possible. Not sure if the new theme system with 1.7 should have changed anything though.

    If this is indeed a missing feature and not a bug, I’ll probably do a feature request…the current system is rather unintuitive, no?

    In the meantime, where would I have to go in the code to get the register and activate pages to load my anti-sidebar template?

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    That type of template overriding wont work yet. You would need to create a buddypress.php file in your theme folder that contains your themes page.php code and then wrap the sidebar with an if is not register page statement.

    http://codex.buddypress.org/developer/theme-development/a-quick-look-at-1-7-theme-compatibility/

    Avatar of Brendino
    Brendino
    Participant

    @brendino

    Good to know. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.