WeBWorK Main Forum

Two courses, one with, the other without LTI

Two courses, one with, the other without LTI

by Szabolcs Horvát -
Number of replies: 3

Is it possible to have two courses on the same WeBWorK server, one using LMS integration and the other not?

LTI is set up following the instructions in localOverrides.conf. For the course where I don't want LMS integration, I added the following to course.conf:

$authen{user_module} = [
#        { '*' => 'WeBWorK::Authen::LTIAdvantage' },          # first try LTI 1.3
#        { '*' => 'WeBWorK::Authen::LTIAdvanced' },           # next try LTI 1.1
        { '*' => 'WeBWorK::Authen::Basic_TheLastOption' }    # fallback authorization method
];

This worked for allowing password-based login in this course. However, when students try to access a problem set, they still get: "You must log into this set using your Learning Management System".

What is the proper way to use LMS integration only for some courses, while leaving some others completely independent of any LMS?


In reply to Szabolcs Horvát

Re: Two courses, one with, the other without LTI

by Szabolcs Horvát -
Adding the following to course.conf seems to have solved this:

$LTIGradeMode = 0
In reply to Szabolcs Horvát

Re: Two courses, one with, the other without LTI

by Glenn Rice -

It seems you answered your own question!

It would probably be more proper to use $LTIGradeMode = ''; since it is a string, but 0 will work just as well.

In general, the course will inherit all settings set in defaults.config, localOverrides.conf, and any file included by those files.  So you need to override anything you want different for the course in either the course.conf file or the simple.conf file.  Although, don't edit the simple.conf file directly.  Instead change settings in the course's "Course Configuration" page.  Note that the $LTIGradeMode variable can be set on that page if you have enabled the LTI configuration tab by uncommenting the things in the @LTIConfigVariables array in authen_LTI.conf that you want available for instructors to modify themselves.

In reply to Glenn Rice

Re: Two courses, one with, the other without LTI

by Szabolcs Horvát -

Thank you for all the help and the patience during the semester start period Glenn!

It takes a while to get there. I'm making improvements based on your advice, taking notes, and hope that it'll go smoothly and easily next year.