I have created a help page that can be accessed from any slide (action: jump to slide). When you are on the help page you can close it by clicking the close button and then you go back to the slide you came from (action: go to last visited slide). This works fine, but when I close the module when I am on the help page and open it again in the LMS, this action no longer works and I am stuck on the help page. Is there a way to remember/save 'the last visited slide' (the one before the help page) when I close the module on the help page or a way I can make sure that if 'go to last visited slide' doesn't work you go back to the main menu or something?
When you close a session most variables are reset, including cpInfoLastVisitedSlide. If you want to recover them you can use local storage and JS or need server side scripting.
Nederlandstalig? Lijkt me het geval 🙂
Too bad. Thanks for your answer anyway.
I am not very familiar with JS, but maybe one of my colleagues can help. Thank you.
If you only have a single page for the help - how about this alternative?
Create a screenshot of your help page and place it on your first slide on top of everything else.
Set it to be hidden on publish and to show for the rest of the project.
Create a close button for the rest of project that will hide both the image and the close button itself.
Your open button will need to show both image and close button.
So basically you will always reamin on whatever slide you were on and the help page is just an overlay that we show or hide on every page.
Hope that makes sense - if you have more questions about it let me know.
That sounds like a good solution! I will look at it. Thanks for your help.