PDA

View Full Version : Learning Path Configuration


jsmart76
01-30-2009, 12:08 AM
I am stumped at this point. And am looking for some help/ideas. I have created a course, which now has 5 items in the learning path. Each one is a scorm presentation with a quiz embedded inside. What I would like to do is when a student finishes a quiz in one presentation and hits "exit" I would like it to automatically load the next item in the learning path.

Since it is a chapter sequence i have the prerequisites set up so the sections need to be completed sequentially (Chapter 1 then chapter 2 and so on).

Any ideas? I thought about just putting a link in the presentation - but I think the path to the course would change after I republished the content..

Any help would be appreciated!

den
01-31-2009, 03:26 PM
On the main LearningPath page there is a javascript function 'ajax_action()' you can load the next learning path by calling:

ajax_action('next_lpathstep');

Also you can call this fuction from your SCORM package. As SCORM is loaded in the iframe you need the following HTML code placed somewhere on the SCORM page:

<a href="javascript:parent.ajax_action('next_lpathstep');">Exit</a>

If your SCORM is frame based (e.g. Articulate SCORM), try the following code:

<a href="javascript:parent.parent.ajax_action('next_lpathst ep');">Exit</a>

Note, there is no any 'target=_blank' attributes on the A tag.

Please let me know your progress.

jsmart76
01-31-2009, 08:19 PM
Hi Den!

Ok, so I am unsure where to enter the

<a href="javascript:parent.parent.ajax_action('next_lpathst ep');">Exit</a>

in my Articulate package.

I have an articulate quizmaker quiz at the end of my articulate presentaiton. after passing the quiz the student is presented with the results screen and a button in quizmaker that states "finish." I can control what that button does from within quizmaker - but it only gives me the option for it to go to a URL.

I tried entering just the javascript above, but when i tested the course the quiz did nothing when i clicked the button. I also have the presentation launching in a new window - perhaps that has something to do with it?

Thanks Den!

den
02-02-2009, 05:51 PM
I don't have an Articulate authoring software, my trial has expired ;)
Try to ask their support if is it possible to execute javascript function defined at the LMS-side.

I am sure that this is possible in the HTML-based SCORMS which are opened in the iframe instead of new window.

Also I will check this with another developer and will back to you in few days.

den
02-03-2009, 08:02 PM
I have tested suggested solution with Articulate'09 and it works. Just type the following code into the 'Finish Action -> Go to URL:' field in the Quiz settings:

javascript:parent.parent.ajax_action('next_lpathst ep');



You can take a look at the sample here:http://www.joomlalms.com/lms-elearning-solutions/den-course/learn-paths/sample-test-with-articulate-inside.html

jsmart76
02-04-2009, 03:13 AM
Thanks for all your help Den! I thought this would be it. However, when I put the code in for my URL in my SCORM package and test it, i get the following error report from internet explorer:Message: Object doesn't support this property or method
Line: 1
Char: 1
Code: 0
URI: http://mysite.com/jlms/scorms/0062_42cec502f05b0f1d22938895a486a6b4/player.html

I am not sure what this implies. In firefox, it simply does nothing.

den
02-04-2009, 05:51 PM
Seems like this is happened because of your SCORM is opened in new window. I think that there is no possibility to open next page from another window.
Btw can you provide me your SCORM package? Maybe issues is somewehre else...

jsmart76
02-05-2009, 02:39 PM
My SCORM package is larger than the max file size for an attachment, any way around this?

den
02-06-2009, 02:18 PM
Please check your Private Messages.

den
02-09-2009, 01:23 PM
I have checke your both packages. Button 'prooced to the next chapter' is worked under the LearningPath in the 'embedded' example. Unfortunetly there is no way to make this possible in the 'Windowed' version of your example. It si impossible to manage javascript functions from another window.

jsmart76
02-10-2009, 07:22 PM
I have checke your both packages. Button 'prooced to the next chapter' is worked under the LearningPath in the 'embedded' example. Unfortunetly there is no way to make this possible in the 'Windowed' version of your example. It si impossible to manage javascript functions from another window.

I have the embedded file that I sent you currently uploaded to the course - along with the other chapters in my course. All have been published with the same settings as the embedded one you looked at, however when i click on the 'proceed to next chapter' button - nothing happens in firefox. I have yet to test it in internet explorer. any ideas?

Thanks for your continued help!

den
02-11-2009, 02:43 PM
Maybe there is a misunderstanding somewhere. I've created test course in the DEMO and added you as 'assistant'; here is a link: http://www.joomlalms.com/lms-elearning-solutions/forum-thread-1544.html
LearningPath with your SCROM inside is created. Also on the course homepage you will see links to the video, it will show you how it works at my side.

jsmart76
02-11-2009, 05:45 PM
Maybe there is a misunderstanding somewhere. I've created test course in the DEMO and added you as 'assistant'; here is a link: http://www.joomlalms.com/lms-elearning-solutions/forum-thread-1544.html
LearningPath with your SCROM inside is created. Also on the course homepage you will see links to the video, it will show you how it works at my side.

Got it figured out. I was adding each SCORM as a separate learning path - and not as a learning path step.

Thanks so much!

jsmart76
02-12-2009, 01:22 AM
This may not fit in this forum, but I feel that the previous information may help... I have made the changes to my course but still have one more problem. When I add my SCORM files to the learning path as steps I end up with 6 steps of scorm files.

The problem lies when I finish the first step - it tries to load the next step but then says that the requested resource is unavailable. All of the scorm files are published, and when i try to load them individually they work - just when I try to load them from within the learning path. I have attached screenshots of the pertinent screens for your aid.

den
02-12-2009, 07:27 AM
The error message "The requested resource is unavailable." (exact phrase) is shown in the next situations:
1) There are prerequisites configured for your SCORM package (at the learner-side SCORM will not be shown if all prerequisites are incomplete); edit your SCORM item and check prerequisites list.
2) There were errors during uploading, e.g. SCORM files weren't be uploaded due to some upload limits. Try to reupload your SCORMs.

den
02-13-2009, 09:30 AM
Another situation:
If SCORM was removed from the course, but its step-link is not automatically removed from the LearningPath and during navigation thorugh such LearningPath learner got the message "Resource is unavailable". You need to place new step into the LearningPath and remove old one.

rawn
05-20-2009, 04:19 PM
this may be a pretty noob question, but which page's source must i edit so that i can enter in that ajax function?

Su_
05-21-2009, 08:21 PM
The ajax function described in this thread needs to be added to the 'Exit' button of your SCORM. If your authoring software allows it. E.g. in articulate quizmaker there is a setting 'Finish Action -> Go to URL:', where you can place any javascript code.