Project

General

Profile

Feature #8134

Setting to allow teachers to select the course template when creating a course

Added by Yannick Warnier over 3 years ago. Updated over 3 years ago.

Status:
Feature implemented
Priority:
Normal
Assignee:
Category:
Installation / Migration
Target version:
Start date:
09/03/2016
Due date:
% Done:

100%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Create a setting teacher_can_select_course_template yes/no globally (yes by default).

When the setting is enabled, when a teacher creates a course (or an admin creates a course from the admin panel), he can pick a course as a template for the new course he's creating (with an AJAX search box)

If the global course template setting is set (setting which course is used as a template for all new courses), and the teacher selects a template, then it is the teacher-selected template that is used.

Associated revisions

Revision d153b6fa (diff)
Added by Angel Fernando Quiroz Campos over 3 years ago

Create the settings_current teacher_can_select_course_template - refs #8134

Revision b9dac783 (diff)
Added by Angel Fernando Quiroz Campos over 3 years ago

Fix FormValidator's SelectAjax when exporting value - refs #8134

Revision 4c31be03 (diff)
Added by Angel Fernando Quiroz Campos over 3 years ago

Allow to teachers select a course as template - refs #8134

Revision 72e16e81 (diff)
Added by Angel Fernando Quiroz Campos over 3 years ago

Minor - Update language files - refs #8134

Revision 3d3eabd4 (diff)
Added by Angel Fernando Quiroz Campos over 3 years ago

Create the settings_current teacher_can_select_course_template - refs #8134

Revision 97e944ed (diff)
Added by Angel Fernando Quiroz Campos over 3 years ago

Fix FormValidator's SelectAjax when exporting value - refs #8134

Revision 09f08e9a (diff)
Added by Angel Fernando Quiroz Campos over 3 years ago

Allow to teachers select a course as template - refs #8134

Revision f0359dcf (diff)
Added by Angel Fernando Quiroz Campos over 3 years ago

Minor - Update language files - refs #8134

Revision 075159e8 (diff)
Added by Angel Fernando Quiroz Campos over 3 years ago

Set teacher_can_select_course_template to true by default - refs #8134

Revision 3290758d (diff)
Added by Angel Fernando Quiroz Campos over 3 years ago

Fix references to CourseBuilder/CourseRestorer/CourseArchiver/CourseSelectForm classes - refs #8134

Revision d457fef5 (diff)
Added by Angel Fernando Quiroz Campos over 3 years ago

Fix Select Ajax element - refs #8134

Revision 4abc7370 (diff)
Added by Angel Fernando Quiroz Campos over 3 years ago

Fix creating course with template by user teacher - refs #8134

History

#1

Updated by Angel Quiroz over 3 years ago

  • Status changed from Assigned to Needs testing
  • Assignee deleted (Angel Quiroz)
  • % Done changed from 0 to 80

Added for 1.11.x and master

d153b6f
b9dac78
4c31be0
72e16e8

#2

Updated by Yannick Warnier over 3 years ago

  • Status changed from Needs testing to Assigned
  • Assignee set to Angel Quiroz
  • % Done changed from 80 to 50
In a fresh 1.11, as a teacher:
  • create a first course YW1
  • enter the course documents
  • create 3 folders: week 1, week 2, week 3
  • go to "my courses"
  • create another course YW2 using YW1 as template
  • enter the course documents
  • folders week 1, 2, 3 are not there

Conclusion: this does not work.

#3

Updated by Angel Quiroz over 3 years ago

  • Status changed from Assigned to Needs testing
  • Assignee deleted (Angel Quiroz)
  • % Done changed from 50 to 80

Fixed
3290758

#4

Updated by Yannick Warnier over 3 years ago

  • Status changed from Needs testing to Assigned
  • Assignee set to Angel Quiroz

This is still not working for me in 1.11.x.
As a teacher in course1, I create course2 using course1 as template, but the documents in course1 are not copied in course2. No sessions involved.
No error in error_log.

#5

Updated by Angel Quiroz over 3 years ago

  • Status changed from Assigned to Needs testing
  • Assignee deleted (Angel Quiroz)

Fixed

#6

Updated by Yannick Warnier over 3 years ago

  • Status changed from Needs testing to Feature implemented
  • Assignee set to Angel Quiroz
  • % Done changed from 80 to 100

This is working now. Thanks.

Also available in: Atom PDF