Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #9390
    shirleyl
    Member

    I’m using the free version of Catch Box, and I’m having some difficulties with recognition of non-default page templates. My default is to have the content on the left with sidebar, but I’m trying to use the Full Width Disable Sidebar Template option on some pages. It seems to work fine on some pages, for example:
    http://sndhome.org/calendar/
    But it doesn’t work on other pages, for example: http://sndhome.org/groups/
    and http://sndhome.org/forums/

    I’m using BuddyPress for my Groups and bbPress for my forums, and it appears that this might be part of the problem. I’m not sure how to trace back through all of the various .php files that Catch Box and these plugins use to figure out where things are going wrong. Any guidance would be appreciated.

    Thanks,

    Shirley

    #9409
    Grubert
    Member

    Unfortunately I don’t have the solution to your problem but just wanted you to know I was experiencing the very same difficulties.

    It seems that somewhere in the buddypress/bbpress plugin code they are calling the page layout from the theme’s default page layout, because if you change, for example, the default layout from “Content on left” to “One-column, no sidebar,” all buddypress pages (like the members page, forums page, activity, etc) layouts change as well.

    It seems that if you try to manually change the pages via the page editor, nothing changes. The values are saved but the pages still pull from the default layout’s settings. I’ve played with the CSS and was able to remove the sidebars, but that ultimately effects all the pages, not just the select few I’m trying to change.

    My guess is that only way to solve the problem is to manually edit where buddypress/bbpress builds each ‘category’ of page (like the member’s profiles or activity), but unfortunately I haven’t been able to successfully locate where.

    If anyone else has experienced this issue and would shed some light as to how they solved it, it would be appreciated here as well.

    #9431
    shirleyl
    Member

    @Grubert — misery loves company! I got some help over at the BuddyPress support forum. This enables me to lose the sidebar on the BP and bbP pages, but I’m still struggling to invoke full-width display on those pages. This is being accomplished with some CSS “swapping,” which appears to be controlled by the catchbox_body_classes function in the Catch Box functions.php file. I just have to learn how to 1)override this function in my child theme’s functions.php file and 2)alter the code to invoke fullwidth classes when buddypress.php or bbpress.php are the template files.

    Still working on it …

    #9432
    shirleyl
    Member

    @Grubert OMG! Just had a major break thru! Forget figuring out how to invoke fullwidth display CSS. I figured out how to have a customized sidebar on my BP and bbP pages, which is way better. Check it out at http://sndhome.org/groups/ and http://sndhome.org/forums/. Let me know if you want me to explain how I did it. What a great way to end the week! I’m going to quit working on this now, before I break something.

    #9474
    Sakin
    Keymaster

    @shirleyl: Hello send me the link of the page for which you want full width. I will give you the css for that specific page to make it full width.

    #9579
    shirleyl
    Member

    @Sakin Thanks for your response. These are the pages that I originally wanted to make full-width: http://sndhome.org/groups/ and http://sndhome.org/forums/ I have found an alternate now, which involves putting a different widget into the sidebar on those two pages. This will probably work better for me than making the pages full-width, so there is no need for you to spend time helping with customizing the CSS for these two pages now. I would still be interested in learning more about how this works, if it is easy to explain.

    #9607
    Sakin
    Keymaster

    @shirleyl: Ok great you have done it. For forum specific page, we need to copy the full width css with forum css.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Page template inconsistencies’ is closed to new replies.