Copy link to clipboard
Copied
It is possible to generate a scorm package for moodle showing a slide or other depending on an external parameter? (session variable, php variable, scorm external parameter,...)
For example:
If the variable a = 0 show slide 1 and hide slide 2;
if a = 1 show slide 2 and hide slide 1;
Thank you very much
Copy link to clipboard
Copied
In a Captivate published project you cannot SHOW or HIDE slides, only objects on slides.
As far as creating a SCORM package as you describe...I don't really understand what you are trying to achieve. Can you be more specific?
Copy link to clipboard
Copied
The idea is to create an SCORM package shared for various courses in different categories, according to the identifier or description of the category display the first slide of the scorm package with different colors of head. The head can be an image.
For example:
If the id of the category = 0 show blue image; if id = 1 show green image; and so on up to 5 different images
Copy link to clipboard
Copied
Under normal circumstances where a course wasn't being served up from an LMS you'd probably be able to do this with JavaScript by including parameters in the URL (e.g. www.mywebsite.com/mycourse.htm?category=0). You'd need the JS code to pick up the URL parameters and use them to set user variables inside your content that could then be used to manipulate the visibility of the images.
However, since you've mentioned that your content is SCORM packages, whether or not you can even think about including such parameterised URL info depends on whether your LMS will allow that.
Copy link to clipboard
Copied
Can you give an example of how it's done with Moodle?
Copy link to clipboard
Copied
Nope. I've never done this in practice. I don't actually believe it's a good idea.
Copy link to clipboard
Copied
The problem is how the category would be set. We've done this type of thing based on a user's work discipline. There is a question as soon as they enter the module asking them which category they are. Based on the answer they are serves different css and navigation scheme.
What you want would be possible using a entry slide and custom variables, javascript and advanced actions. Since you are using Captivates SCORM packaging you would run into problems based on CP's usage of suspend_data and lesson_location.
If you just published normally and attached your own SCORM files you could store a navigation sequence in the suspend data to be retrieved later.