diff --git a/cfg_grades.php b/cfg_grades.php index b1f9efe..c96f9e2 100644 --- a/cfg_grades.php +++ b/cfg_grades.php @@ -47,7 +47,7 @@ if($_POST["action"] == "update"){ } } } - if(needupdate){ + if($needupdate){ $DB->update_record(GRADECFG_TABLE,$scalecfg); } @@ -168,7 +168,7 @@ foreach($scales as $scale) $row = []; $row[] = $scale->name; - $row[] = html_writer::tag("select", $options_progress, ['name' => "s_{$scale->id}_min_progress",'autocomplete' => 'off']) ; + //$row[] = html_writer::tag("select", $options_progress, ['name' => "s_{$scale->id}_min_progress",'autocomplete' => 'off']) ; $row[] = html_writer::tag("select", $options_completed, ['name' => "s_{$scale->id}_min_completed",'autocomplete' => 'off']) ; $data[] = $row; } @@ -185,7 +185,7 @@ $table->summary = '';//get_string('uploadtimetable_preview', 'local_chronotable' $table->head = []; $table->data = $data; $table->head[] = get_string('scale'); -$table->head[] = get_string('min_progress', 'local_treestudyplan'); +//$table->head[] = get_string('min_progress', 'local_treestudyplan'); $table->head[] = get_string('min_completed', 'local_treestudyplan'); print $OUTPUT->heading(get_string('cfg_grades_desc_head', 'local_treestudyplan')); @@ -197,7 +197,7 @@ $data = []; foreach($grade_cfgs as $g){ $row = []; $row[] = $g->grade_points; - $row[] = html_writer::tag("input", null, ['name' => "g_{$g->grade_points}_min_progress", 'value' => "{$g->min_progress}", 'type' => 'text', "class" => "float", 'autocomplete' => 'off']) ; +// $row[] = html_writer::tag("input", null, ['name' => "g_{$g->grade_points}_min_progress", 'value' => "{$g->min_progress}", 'type' => 'text', "class" => "float", 'autocomplete' => 'off']) ; $row[] = html_writer::tag("input", null, ['name' => "g_{$g->grade_points}_min_completed", 'value' => "{$g->min_completed}", 'type' => 'text', "class" => "float", 'autocomplete' => 'off']) ; $row[] = html_writer::tag("input", null, ['name' => "g_{$g->grade_points}_delete", 'type' => 'checkbox', ]) ; $data[] = $row; @@ -205,7 +205,7 @@ foreach($grade_cfgs as $g){ $row = []; $row[] = html_writer::tag("input", null, ['name' => "g_new_gradepoints", 'value' => '', 'type' => 'number', 'min' => '0', 'pattern' => '/d+', 'step' => '1', 'autocomplete' => 'off']); -$row[] = html_writer::tag("input", null, ['name' => "g_new_min_progress", 'value' => '', 'type' => 'text', "class" => "float", 'autocomplete' => 'off']) ; +//$row[] = html_writer::tag("input", null, ['name' => "g_new_min_progress", 'value' => '', 'type' => 'text', "class" => "float", 'autocomplete' => 'off']) ; $row[] = html_writer::tag("input", null, ['name' => "g_new_min_completed", 'value' => '', 'type' => 'text',"class" => "float", 'autocomplete' => 'off']) ; $data[] = $row; @@ -219,7 +219,7 @@ $table->summary = '';//get_string('uploadtimetable_preview', 'local_chronotable' $table->head = []; $table->data = $data; $table->head[] = get_string('grade_points', 'local_treestudyplan'); -$table->head[] = get_string('min_progress', 'local_treestudyplan'); +//$table->head[] = get_string('min_progress', 'local_treestudyplan'); $table->head[] = get_string('min_completed', 'local_treestudyplan'); $table->head[] = get_string('delete',); diff --git a/doc/advanced.htm b/doc/advanced.htm new file mode 100644 index 0000000..9ffb60a --- /dev/null +++ b/doc/advanced.htm @@ -0,0 +1,66 @@ +
+

Studyplan user manual

+ +

Advanced studyplan editing features

+

The studyplan editor has a number of advanced features that are available under the + Advanced link. (Top-right on the screen in the editor view

+

These features are helpful to the administrator, but can be dangerous if abused.

+

Course manipulation

+

Cascade cohort sync can be used to manually enrol cohorts and users linked to the study plan into the courses that are in the studyplan. + If you do not have automatic cascading enabled, you must use this button to do it manually

+

It will create a cohort-sync enrolment to all courses in the studyplan for each cohort you have linked here. + It can also automatically remove those enrolments when a cohort is unlinked from a studyplan.
+ Individually linked students can also be cascaded down to the courses (if the feature is enabled). In those cases a manual enrolment is created for the users + in each of the studyplan's courses. Those enrolments will never be automatically removed, since that might deprive a student of study content. +

+

Force scales Only useful in Manual aggregation mode. In those cases you may want to enforce a specific scale to all selected gradables in + the studyplan. This can save time manually updating all the gradables used in the studyplan to a standerdized grade scale. This tool allows you to do so.

+

+

Backup and restore

+

Using the Backup studyplan you can backup an entire studyplan into a .json file.

+

+

Use restore studylines from backup to import the content (study lines and courses) from a studyplan into the current study plan

+
PRO TIP:
+

If you are proficient in editing json like data structures, you can manually edit the .json backups and then restore them as new courses.

+

This is mostly useful if you need to create multiple study plans with only minor changes, or predictable changes + (like changing some text in course short names to link to new versions of courses)

+
+

Deleting a studyplan

+

Sometimes you want to delete an entire study plan. This can be done using the button found in the delete tab

+ +

Setting a simple name for the courses

+

By default, the short name of the course will be displayed in the study plan. However, often this name is quite long and has some + prefixes or suffixes to distinguish it from other courses that were given in earlier academic years. If you want to display a simpler name, + you can op to do so in two ways:

+
    +
  1. Display the courses id number
  2. +
  3. Display a custom course field
  4. +
+

Go to Site administration -> Courses -> Studyplans -> Studyplan settings
+ Under Course display name you can select if you want to use shortname, ID field or any other previously configured custom field

+

+ +

Grade & Scale interpretation

+
NOTE:
+

The information in this category is mostly applicable to manual aggregation methods for study plans. + If Moodle course completion is used, it is especially important to always configure grade to pass

+

Note that future versions may use this feature to automatically repair missing grade to pass in gradable activities.

+
+

Best practice is to set a grade to pass in all gradable activities in the studyplan. This way the entire system will know + if a gradable activity wass passed or failed.

+

But since teachers are all human, this may occasionally (or regularly) be forgotten. In the absence of a configured grade to pass, + the studyplan system will use the values configured here to determine if a grade was a passable grade.

+

Go to Site administration -> Courses -> Studyplans -> Configure grade & scale interpretation to configure it.

+

Each scale will need to have a completion threshold set. This is the scale value that starts a passing grade.

+

You can also configure certain maximum grade points to have a default passing value (completion threshold)

+

While scales are automatically added and cannot be removed, you can remove previously configured maximum grade points. + To do so, check the delete mark next to it, and press save

+ +
\ No newline at end of file diff --git a/doc/configuration.htm b/doc/configuration.htm new file mode 100644 index 0000000..232e532 --- /dev/null +++ b/doc/configuration.htm @@ -0,0 +1,15 @@ +
+

Studyplan user manual

+ +

About studyplan

+ + + +
\ No newline at end of file diff --git a/doc/create-studyplan.htm b/doc/create-studyplan.htm new file mode 100644 index 0000000..ae242f5 --- /dev/null +++ b/doc/create-studyplan.htm @@ -0,0 +1,153 @@ +
+

Studyplan user manual

+ +

Creating and managing a study plan

+

To create a studyplan, go to Site administration -> Courses -> Studyplans -> Manage Studyplans

+

You will now see a screen like the following

+

+

If you do not yet have an exported studyplan to import, pick Add study plan to create a new study plan

+

You are now asked to provide details for this new studyplan

+

+

The screen allows you to specify the full name, code or short name and description for this specific plan

+

You can also choose the category context in which to place this study plan. This is useful to manage access rights in a large moodle installation

+

The next options give more information about the timing of the plan. The number of slots to place courses in the plan can be specified. + This is usually used to show the different periods in the academic year. You can expect this to become more explicit in upcoming versions of the plugin. + The start date and end date of the plan help to show students and teachers which plans are current, and which were finished in the past. + They will default to start on august 1 of this year and continue until august 1 of next year, since that matches most academic years.

+

Finally we have the aggregation style, which is ised to determine how the courses show grades. There are a number of options available:

+ +

Details for Manual: Completed + required goals

+

+ With this aggregation method you manually select which grade items are used in the progress report. The design intent is to prepare a number of gradable items, + and describe the learning objectives for each course and use these to indicate completion. While any grade will be properly shown, it makes most sense to use a scale which indicates + if the student has either met the objective or not. The teacher or studyplan editor can also mark certain gradables/objectives as required or compulsory. +

+

The final outcome for the courses will then be determined based on the percentage of met objectives, provided that all required/compulsory objectives are met

+

+

The added options allow you to set the threshold percentage of completed objectives in each course to determine the outcome as excellent, good + or completed. If an objective is not met it will be marked as either "progress" (meaning that the student's work needs to be improved) or + "incomplete" (meaning that the student has not started working on this goal yet)

+

When failed results are enabled, any "progress" will be marked as "failed" when the course end date has passed

+

Finally, you can opt to have an object ive

+

Setting up studylines

+

Before you can add courses to the studyplan, you have to define study lines. You use them to group together courses in logical categories. + Most likely these are categories or themes within your curriculum.

+

For performance reasons, study lines can only be edited when in study line edit mode. The courses and flow between them will be hidden, + so the lines can be reshuffled and edited. You can toggle studyline edit mode with the toggle switch edit stydy lines

+

+

Using the Add study line link, you can add a new studyline. You will then get a new window where you can enter details and select a handle color for this line

+

+

Here you can enter a full name for the study line that will be shown when you hover over the name, and a code that is a short name which will be shown + in front of the study line. Often this can be a short code. The color you pick will be shown in a little tab in front of the study line.

+

You can drag study lines to re-order them after you place them using the crosshair arrows

+

Using the and symbols you can edit and delete the studyline (only empty studylines can be deleted)

+

+
TIP:
+ If you have many studyplans using the same study line make-up you can export the first studyplan after you set up the study lines, and then import it on the next + study plans.
(Use Advanced -> Backup studyplan to find the backup and restore features)
+ +

Adding courses

+

To add courses, you need to exit study line edit mode and open the toolbox using the button. + The toolbox will now open on the right of the screen. (Using the toggle button on top, you can also switch it to the left of the screen if needed)

+

+

The toolbox shows you all the categories you have access to and the courses in them. Simply drag the course you want to include from the toolbox and + drop it in one of the slots in the studyplan that now appear.

+

+

To re-arrange the courses in the study plan, simply drag and drop them from the places they are now in.

+

+

To remove a course from the study plan, simply drag it to the red garbage bin that appears on dragging

+

Configuring courses

+

Once a course is added to the studyplan, an icon shows if it needs to be configured () or + is already configured ().

+

By clicking on the course title (it's shortname, or a configured custom field), you can view the details, and configure it where applicable. + The configuration is dependent on the aggregation method for the study plan:

+

Moodle course completion

+

When using moodle course completion as a base, all configuration is done in the course's completion settings. + The course details show a gear icon in the title, which takes you directly to the course completion configuration. + Once it is configured, the course details will show you exactly how the course completion is configured

+

+ +

Manual: Completed + required goals

+

In this mode, the course details show you all the gradable activities in the course. You need to select which of them will be used to determine progress + and will be shown to the students and teachers in the studyplan view. You can also mark gradables ad required. Gradable activities marked as + such will all need to be completed for the course to be marked as completed, regardless of the minimum percentage configured

+

+ +

Adding badges

+

The toolbox also shows you the site-wide badges that are available for students. These can be dragged into the slots around and between the courses.

+

When you click on the icon in the badge it shows you additional information about the badge

+

+

Drawing the flow

+

You can draw arrows between the courses and add flow indicators to show students how different courses are related in the studyplan

+
TIP:
+ While there are many possible relations between courses, it is best to limit the arrows to the most obvious relations. The studyplan can + easily become too crowded to give a good overview. Use junctions to combine multiple arrows into one if you do need to show the relation + from many courses to a few.
+

Drawing arrows

+

You can draw arrows by dragging them from one course or flow indicator to another. Look for the green square on the right of the item. + Then click and hold to drag the arrow. Once you do, a red square will appear on all the items that the arrow can end on. Drop the end of the arrow + on one of those red squares to complete the arrow. +

+

+

Removing arrows

+

To remove an arrow, click on the green square where the arrow starts. A red trash can icon will appear for + each line that starts there. Hover over the trash can icons to find the line you want to remove. The arrow for each trash can icon will be highlighted in red + once you hover over it with your cursor. Once you find the arrow you want to remove, click the trash icon.

+

To close the trash icon menu without removing an arrow, click the green square (now red) again.

+

+

Adding flow indicators

+

You can add the following flow indicators:

+ +

+

By clicking on the icon in the junction and finish indicators, you can select how the incoming arrows will be combined. + The indicated numer of arrows need to be completed in order to show the indicator as completed

+ +
NOTE:
+ Using the Manual aggregation method, these conditions are also used to determine whether a junction or finish will be shown as good or excellent + In those cases, at least the specified number of arrows need to be good or excellent in order to color the indicator as such.
+

Associating students with a studyplan

+

You can associate users with the studyplan in two ways: Individually or by cohort

+

The recommended way is association by cohort, since that allows to dynamically allocate users to courses and studyplans by allocatong them to cohorts. + Assigning students to a studyplan individually is only useful in some fringe cases. +

+

To edit associations, click on the associations link in the studyplan, + or click on the icon in the studyplan overview.

+

You will now get the association window

+

+

In this window, type the first few letters of the cohorti> you want to link into the search bar. The matching cohorts will now be shown.

+

Click to add the cohort to the studyplan

+

To remove a cohort from the studyplan, select it from the left list, and click +

+

In order to link individual students, click students and follow the same procedure as lined out above for cohorts.

+ +
IMPORTANT:
+

If you have cascading cohort sync enabled (see configuration), the system will automatically create a cohort-sync enrolment to all courses in the studyplan + for each cohort you have linked here. It can also automatically remove those enrolments when a cohort is unlinked from a studyplan. +

+

Individually linked students can also be cascaded down to the courses (if the feature is enabled). In those cases a manual enrolment is created for the users + in each of the studyplan's courses. Those enrolments will never be automatically removed, since that might deprive a student of study content. +

+
+ + +
\ No newline at end of file diff --git a/doc/img/Arrows-delete.png b/doc/img/Arrows-delete.png new file mode 100644 index 0000000..40ddcd2 Binary files /dev/null and b/doc/img/Arrows-delete.png differ diff --git a/doc/img/Arrows-drag.png b/doc/img/Arrows-drag.png new file mode 100644 index 0000000..a7b02e4 Binary files /dev/null and b/doc/img/Arrows-drag.png differ diff --git a/doc/img/Cohort-link.png b/doc/img/Cohort-link.png new file mode 100644 index 0000000..50f63f4 Binary files /dev/null and b/doc/img/Cohort-link.png differ diff --git a/doc/img/Student-link-mystudyplan.png b/doc/img/Student-link-mystudyplan.png new file mode 100644 index 0000000..26cf789 Binary files /dev/null and b/doc/img/Student-link-mystudyplan.png differ diff --git a/doc/img/Student-studyplan.png b/doc/img/Student-studyplan.png new file mode 100644 index 0000000..27abaa1 Binary files /dev/null and b/doc/img/Student-studyplan.png differ diff --git a/doc/index.htm b/doc/index.htm index 709b774..d409dbb 100644 --- a/doc/index.htm +++ b/doc/index.htm @@ -1,10 +1,12 @@

Studyplan user manual

-
\ No newline at end of file diff --git a/doc/teacherview-studyplan.htm b/doc/teacherview-studyplan.htm new file mode 100644 index 0000000..659abd1 --- /dev/null +++ b/doc/teacherview-studyplan.htm @@ -0,0 +1,15 @@ +
+

Studyplan user manual

+ +

About studyplan

+ + + +
\ No newline at end of file diff --git a/doc/view-studyplan.htm b/doc/view-studyplan.htm new file mode 100644 index 0000000..4372450 --- /dev/null +++ b/doc/view-studyplan.htm @@ -0,0 +1,16 @@ +
+

Studyplan user manual

+ +

Using the studyplan - for students

+

If you followed the post-install instructions, then every student associated with a studyplan will have the link "

+ + + +
\ No newline at end of file diff --git a/lang/en/local_treestudyplan.php b/lang/en/local_treestudyplan.php index 422a08e..d86be55 100644 --- a/lang/en/local_treestudyplan.php +++ b/lang/en/local_treestudyplan.php @@ -144,8 +144,8 @@ $string['cfg_plans'] = 'Manage study plans'; $string['cfg_grades_desc_head'] = 'Configure how reuslts for goals are presented.'; $string['cfg_grades_desc'] = 'If failed results are supported, the threshold for progression is relevant. All results below this threshold will be considered failed. Empty results or 0 will always be read as not started.
The completion threshold always takes preference if it is equal to or lower than th progression threshold.'; -$string['cfg_grades_grades'] = 'Configure scale grade interpretation'; -$string['cfg_grades_scales'] = 'Configure point grade interpretation'; +$string['cfg_grades_grades'] = 'Configure point grade interpretation'; +$string['cfg_grades_scales'] = 'Configure scale grade interpretation'; $string['min_progress'] = 'Progression threshold'; $string['min_completed'] = 'Completion threshold'; $string['grade_points'] = 'Maximum grade points'; diff --git a/lang/nl/local_treestudyplan.php b/lang/nl/local_treestudyplan.php index f408476..cbfdf90 100644 --- a/lang/nl/local_treestudyplan.php +++ b/lang/nl/local_treestudyplan.php @@ -146,8 +146,8 @@ $string['cfg_plans'] = 'Studieplannen beheren'; $string['cfg_grades_desc_head'] = 'Stel hier in op welke manier resultaten voor doelen worden geinterpreteerd.'; $string['cfg_grades_desc'] = 'Bij gebruik van onvoldoende beoordelingen is de drempelwaarde voor ontwikkeling relevant. Bij waarden onder deze drempel, wordt het resultaat weergegeven als onvoldoende. Een lege beoordeling wordt altijd gezien als niet gestart.
Als de drempel voor voltooing kleiner dan of gelijk is aan die voor ontwikkeling, dan krijgt die voor voltooing voorrang'; -$string['cfg_grades_grades'] = 'Instellen betekenis resultaatschalen'; -$string['cfg_grades_scales'] = 'Instellen betekenis puntenbeoordeling'; +$string['cfg_grades_grades'] = 'Instellen betekenis puntenbeoordeling'; +$string['cfg_grades_scales'] = 'Instellen betekenis resultaatschalen'; $string['min_progress'] = 'Drempelwaarde voor ontwikkeling'; $string['min_completed'] = 'Drempelwaarde voor voltooid'; $string['grade_points'] = 'Maximum aantal points';