BuddyBoss Home – Web Support Forums Solutions Social Learner Expand Modules by Default?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Question

    #68960

    Hi folks,

    I really like the expand/collapse modules feature baked-in to Social Learner since the last big update. But I’m wondering: is there a way to set the default state to expanded instead of collapsed?

    I’m using Sensei.

    Thanks!

    Answers

    #69154

    Alyssa
    Participant
    @alyssa-buddyboss

    Hi there!

    That’s a good idea, and that’s something that Social Learner should support out of the box. We’ll take care of that in a future release, thanks for the feedback.

    Sorry not to be able to help you more for now.

    #69166

    No problem, @paresh. I can wait for an update.

    #73523
    @niroga

    @paresh Any word on whether this was implemented? I want to do the exact same thing.

    #75215
    @moatleymade

    Utterly annoying. At least have the module you’re in be expanded automatically. Anyone have a solution for this?

    #78100
    @albsama

    Modify /wp-content/plugins/boss-sensei/assets/js/sensei.js by removing the following code on line 186:

                //Initially assign all to be collapsed
                $('.expList2').closest('ul')
                    .addClass('collapsed')
                    .children('li').hide();

    Then minify sensei.js (you can do it at https://jscompress.com/) and replace sensei.min.js with the new minified code.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this question.