Forum Discussion
Restart Course and Sidebar Menu
Hello,
Has this been fixed? I believe I am encountering the same bug.
Hi BrookeBarker-eb,
Thanks for reaching out!
We're still working on a fix for this, but now that you're subscribed to this thread, you'll get an update as soon as there's any news.
In the meantime, have you tried using "Reset to initial state" instead of "Restricted navigation"? It might do the trick while we sort this out.
Let me know if that helps or if you run into anything else. I'm happy to keep looking into it with you.
- claudianegro6 months agoCommunity Member
Hi, is there any news on this bug? Unfortunately, I have the same problem. Thank you.
- StevenBenassi6 months agoStaff
Hi claudianegro​!
Thanks for checking in on this!
I don't have any updates to share at this time as our development team prioritizes other enhancements. Not to worry! I've included your voice in the report that's being tracked. In the meantime, my teammates Joe and Eric shared a workaround you may want to explore:
As for resetting the slides, have you considered changing the revisit behavior of your slides to 'Reset to initial state' so that the contents of the slide will reset when a learner revisits them?
We'll be sure to notify you of any future developments!
- claudianegro5 months agoCommunity Member
Hello, thank you for the response and the suggestion, the slides are set to 'Restore to initial state' but I need to resume the course if the user interrupts access and continues later and I need to relock navigation after two fails.
I solved the problem using a suggestion found in this post:On the button that restarts the course, I used a trigger that works through a JavaScript that sets some variables (one for each scene and each slide) to add or remove CSS classes on the scene name and the slide name, to restore the initial restricted navigation.
Here the example:
const sceneN = document.querySelector('[data-slide-title="Name of the scene"]');if ( sceneN) {
sceneN.classList.remove('cs-viewed');
sceneN.classList.remove('cs-complete');
sceneN.classList.add('cs-unvisited');
sceneN.setAttribute('disabled', 'true');
sceneN.style.setProperty('pointer-events', 'none', 'important');
}
const slideN = document.querySelector('[data-slide-title="Name of the slide"]');
if ( slideN) {
slideN.classList.remove('cs-viewed');
slideN.setAttribute('disabled', 'true');
slideN.style.setProperty('pointer-events', 'none', 'important');
}
I hope it can be useful.
C
- KyleBoucher-16b5 months agoCommunity Member
It appears that this is still a problem. The trigger does not reset/restrict navigation or the flags. They are able to freely navigate back to the quiz and retake it without navigating through the course.
Related Content
- 6 months ago
- 2 years ago