LifterLMS Course Outline during Quiz/Test
-
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
- You must be logged in to reply to this topic.