Simple lesson
Versions
Current version
v2.07. (2024080401)
v2.07.
Plugin type: Activities
Frankenstyle component name: mod_simplelesson
Version build number: 2024080401
Version release name: v2.07.
Maturity: Stable
Supported Moodle versions: 4.1, 4.2, 4.3, 4.4
Repository URL (Git): https://github.com/richardjonesnz/moodle_mod_simplelesson
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/richardjonesnz/moodle_mod_simplelesson/issues
CHANGELOG.txt
2.07 04/06/24 Bug fixes
Corrected allowreview to work regardless of number of pages in simplelesson
Corrected syntax error in backup_stepslib that prevented course copy (thanks adamfortnam)
2.0.6 06/02/24 - Waitangi Day
Added field allowreports to install.xml
Option to allow student review of their previous answers to a simplelesson
CodeChecker generates a load of array() style errors, ignoring them. when
Moodle fixes its own legacy code I might have a look.
2.0.5 - 03/08/22
Added field allversions to install.xml.
Removed parameter allversions not needed by edit_lesson.php.
2.0.4 - 02/05/22
Added option to show all question versions that have 'ready' status.
2.0.3 - 24/04/22
Further changes to account for question versions and related tables in question bank.
Fixed export to csv bug.
Tested against release version of Moodle 4.0
2.0.2 - 24/02/22
Re-wrote code dealing with question categories following changes to Moodle's question table.
Created custom form for selecting one question from a list (select_question_form.php).
Tidied up some overuse of local variables in view and showpage pages.
Reduced the number of buttons used for navigation and management.
2.0.1 - 19/10/21 - MAJOR revision of code to modern Moodle standards.
Compatible with existing data tables and functionality.
Considerable number of usability improvements
Preview mode shows a question placeholder and a link to preview the question on a page
Lesson management page shows the question on a page and allows adding and deleting questions from there
Selection of question category and behaviour via modal on main plugin page, also links to question bank
Questions can be previewed easily
Tested on Moodle 4.0 development code.
1.29.2 - 15/11/20 - MINOR improvement to Manage Questions page - thanks Stephen Parry @sparry0407
A link is added that takes you to the question bank for the course where you can preview and
edit your question.
1.29.1 - 2/3/20 - MINOR fixes to navigation - thanks Joseph Rézeau
1.29.1 - 3/11/20 - MINOR change to navigation - sparry407
Nav shows on non-question pages when allow incomplete attempts are disallowed.
- 2/3/20 - MINOR fixes to navigation - thanks Joseph Rézeau
Nav now shows after answering question in deferred mode.
If user double-clicks check button, returns to home page
- this is an issue with the question engine sometimes
- getting an out of sequence error.
1.29 - 26/10/19 - MINOR bug fixes, thanks Al Rachels.
Language file
- capitalized "sequence"
index.php - fixed use statement
1.28 - 04/09/2018 - MINOR changes/improvements
Attempts
- Allow incomplete attempts. Otherwise student must answer
question to view navigation. - Adds new database field for question state.
1.27 - 01/09/2018 - MINOR changes/improvements
Grading
- Fixed incorrect grading method calculation
Note: Grading changes for all users if grade calculation
method is changed in settings.
Other - Enabled activity reset
1.26 - 30/08/2018 - MAJOR changes to database (uninstall required)
Database
- increased sizes of some key fields and indexes to macth Moodle tables
Grading - fixed bug updating grades for single user
1.25 - 23/08/2018 - MINOR changes/improvements in functionality
UI
- Fixed broken page layout in clean theme
- Updated report tab buttons to use template
Reporting
- Fixed up calculation bug for sessionscore
Security
- Added sesskey checks for action pages
- Added capability checks for viewable pages
Grading
- Implemented grading methods: highest, average and latest attempt(s)
- Grades sent to Moodle gradebook
1.24 - 16/08/2018 - MINOR changes
UI Improvements in consistency
- Added mustache templates for most page links (buttons).
- Added mustache templates for formatting table output.
Question types
- Tested and implemented deferred feedback question behaviours.
Settings
- Added setting to allow/prevent student review post lesson.
- Added related changes to database and upgrade.php scripts.
Code
- Removed code from renderer.php, modified and added to output classes
- Added allowreview field to install.xml, upgrade.php and backup code
Log is only kept since MINOR version 1.24, 2018081001.
Version 1.21 is reviewed here:
https://tracker.moodle.org/browse/CONTRIB-7331
v2.06. (2024020601)
v2.06.
Plugin type: Activities
Frankenstyle component name: mod_simplelesson
Version build number: 2024020601
Version release name: v2.06.
Maturity: Stable
Supported Moodle versions: 4.1
Repository URL (Git): https://github.com/richardjonesnz/moodle_mod_simplelesson
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/richardjonesnz/moodle_mod_simplelesson/issues
CHANGELOG.txt
2.0.6 06/02/24 - Waitangi Day
Added field allowreports to install.xml
Option to allow student review of their previous answers to a simplelesson
CodeChecker generates a load of array() style errors, ignoring them. when
Moodle fixes its own legacy code I might have a look.
2.0.5 - 03/08/22
Added field allversions to install.xml.
Removed parameter allversions not needed by edit_lesson.php.
2.0.4 - 02/05/22
Added option to show all question versions that have 'ready' status.
2.0.3 - 24/04/22
Further changes to account for question versions and related tables in question bank.
Fixed export to csv bug.
Tested against release version of Moodle 4.0
2.0.2 - 24/02/22
Re-wrote code dealing with question categories following changes to Moodle's question table.
Created custom form for selecting one question from a list (select_question_form.php).
Tidied up some overuse of local variables in view and showpage pages.
Reduced the number of buttons used for navigation and management.
2.0.1 - 19/10/21 - MAJOR revision of code to modern Moodle standards.
Compatible with existing data tables and functionality.
Considerable number of usability improvements
Preview mode shows a question placeholder and a link to preview the question on a page
Lesson management page shows the question on a page and allows adding and deleting questions from there
Selection of question category and behaviour via modal on main plugin page, also links to question bank
Questions can be previewed easily
Tested on Moodle 4.0 development code.
1.29.2 - 15/11/20 - MINOR improvement to Manage Questions page - thanks Stephen Parry @sparry0407
A link is added that takes you to the question bank for the course where you can preview and
edit your question.
1.29.1 - 2/3/20 - MINOR fixes to navigation - thanks Joseph Rézeau
1.29.1 - 3/11/20 - MINOR change to navigation - sparry407
Nav shows on non-question pages when allow incomplete attempts are disallowed.
- 2/3/20 - MINOR fixes to navigation - thanks Joseph Rézeau
Nav now shows after answering question in deferred mode.
If user double-clicks check button, returns to home page
- this is an issue with the question engine sometimes
- getting an out of sequence error.
1.29 - 26/10/19 - MINOR bug fixes, thanks Al Rachels.
Language file
- capitalized "sequence"
index.php - fixed use statement
1.28 - 04/09/2018 - MINOR changes/improvements
Attempts
- Allow incomplete attempts. Otherwise student must answer
question to view navigation. - Adds new database field for question state.
1.27 - 01/09/2018 - MINOR changes/improvements
Grading
- Fixed incorrect grading method calculation
Note: Grading changes for all users if grade calculation
method is changed in settings.
Other - Enabled activity reset
1.26 - 30/08/2018 - MAJOR changes to database (uninstall required)
Database
- increased sizes of some key fields and indexes to macth Moodle tables
Grading - fixed bug updating grades for single user
1.25 - 23/08/2018 - MINOR changes/improvements in functionality
UI
- Fixed broken page layout in clean theme
- Updated report tab buttons to use template
Reporting
- Fixed up calculation bug for sessionscore
Security
- Added sesskey checks for action pages
- Added capability checks for viewable pages
Grading
- Implemented grading methods: highest, average and latest attempt(s)
- Grades sent to Moodle gradebook
1.24 - 16/08/2018 - MINOR changes
UI Improvements in consistency
- Added mustache templates for most page links (buttons).
- Added mustache templates for formatting table output.
Question types
- Tested and implemented deferred feedback question behaviours.
Settings
- Added setting to allow/prevent student review post lesson.
- Added related changes to database and upgrade.php scripts.
Code
- Removed code from renderer.php, modified and added to output classes
- Added allowreview field to install.xml, upgrade.php and backup code
Log is only kept since MINOR version 1.24, 2018081001.
Version 1.21 is reviewed here:
https://tracker.moodle.org/browse/CONTRIB-7331
v2.00.4 (2022050201)
v2.00.4
Plugin type: Activities
Frankenstyle component name: mod_simplelesson
Version build number: 2022050201
Version release name: v2.00.4
Maturity: Stable
Supported Moodle versions: 4.0
Repository URL (Git): https://github.com/richardjonesnz/moodle_mod_simplelesson
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/richardjonesnz/moodle_mod_simplelesson/issues
CHANGELOG.txt
2.0.4 - 02/05/22
Added option to show all question versions that have 'ready' status.
2.0.3 - 24/04/22
Further changes to account for question versions and related tables in question bank.
Fixed export to csv bug.
Tested against release version of Moodle 4.0
2.0.2 - 24/02/22
Re-wrote code dealing with question categories following changes to Moodle's question table.
Created custom form for selecting one question from a list (select_question_form.php).
Tidied up some overuse of local variables in view and showpage pages.
Reduced the number of buttons used for navigation and management.
2.0.1 - 19/10/21 - MAJOR revision of code to modern Moodle standards.
Compatible with existing data tables and functionality.
Considerable number of usability improvements
Preview mode shows a question placeholder and a link to preview the question on a page
Lesson management page shows the question on a page and allows adding and deleting questions from there
Selection of question category and behaviour via modal on main plugin page, also links to question bank
Questions can be previewed easily
Tested on Moodle 4.0 development code.
1.29.2 - 15/11/20 - MINOR improvement to Manage Questions page - thanks Stephen Parry @sparry0407
A link is added that takes you to the question bank for the course where you can preview and
edit your question.
1.29.1 - 2/3/20 - MINOR fixes to navigation - thanks Joseph Rézeau
1.29.1 - 3/11/20 - MINOR change to navigation - sparry407
Nav shows on non-question pages when allow incomplete attempts are disallowed.
- 2/3/20 - MINOR fixes to navigation - thanks Joseph Rézeau
Nav now shows after answering question in deferred mode.
If user double-clicks check button, returns to home page
- this is an issue with the question engine sometimes
- getting an out of sequence error.
1.29 - 26/10/19 - MINOR bug fixes, thanks Al Rachels.
Language file
- capitalized "sequence"
index.php - fixed use statement
1.28 - 04/09/2018 - MINOR changes/improvements
Attempts
- Allow incomplete attempts. Otherwise student must answer
question to view navigation. - Adds new database field for question state.
1.27 - 01/09/2018 - MINOR changes/improvements
Grading
- Fixed incorrect grading method calculation
Note: Grading changes for all users if grade calculation
method is changed in settings.
Other - Enabled activity reset
1.26 - 30/08/2018 - MAJOR changes to database (uninstall required)
Database
- increased sizes of some key fields and indexes to macth Moodle tables
Grading - fixed bug updating grades for single user
1.25 - 23/08/2018 - MINOR changes/improvements in functionality
UI
- Fixed broken page layout in clean theme
- Updated report tab buttons to use template
Reporting
- Fixed up calculation bug for sessionscore
Security
- Added sesskey checks for action pages
- Added capability checks for viewable pages
Grading
- Implemented grading methods: highest, average and latest attempt(s)
- Grades sent to Moodle gradebook
1.24 - 16/08/2018 - MINOR changes
UI Improvements in consistency
- Added mustache templates for most page links (buttons).
- Added mustache templates for formatting table output.
Question types
- Tested and implemented deferred feedback question behaviours.
Settings
- Added setting to allow/prevent student review post lesson.
- Added related changes to database and upgrade.php scripts.
Code
- Removed code from renderer.php, modified and added to output classes
- Added allowreview field to install.xml, upgrade.php and backup code
Log is only kept since MINOR version 1.24, 2018081001.
Version 1.21 is reviewed here:
https://tracker.moodle.org/browse/CONTRIB-7331
v2.00.3 (2022042400)
v2.00.3
Plugin type: Activities
Frankenstyle component name: mod_simplelesson
Version build number: 2022042400
Version release name: v2.00.3
Maturity: Stable
Supported Moodle versions: 4.0
Repository URL (Git): https://github.com/richardjonesnz/moodle-mod_simplelesson
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/richardjonesnz/moodle_mod_simplelesson/issues
CHANGELOG.txt
2.0.3 - 24/04/22
Further changes to account for question versions and related tables in question bank.
Fixed export to csv bug.
Tested against release version of Moodle 4.0
2.0.2 - 24/02/22
Re-wrote code dealing with question categories following changes to Moodle's question table.
Created custom form for selecting one question from a list (select_question_form.php).
Tidied up some overuse of local variables in view and showpage pages.
Reduced the number of buttons used for navigation and management.
2.0.1 - 19/10/21 - MAJOR revision of code to modern Moodle standards.
Compatible with existing data tables and functionality.
Considerable number of usability improvements
Preview mode shows a question placeholder and a link to preview the question on a page
Lesson management page shows the question on a page and allows adding and deleting questions from there
Selection of question category and behaviour via modal on main plugin page, also links to question bank
Questions can be previewed easily
Tested on Moodle 4.0 development code.
1.29.2 - 15/11/20 - MINOR improvement to Manage Questions page - thanks Stephen Parry @sparry0407
A link is added that takes you to the question bank for the course where you can preview and
edit your question.
1.29.1 - 2/3/20 - MINOR fixes to navigation - thanks Joseph Rézeau
1.29.1 - 3/11/20 - MINOR change to navigation - sparry407
Nav shows on non-question pages when allow incomplete attempts are disallowed.
- 2/3/20 - MINOR fixes to navigation - thanks Joseph Rézeau
Nav now shows after answering question in deferred mode.
If user double-clicks check button, returns to home page
- this is an issue with the question engine sometimes
- getting an out of sequence error.
1.29 - 26/10/19 - MINOR bug fixes, thanks Al Rachels.
Language file
- capitalized "sequence"
index.php - fixed use statement
1.28 - 04/09/2018 - MINOR changes/improvements
Attempts
- Allow incomplete attempts. Otherwise student must answer
question to view navigation. - Adds new database field for question state.
1.27 - 01/09/2018 - MINOR changes/improvements
Grading
- Fixed incorrect grading method calculation
Note: Grading changes for all users if grade calculation
method is changed in settings.
Other - Enabled activity reset
1.26 - 30/08/2018 - MAJOR changes to database (uninstall required)
Database
- increased sizes of some key fields and indexes to macth Moodle tables
Grading - fixed bug updating grades for single user
1.25 - 23/08/2018 - MINOR changes/improvements in functionality
UI
- Fixed broken page layout in clean theme
- Updated report tab buttons to use template
Reporting
- Fixed up calculation bug for sessionscore
Security
- Added sesskey checks for action pages
- Added capability checks for viewable pages
Grading
- Implemented grading methods: highest, average and latest attempt(s)
- Grades sent to Moodle gradebook
1.24 - 16/08/2018 - MINOR changes
UI Improvements in consistency
- Added mustache templates for most page links (buttons).
- Added mustache templates for formatting table output.
Question types
- Tested and implemented deferred feedback question behaviours.
Settings
- Added setting to allow/prevent student review post lesson.
- Added related changes to database and upgrade.php scripts.
Code
- Removed code from renderer.php, modified and added to output classes
- Added allowreview field to install.xml, upgrade.php and backup code
Log is only kept since MINOR version 1.24, 2018081001.
Version 1.21 is reviewed here:
https://tracker.moodle.org/browse/CONTRIB-7331
v1.29.1 (2020030200)
v1.29.1
Plugin type: Activities
Frankenstyle component name: mod_simplelesson
Version build number: 2020030200
Version release name: v1.29.1
Maturity: Beta
Supported Moodle versions: 3.4, 3.5, 3.6, 3.8
Repository URL (Git): https://github.com/richardjonesnz/moodle_mod_simplelesson
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/richardjonesnz/moodle_mod_simplelesson/issues
Sources
This is modified from Moodle HQ's moodle-mod_newmodule and Justin Hunt's Pairwork activity module for Moodle.
Brief description
This is hopefully a good basis for a simple lesson module that has basic features as follows:
- Supports adding basic question types from the question bank
- Consists of multimedia pages with simple hyperlinked navigation
- Summary lesson attempt reports for students and teacher's
- Grades to gradebook, essay questions require manual grading
- Implements GDPR privacy requests for reporting and deletion of user data
- Designed for Moodle 3.5
For more complex needs (timing, access restrictions, use the Lesson activity module)
For summative activities and a wider range of question types use the quiz or lesson.
Richard Jones
richardnz@outlook.com
June 2018
v1.29 (2019102600)
v1.29
Plugin type: Activities
Frankenstyle component name: mod_simplelesson
Version build number: 2019102600
Version release name: v1.29
Maturity: Beta
Supported Moodle versions: 3.4, 3.5, 3.6, 3.7
Repository URL (Git): https://github.com/richardjonesnz/moodle_mod_simplelesson
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/richardjonesnz/moodle_mod_simplelesson/issues
Changes
See CHANGELOG.txt
Sources
This is modified from Moodle HQ's moodle-mod_newmodule and Justin Hunt's Pairwork activity module for Moodle.
Brief description
This is hopefully a good basis for a simple lesson module that has basic features as follows:
- Supports adding basic question types from the question bank
- Consists of multimedia pages with simple hyperlinked navigation
- Summary lesson attempt reports for students and teacher's
- Grades to gradebook, essay questions require manual grading
- Implements GDPR privacy requests for reporting and deletion of user data
- Designed for Moodle 3.5
For more complex needs (timing, access restrictions, use the Lesson activity module)
For summative activities and a wider range of question types use the quiz or lesson.
Richard Jones
richardnz@outlook.com
June 2018
v1.28 (2018090400)
v1.28
Plugin type: Activities
Frankenstyle component name: mod_simplelesson
Version build number: 2018090400
Version release name: v1.28
Maturity: Beta
Supported Moodle versions: 3.4, 3.5
Repository URL (Git): https://github.com/richardjonesnz/moodle_mod_simplelesson
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/richardjonesnz/moodle_mod_simplelesson/issues
This version 1.8
Added allow incomplete option. Teacher can specify that navigation is hidden until the question has been attempted.
Sources
This is modified from Moodle HQ's moodle-mod_newmodule and Justin Hunt's Pairwork activity module for Moodle.
Brief description
This is hopefully a good basis for a simple lesson module that has basic features as follows:
- Supports adding basic question types from the question bank
- Consists of multimedia pages with simple hyperlinked navigation
- Summary lesson attempt reports for students and teacher's
- Grades to gradebook, essay questions require manual grading
- Implements GDPR privacy requests for reporting and deletion of user data
- Designed for Moodle 3.5
For more complex needs (timing, access restrictions, use the Lesson activity module)
For summative activities and a wider range of question types use the quiz or lesson.
Richard Jones
June 2018
v1.26 (2018083003)
v1.26
Plugin type: Activities
Frankenstyle component name: mod_simplelesson
Version build number: 2018083003
Version release name: v1.26
Maturity: Beta
Supported Moodle versions: 3.4, 3.5
Repository URL (Git): https://github.com/richardjonesnz/moodle_mod_simplelesson
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/richardjonesnz/moodle_mod_simplelesson/issues
Version 1.26 MAJOR change
A clean upgrade from 1.25 is recommended, especially on larger sites with many questions. Some indexed fields have been upgraded in size. This requires uninstalling 1.25 first. Backed up copies of the plugin activities will be restored correctly.
Sources
This is modified from Moodle HQ's moodle-mod_newmodule and Justin Hunt's Pairwork activity module for Moodle.
Brief description
This is hopefully a good basis for a simple lesson module that has basic features as follows:
- Supports adding basic question types from the question bank
- Consists of multimedia pages with simple hyperlinked navigation
- Summary lesson attempt reports for students and teacher's
- Grades to gradebook, essay questions require manual grading
- Implements GDPR privacy requests for reporting and deletion of user data
- Designed for Moodle 3.5
For more complex needs (timing, access restrictions, use the Lesson activity module)
For summative activities and a wider range of question types use the quiz or lesson.
Richard Jones
richardnz@outlook.com
June 2018
v1.25 (2018082300)
v1.25
Plugin type: Activities
Frankenstyle component name: mod_simplelesson
Version build number: 2018082300
Version release name: v1.25
Maturity: Beta
Supported Moodle versions: 3.4, 3.5
Repository URL (Git): https://github.com/richardjonesnz/moodle_mod_simplelesson
Repository branch:
Repository tag:
Issue/bug tracker URL: https://github.com/richardjonesnz/moodle_mod_simplelesson/issues
Sources
This is modified from Moodle HQ's moodle-mod_newmodule and Justin Hunt's Pairwork activity module for Moodle.
Brief description
This is hopefully a good basis for a simple lesson module that has basic features as follows:
- Supports adding questions from the question bank
- Consists of multimedia pages with simple hyperlinked navigation
- Summary lesson attempt reports for students and teacher's
- Implements GDPR privacy requests for reporting and deletion of user data
- Designed for Moodle 3.5
- Implements grading
For more complex needs (timing, access restrictions, use the Lesson activity module)
For summative activities use the quiz or lesson.
Version 2.5 BETA
See CHANGELOG.txt for details. As it is still in Beta, suggestions for improvement are welcome at the issues page or here.
Richard Jones
richardnz@outlook.com
August 2018