Skip to:
Content
Pages
Categories
Search
Top
Bottom

Courseware Sub-Nav Missing With Custom Theme

  • Avatar of nospheratt
    nospheratt
    Member

    @nospheratt

    Hi Stas,

    I’ve been following your project for a while and I think it’s really awesome. :)

    Sadly, I’ve installed Courseware today and run into a problem. I use a custom theme, and when it is active, Courseware doesn’t have any sub-navigation items. It’s the same problem described here: http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/custom-theme-compatibility-and-courseware/

    To be sure it wasn’t a plugin conflict or something else in my installation, I have installed Courseware on a clean BP install, no other plugins besides BP Template Pack. Same results. It works with the default theme, but not with my custom theme.

    My custom theme works fine with several other BP components, and I’ve checked to see if it has all the bp hooks and template tags for groups home and header – it does. It’s not a CSS issue either, the code simply isn’t there.

    So, if you can give me any ideas about what can be causing this issue, or how can I do some more troubleshooting, I would be really grateful. :)

Viewing 17 replies - 1 through 17 (of 17 total)
  • Avatar of Stas Sușcov
    Stas Su?cov
    Participant

    @sushkov

    Hi, the secondary menus are handled by an action:
    http://github.com/scholarpress/buddypress-courseware/blob/master/groups/bpsp-groups.class.php#L128

    Make sure the theme has it.
    Also make sure there’s this template with the `bp_before_group_body` hook:

    http://trac.buddypress.org/browser/tags/1.2.6/bp-themes/bp-default/groups/single/plugins.php#L25

    Avatar of Stas Sușcov
    Stas Su?cov
    Participant

    @sushkov

    I should write a guide for ensuring compatibility with other themes. :|
    Thanks.

    That would be great, as I’ve had a lot of fun with the sub-nav and our theme ;)

    Avatar of nospheratt
    nospheratt
    Member

    @nospheratt

    Stas, thank you so much. I’ll check the action and the hook and I’ll report back. :)

    Avatar of nospheratt
    nospheratt
    Member

    @nospheratt

    Well, I’m SO happy. :)

    You’re right. My theme’s groups/single/plugins.php didn’t have these two lines:

    do_action( ‘bp_before_group_body’ )
    do_action( ‘bp_after_group_body’ )

    I just had to copy those to the appropriate places, and voilá! Courseware sub-nav is there. :)

    In case someone else need it, just copy lines 25 and 29 from:

    http://trac.buddypress.org/browser/tags/1.2.6/bp-themes/bp-default/groups/single/plugins.php#L25

    And paste them to the same place (before and after the line that says “do_action( ‘bp_template_content’ )”) to your plugins.php file, inside groups/single in your theme. :)

    Now I just have to tweak the CSS. Thank you very much, Stas! :)

    Avatar of Stas Sușcov
    Stas Su?cov
    Participant

    @sushkov

    Anytime sir, glad It worked that easy :)
    I’ll pin up this thread as sticky (at leas until the developer’s guide comes out).

    Avatar of Morgan-Jackson
    Morgan-Jackson
    Member

    @morgan-jackson

    @nospheratt, thanks

    do_action( ‘bp_before_group_body’ )
    do_action( ‘bp_after_group_body’ )

    Worked perfectly.

    I think I have a similar problem with my install, it is behaving strange. Another problem is that the conversation here is like russian to me, so it doesn´t help. Is there any video tutorials on this to follow? I dont know where to find my themes groups/single/plugins.php and if I experiment I am afraid to derstroy my site…are there someone in here who can help…telling step by step how to do this? ( if video tuts is not existing)

    My problem is not the same, just figured it out. I have my the tags in the right place, so you do not need to answer my first question.

    But still have the issue. I use genesis connect and genesis theme + child theme. I have heard from others in the studiopress forum who have been succeful in installing the hole lot.

    Issue: The scholarpress looks strange and I cant upload videos etc. when I try to make a course. What can I do???

    I’m having some of the same issues with the Pagelines Platform custom template with Buddypress. Most of my other Buddypress features work fine. I installed Courseware and its looking like it is sort of working (I can add new courses and most of the other features WORK) but the interface looks NOTHING like the interface on the Plugin website. It is very clunky and scattered. I followed the above instructions to modify my plugins.php file but my template’s file looked just like the BP default theme’s plugins.php file (it already had the: do_action( ‘bp_before_group_body’ ) and do_action( ‘bp_after_group_body’ )) in it.

    For an example please look at my Courseware section on my site:
    http://beaphotopro.com/groups/beginning-photography/courseware

    Shouldn’t the interface look more like this?
    http://scholarpress.github.com/buddypress-courseware/img/screens/dashboard_student.png

    Or am I doing something wrong?

    Avatar of Stas Sușcov
    Stas Su?cov
    Participant

    @sushkov

    Hi,
    I have two requests for you guys:
    1. Please don’t ask me to fix your themes. Courseware is not a commercial product! Hire devs for that.
    2. Please don’t hijack the forum threads. Even if there is something I could help, I can’t if you will post posts about a bunch of off-topic subjects that I am not interested in (like Genesis stuff and other commercial frameworks). You not helping other users in this case too.
    Thanks.

    I apologize. I just thought the fact that I am not using buddypress template pack might be the reason for the layout problem I am facing in the BP scholar-press courseware.
    Great plugin… will implement it in my school if I can make it work.

    Avatar of Stas Sușcov
    Stas Su?cov
    Participant

    @sushkov

    @Ingebjrog please report back if template pack helped.

    i have a similar problem, i installed wordpress, buddy press than courseware and I can’t seem to see the courseware tab at all. I can’t use any of the funtionallity. Can someone please help me. Or give me a theme name where courseware could work? do i need to have a courseware.css file loaded in my theme? any help is appreciated. Thanks

    Avatar of Stas Sușcov
    Stas Su?cov
    Participant

    @sushkov

    @keyfound just use the default theme, should work!

    I tired a few themes. The default theme that I’m using is “twenty ten” and I deactivated and re-activated the plugins. I have buddypress, courseware, and buddypress template pack.

    Avatar of gman-tools
    gman-tools
    Member

    @gman-tools

    Hi, the secondary menus are handled by an action:

    http://github.com/scholarpress/buddypress-courseware/blob/master/groups/bpsp-groups.class.php#L128

    Make sure the theme has it.

    This link gets a 404 page – would you please give the correct location for code reference file.

    Thanks

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

You must be logged in to reply to this topic.