Variables work in preview but not when published.

Apr 23, 2013

Hello! I'm a new user and loving it! But, have hit a bit of a glitch - which is probably just a user deficiency... but I've got some variables on some slides in a course that help restrict navigation until all buttons are down or media complete etc and they work fine when I preview the course but when I publish it, they don't work and navigation is unrestricted.  Any ideas what I might have done wrong to have this happen?

52 Replies
Phil Mayor

If you use the same variable to lock down a slide e.g. On slides 1 and 4 and you can only progress if the variable is === true

On slide 1 it will be set to true, when you get to slide 4 it will already be true, so on slide 4 you need a trigger to set it back to false.

This only counts if you reuse variables, unfortunately I do quite often

Sylvie Bélanger

Hello! I’m also a new user and I have a similar problem.

I’m working on my first quiz and all the triggers appear to work fine when I preview, but some of them don’t anymore when I publish.

In particular, on slide 16, we can’t select an answer and the “previous/next” buttons show up instead of the “submit” button. It appears to do the same thing for some of the questions after slide 22.

I want the users to read slide 16 content, start answering the questions, but allow them to go back to slide 16 to review the slide content whenever they want. I added a “back to question button” that appears when revisit that brings the users back to the question they were trying to answer. Same for slide 22 and following questions.

However, my “back to question” button on slide 22 should be hidden (like on slide 16) and appearing when the users revisit the page.

This quiz is for a demo that has to be presented at the end of next week. I need your help to make it work!

Thanks,

Sylvie

 

Alyssa Gomez

Hi Sylvie!

Welcome to the community, and congrats on making your first quiz! I published your quiz for Web, uploaded it to Tempshare, and tested it in Chrome v56, and it seems to be working as expected there. Here's a link for you to test, as well. You'll want to use one the supported browsers listed here to test it. 

How did you test the file on your end? After you publish the file, either for Web or for LMS, you'll want to choose the ZIP option (not View). Clicking View will open the published content locally, and you'll encounter security restrictions from the computer, web browser, Flash Player, and network that'll cause various features of your content to fail.

Instead, upload the ZIP file to a web server or LMS, as explained here. Tempshare is an easy way to test Web content, and SCORM Cloud is easy for testing LMS content.

Sylvie Bélanger

Hi Alyssa,

Thanks so much for you help! I tried your link and it seems to work much better than when I published it.

At the moment, we don't have an LMS. I simply published my quiz for Web (HTLM5) and placed the folder on our share drive. I suppose this is the problem...

I tried to publish for Web (still HTLM5) and then selected the ZIP option, like you said. I saved on my computer's C:// drive but don't know what to do next.

Our intention was to placed the published quiz on the share drive and then send the link by email so people can take the quiz from their working station or even from home through RDP.

Is this feasible?

Thanks,

Sylvie

Alyssa Gomez

You might be able to host the published content on your shared drive for folks to access through RDP, but that's not something we'd be able to support. We generally recommend using Amazon S3 as a long term solution for hosting published content - Tom Kuhlmann created a helpful video tutorial that walks you through that process. 

Sylvie Bélanger

Me again!

I tried Tempshare and it works great. It might be a temporary solution until we get our LMS.

In the meantime, I need help with my buttons and triggers.

On slide 16, I have my "back to question" button hidden that appears when the user revisit the page. I used a True/False variable to do this. I would also like to have a "next page" button showing on first visit (instead of using the player's next button) and make it disappears when revisit. For some reason, I can't make it work.

Another issue is on slide 22. My "back to page" button is already there... I want to do the same thing that for slide 16 (next page button visible then hidden when revisit, and back to page button hidden then visible when revisit) that would have the same triggers.

Thanks for you help!

Sylvie

Alyssa Gomez

Hey Sylvie,

One thing to keep in mind about Tempshare is it is intended for testing purposes and only keeps files for 10 days. A better long-term solution would be Amazon S3, since files can be stored there as long as you'd like, until you remove them. 

And just for clarification, on Slide 1.16, you want the button to say "Next Page" on the first visit, and "Back to Question" on the second visit, but in both cases the button will lead to Slide 1.17 . Is that correct?

Sylvie Bélanger

Hi Alyssa,

I tried uploading the file using tempshare, but it doesn't work. I'm getting an error message.

To answer your question, on Slide 1.16, I want the button to say "Next Page" on first visit (and then hide the button - however, the button should be there again if the users have to retake the quiz), and "Back to Question" on the second visit.

"Next Page" button should lead to slide 1.17, but "back to question" should lead to last page visited, so not necessarily Slide 1.17.

Thanks for you help!

Alyssa Gomez

Hi Sylvie,

I did hear a few reports of folks having trouble uploading published zip files to Tempshare using Internet Explorer, but it seems to be working now. Please let me know if you still have trouble with that.

I made a few more changes to your file, and I believe it now works the way you'd like it to. I've attached the updated file here, and I also recorded a quick tutorial using Peek to show you the changes I made. I hope this helps!

Sylvie Bélanger

Hi Alyssa,

I still can't upload your zip file to Tempshare, but a co-worker was able to download it as a storyline file.

The changes you made are great! However, when we try to retake the quiz (when didn't pass the first time) and get to "wheel" slide 1.16, the "back to question" button brings us to the previous page and we get stuck between slides 1.15 and 1.16.

Same for wheel slide 1.22 and previous slide 1.21.

Is there a way to reset the buttons when redoing the quiz?

Sylvie

 

Alyssa Gomez

Ah, it sounds like you were trying to upload the original .story file to Tempshare. You'll actually have to publish the file for Web first, then upload the zip package to Tempshare. Here's a tutorial on how to do that. 

To reset the buttons when retrying the quiz, you'll want to add this trigger to the "Back to Question" layers on Slides 1.16 and 1.22:

Hide layer this layer when user clicks Back to Question button.

You'll also want to add these triggers to Slide 1.26 Results Slide:

Adjust variable Revisit16 to Value False when Timeline Starts on 1.26 Results Slide.

Adjust variable Revisit22 to Value False when Timeline Starts on 1.26 Results Slide.

I made that change in your file and uploaded it here. Remember to download and publish the file for Web before you upload it to Tempshare. I hope this helps!