• Resolved devclasen

    (@devclasen)


    Hi everyone!

    I have a problem with the course outline in my sidebar.

    I am using the shortcode [lifterlms_course_outline] in my course/lesson sidebar, because I want the outline to be collapsed and only show the lessons of the current section. This works perfectly, as long as the user is within the lesson.

    But if the lesson contains a quiz/test, the outline doesn’t show the correct lessons “uncollapsed”, instead the first section is being shown, in which there are unmarked lessons. No matter in which course section the current test is.

    This is not good for my application, because students should be allowed to go through the course in a different sequence.

    I assume, this is the way it is, because the url structure of the regular lessons is “websitename.com/lesson/lesson-name” but the url structure of a test is “websitename.com/test/test-name” and not “websitename.com/lesson/test-name/… ” (or however you named the structure on your lifterlms pages). Am I right, that this is the reason?

    It would be an (not very nice, but acceptable) solution to me, that all sections are collapsed during the test. I could then set this up for the tests. But the shortcode has no option, that all sections are collapsed. Way better would be a solution, where the right section of the current test is being shown in the outline.

    I would be very glad, if someone can help me.

    Thank you!

    Dev

    • This topic was modified 3 months, 3 weeks ago by devclasen.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Nick Mariano

    (@reddotinmotion)

    Hi @devclasen,

    We recommend that you file a feature request for this using the form at lifterlms.com/feature-request.

    Once you file a feature request, our product team will review it. We may add it to our public-facing feature request board on Trello. This is the place where our users can vote on requests for new features. Here’s information on how we handle feature requests and other factors determining our focus for future product development. Just please note that we cannot give you an estimated timeline?on when these features will be considered for development.

    As a workaround, if you want all sections to be collapsed (i.e., open and shown) during the test/quiz, you can use the CSS code below:

    .single-llms_quiz .llms-widget-syllabus--collapsible .llms-section.llms-section--closed .llms-lesson {
    display: block;
    }
    Plugin Support Nick Mariano

    (@reddotinmotion)

    Hi @devclasen,

    As we haven’t had any response in over a week, I am going to mark this thread as resolved. Please reopen or post a new thread if you require further assistance.

    Thread Starter devclasen

    (@devclasen)

    Hi @reddotinmotion,

    thanks! I think, I was using the term “collapsed” in the wrong (opposite) way. While making a quiz, I do not want all sections to be shown, rather they should all be closed. Is there a way to do that with CSS? I couldn’t figure out way.

    Anyway, as you suggested, I will post this on the feature-requests.

    If there is a way to close all sections with CSS, I would be very thankful.

    Plugin Support Alexander

    (@alextonio22)

    Hi @devclasen ,

    To close all sections of the quiz by default using CSS, you can try the following approach:

    h3.llms-h3.llms-section-title { display: none; }

    Please note that this will not only apply when taking a quiz, but will also hide the section titles across all courses and lessons on your site.

    This should hide all sections of the lessons when the page loads. Keep in mind that this will only hide the sections visually.

    If you’re looking for something more specific, such as hiding only quiz sections or implementing a more customized behavior, I recommend reaching out to a LifterLMS expert for additional customization support. You can find expert assistance here: LifterLMS Experts.

    Let us know if you need further clarification!

    All the best,

    Plugin Support Alexander

    (@alextonio22)

    @devclasen ,

    As we haven’t had any response in a week, I am going to mark this thread as resolved. Please reopen or post a new thread if you require further assistance.

    All the best,

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.