I have one solution here for you, although it’ll be up to you to deal with cross browser compatibility as far as the css goes. If the second sidebar is not going to be present on every page, you are going to have problems using this code. ….. be warned!!!
If you are doing this on a live site, make sure you have full backups of your template files. I set this up on an install that I’m playing around with. Its not a live site, it is a place for me to muck around with wordpress and buddypress.
This is just a starting point, but if you know your css you should be just fine
Step 1.
We’ll start with single.php here. this file is found in the bp-default theme folder
around line 57, find this code:
“
Copy that, and paste it a second time right below itself. Add a 2 to the part that says sidebar.php so your two lines now look like this:
“
“
move those two lines to lines 2 and 3, right below
“
Step 2.
Now copy and save sidebar.php as a second file called sidebar2.php. Put that file in the bp-default theme folder so that now you have sidebar.php and sidebar2.php both in there. Open sidebar2.php in a text editor and change the first div at the top from `
FishFinder i would bow down to your knees if you could continue with this jaja. No man seriously, that’s an awesome start. so what would you call a complete finishing up touch to this? and cross browser compliant? I’m a mindless guy with css, i would appreciate if you could continue your tutorial. And i don’t mind if the three colums show on all pages, i think thats what i would like best.
Thanks!!
On the other hand…how would you make a full-width template? I’m trying to find a page.php file, but it does not seem to be included in the theme.
Shouldn’t this template be quite easy?
Thanks!
Child themes usually don’t include page.php; they usually inherit it from the parent theme, which in this case is the bp-default theme (/buddypress/bp-themes/bp-default/).
However, you can easily make such a template yourself.
Just create a page.php in your child theme and customize!
In “members/admin/activity/” When i click on a member post and it opens in a page without the sidebar, the header is cutting out the logo… do you know how do edit this header without modifing the main header ( that fits ok )
I’m using Buddypress 1.5.1 and I don’t have:
“
around line 57. On line 56, however, I have:
“
I’m not a coder, but can I put a call for sidebar1 and sidebar2? Would one go before the Content Div and one after?
I am using a Child theme, too, by the way, with bp-default as the parent theme.
Hello fishfinder. Your tutor about this is the best I have seen so far. I have spent countless hours searching on Google, bing, and Yahoo about this. Your tutor indeed is clear but my problem is that I am using the latest version of buddypress, so I am not able to see the locate template stuffs in my single.php file. Please I really do need your help here. If someone else here have found a solution, please help me by droping the link and your help will be well appreciated. Thanks.