Can\'t I use bp template tags in my own template?
This might seem like a very basic question… but it’s had me stumped for a while.
Do I really have to use the bp-sn-whatever template to be able to use any of buddypress’s functionality?
Perhaps I misunderstand the function of the whole plugin, but I presumed it would be like any other plugin… I activate the plugin, and it gives me a function. Which comes with a shortcode or template tag that I drop into my posts or my template files.
For instance, BP has a nice little function called bp_signup_page(). Normally, I’d create a new page template, get_header, _sidebar and _footer it, and select the template when I create a new blank page called Register.
And the output I’d expect would be a page that looks like my site, and has a nice little login form in the middle. Turns out I’m way off the mark. I need to use the one template that’s provided with the plugin, and have my site look like every other BP site out there. Yeah.. i can change my colours… but i’m working on a modified P2 theme. I need to plug that functionality in, too.
This is beginning to look a lot like Drupal in its early days (perhaps even now…), all the functionality you need, as long as you stick to the one layout.
I’m ranting here, I know. But this seems to go completely against the way WP functions. And then, completely against the way BP functioned when it was still being developed. Perhaps you guys should look at making it more of a plugin, and less of a theming protocol.
PS: using the latest WPMU and BP, as of now.
- The topic ‘Can\'t I use bp template tags in my own template?’ is closed to new replies.