BuddyBoss Home – Web › Support Forums › Solutions › Social Learner › Expand Modules by Default?
- This topic has 5 replies, 5 contibutors, and was last updated 7 years, 7 months ago by Alberto.
Question
April 19, 2016 at 1:07 pm #68960@davejayHi 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
April 21, 2016 at 7:20 am #69154@alyssa-buddyboss
AlyssaParticipantHi 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.
April 21, 2016 at 8:12 am #69166@davejayNo problem, @paresh. I can wait for an update.
September 22, 2016 at 11:53 pm #73523@niroga@paresh Any word on whether this was implemented? I want to do the exact same thing.
December 7, 2016 at 5:01 am #75215@moatleymadeUtterly annoying. At least have the module you’re in be expanded automatically. Anyone have a solution for this?
April 7, 2017 at 10:34 am #78100@albsamaModify /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.
- You must be logged in to reply to this question.