Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions lang/en/journal.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,21 @@
$string['messageprovider:journal_feedback'] = 'Journal feedback from teacher';
$string['messageprovider:submission'] = 'Journal entry created or modified';
$string['modulename'] = 'Journal';
$string['modulename_help'] = 'The journal activity enables teachers to obtain students feedback
about a specific topic';
$string['modulename_help'] = '###### Key features
- Collect online text entries from students for review and grading
- Entries are private between student and teacher (not visible to other students)
- Supports feedback in text form and grading by the teacher
- Includes a "Days available" setting to control submission period
- Displays all entries for a class or group on one page for efficient review

###### Ways to use it
- Assign short reflective writing tasks or learning journals
- Use for ongoing feedback and iterative improvement of student work
- Encourage students to summarize lessons or readings in their own words
- Track student progress on simple text-based assignments
- Facilitate private communication between teacher and student for formative assessment';
$string['modulename_link'] = 'mod/journal/view';
$string['modulename_summary'] = 'Collects private online text entries from students for feedback and grading, with a set availability period and no file uploads.';
$string['modulenameplural'] = 'Journals';
$string['needsregrade'] = 'Entry has changed since last feedback was saved.';
$string['newjournalentries'] = 'New journal entries';
Expand Down
8 changes: 8 additions & 0 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ function journal_supports($feature) {
) {
return MOD_PURPOSE_COLLABORATION;
}

// For versions of Moodle prior to 5.1, we need to define that constant here.
if (!defined('FEATURE_MOD_OTHERPURPOSE')) {
define('FEATURE_MOD_OTHERPURPOSE', 'mod_otherpurpose');
}

switch ($feature) {
case FEATURE_MOD_INTRO:
return true;
Expand All @@ -155,6 +161,8 @@ function journal_supports($feature) {
return true;
case FEATURE_SHOW_DESCRIPTION:
return true;
case FEATURE_MOD_OTHERPURPOSE:
return MOD_PURPOSE_ASSESSMENT;
default:
return null;
}
Expand Down