Explore the community Forums Lectora LMS Integration Exit Course Button Not Working In Moodle, But Works In Lectora

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #317042 Score: 0
    Profile photo of Jawad
    Jawad
    Member
    beginner
    intermediate
    contributor
    friend finder
    wise owl
    1 pt
    @Jawad

    The Exit course button that closes the window does nothing when clicked; when running via moodle LMS.

    However when I run the course from lectora the button works as it should. Any ideas why this is happening?

    #317106 Score: 0
    Profile photo of CarlFink
    CarlFink
    Member
    beginner
    intermediate
    contributor
    LUC16 Attendee
    wise owl
    curious george
    advanced
    21 pts
    @CarlFink

    Can you give more information? For instance, what does the button do exactly? That is, is it running the Exit Title/Close Window action? Are you publishing the course as xAPI, SCORM (1.2 or 2004), or AICC? Have you tried publishing with “Debug Published Content” turned on? Is the course being launched in a separate window, or in the main Moodle window?

    Carl

    #317117 Score: 0
    Profile photo of Jawad
    Jawad
    Member
    beginner
    intermediate
    contributor
    friend finder
    wise owl
    1 pt
    @Jawad

    The button is to exit the title/close window. Published as SCORM. Course is launched in seperate moodle window. Published with debug on.

    #317121 Score: 0
    Profile photo of Jawad
    Jawad
    Member
    beginner
    intermediate
    contributor
    friend finder
    wise owl
    1 pt
    @Jawad

    Here’s a sample of the course.

    #317282 Score: 0
    Profile photo of CarlFink
    CarlFink
    Member
    beginner
    intermediate
    contributor
    LUC16 Attendee
    wise owl
    curious george
    advanced
    21 pts
    @CarlFink

    You published it with debug turned on. What happens (according to the debugger) when you click Exit after launching in a Moodle window? Is that Action triggered at all?

    #317366 Score: 0
    Profile photo of Jawad
    Jawad
    Member
    beginner
    intermediate
    contributor
    friend finder
    wise owl
    1 pt
    @Jawad

    When I “Run in Debug Mode,” I get the following:

    Action [OnMEnterShow on Button] fired!

    Action [OnMClkExitClose on Button] fired!

    #317481 Score: 1
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    303 pts
    @timk

    Hi,

    I’ve uploaded your example to moodle 3.0 (Scorm 1.2) and the Exit button is working alright, i.e. closes the window. Moodle only supports Scorm 1.2 so you should select “Scorm 1.2 Conformant” from the “Conformance Level” menu. You should check “Launch course in separate window from the LMS” in the Scorm options when publishing, because the Exit button is working differently in a separate window than in the same window.

    Tim

    This post has received 1 vote up.
    #317719 Score: 0
    Profile photo of Jawad
    Jawad
    Member
    beginner
    intermediate
    contributor
    friend finder
    wise owl
    1 pt
    @Jawad

    Thanks guys  – sorted!

    #342090 Score: 0
    Profile photo of Vicki
    Vicki
    Member
    beginner
    intermediate
    friend finder
    curious george
    wise owl
    contributor
    picture perfect
    4 pts
    @Vicki

    We have a fix that closes the course window in Moodle when published in scorm2004.

    In the scorm folder, we open the scofunctions2004.js file and change the last line of the doQuit script. The first and last lines of the original coding is:

    function doQuit(bForce){

    if(bForce) parent.top.close()

    }

    We change the last line to be:

    // if(bForce) parent.top.close()

    parent.top.close();

    I would love to be able to make this change in the Lectora source file, but it won’t let me save. bummer.

    #342145 Score: 0
    Profile photo of Tim K
    Tim K
    Member
    contributor
    beginner
    intermediate
    advanced
    friend finder
    junior moderator
    advocate
    wise owl
    curious george
    Group Member
    303 pts
    @timk

    Couldn’t you copy the function to a Run Javascript action (all from computeTime() to parent.top.close()) and make the Exit button run that instead of “Exit title / close window”?

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.