WeBWorK Main Forum

Adding Student_Orientation to a course based on an existing course

Adding Student_Orientation to a course based on an existing course

by Nikolaus Vonessen -
Number of replies: 4
When I create a new WeBWorK course based on modelCourse, I can import (using the Sets Manager) to the new course the new Student_Orientation set that comes with WeBWorK 2.19.  This student orientation set seems quite useful, and I would like to make it available also in new WeBWorK courses that are based on an existing WeBWorK course (created under an older version of WeBWorK).  But when I create a new WeBWorK course copying components (templates and html folders, and assignments/sets) from an existing course, the new course is created without the "Student_Orientation@" visible in the File Manager, and I cannot import Student_Orientation via the Sets Manager.  I'd appreciate your help with this.

(I should add that I do the routine WeBWorK administration for our department (e.g., adding new WeBWorK courses), but that more demanding tasks (like upgrading WeBWorK) are handled by our IT department.)
In reply to Nikolaus Vonessen

Re: Adding Student_Orientation to a course based on an existing course

by Alex Jordan -

Do you have command line access to the server? If so, you can create the missing symlinks in courses like this. I don't think there is a way right now to get it sorted using only the admin course interface. But perhaps in a future version of WW, the "upgrade courses" tool could be made to do this (put in place the Student_Orientation symlink).

In reply to Nikolaus Vonessen

Re: Adding Student_Orientation to a course based on an existing course

by Arnold Pizer -

As a Prof, if you open the "Sets Manager", click on "Import", select the dropdown from "Import from where?", do you not see "Student_Orientation/setStudent_Orientation.def" ?

In reply to Arnold Pizer

Re: Adding Student_Orientation to a course based on an existing course

by Nikolaus Vonessen -
Thanks for your replies!

No, I do not see "Student_Orientation/setStudent_Orientation.def" in the drop-down menu under "Import from where?".

Details: Under WeBWorK 2.19, as admin, I added a new course based on an old existing course (created under a prior version of WeBWorK, maybe under version 2.16). I then logged into the new course as professor. On the Import tab of the Sets Manager, I checked the drop-down menu under "Import from where?". I do not see "Student_Orientation/setStudent_Orientation.def".

If this is not something that is easily fixed, maybe someone could send me an archive of "Student_Orientation/setStudent_Orientation.def" with all problems. Then I could manually import these into WeBWorK courses.

Thanks, Nikolaus
In reply to Nikolaus Vonessen

Re: Adding Student_Orientation to a course based on an existing course

by Glenn Rice -

As Alex said, this can be fixed as a system administrator.  All of the files are distributed with webwork2.  You just need to link to the distributed directory.

Run

sudo ln -s /opt/webwork/webwork2/assets/pg/Student_Orientation /opt/webwork/courses/courseId/templates/

to create the link.

You could also run "rsync -av /opt/webwork/courses/modelCourse/templates/ /opt/webwork/courses/courseId/templates/" and that would ensure that all files are updated (that is assuming your modelCourse is up to date).  However, if you have customizations of some other files (like the course_info.txt file) in a courses templates directory, it will overwrite those.