Course list advanced (deprecated!!!)
Versions
Current version
v2.0.9 (2022051200)
v2.0.9
Plugin type: Blocks
Frankenstyle component name: block_course_list_advanced
Version build number: 2022051200
Version release name: v2.0.9
Maturity: Alpha
Supported Moodle versions: 3.10, 3.11, 3.9, 4.0
Repository URL (Git): https://github.com/andreasschenkel/moodle-block_course_list_advanced/tags
Repository branch:
Repository tag: v2.0.9
Issue/bug tracker URL: https://github.com/andreasschenkel/moodle-block_course_list_advanced/issues
moodle-block_course_list_advanced
The normal block course list shows all courses and has no information about the role in the course.
The block moodle-block_course_list_advanced adds some more information about a course. I adds the information which of the following roles a user is enrolled into a course.
For performance and testing-reason this first version only shows the content if the block is added into a course AND the user is trainer.

numbers
1, 2:
counts the courses with the role trainer or student
3, 4, 5:
Also colors indicates courses that
(are in progress --> green),
(are past -> red),
(are in the future --> blue)
6, 7, 8:
Startdate and enddate of a course
9:
able to delete a course if capability moodle/course:delete
10:
Indicates trainer or student
11:
note jet supported
Configure the block

At the end of the block a list of all courses is shown where the usere is enrolled as teacher.
ToDo
- choose better colors
- add some more languagestring to instead of hardcoded text
- optimize code for enrollmentcheck
- change from php to moodle-codestyle
- correct some spelling mistake
- block may be "expensive" in large moodleinstances with many users. instead of using a block it might be a good idea to implement the functionality as a part of the profile-page
Changelog
[[v2.0.9]]
new releasenumber in readme
[[v2.0.8]]
- fixed problem with width during editing is active
- fixed issue #7: Hard-coded title attribute values #7
[[v2.0.7]]
- added releaseinformation in version.php
- add first alpha version of htmlHelper to reduce codeinglines
- fix: duplicate entry problem with capability viewcontent --> viewblockcontent
[[v2.0.6]] ## 12.1.2021
- added languagestring for capability
- added section with courses where user is enroled with role guest
- setting to activate section with courses where enroled as guest
- codeingstyle
[[v2.0.5]]
- changes to moodle coding styleguide
[[v2.0.4]]
- configurable max courses if is_siteadmin
[[v2.0.3]]
- add list of all moodle courses is is_siteadmin
- some refactoring
- first very small unit tests
[[v2.02]]
- add config to be able to add block to frontpage
- add config to be able to add block to mypage
- some merged corrections in languagefile
[[v2.01]]
only correcting the tag for the merge and release
[[v2.00]]
- added some docúmentation
- added configuration
- only show content if block is in a course AND user is trainer
- added delete-icon (can be activated or deactivated)
[[v0.92]]
- Adding startdate and enddate.
- Also colors indicates courses that (are in progress --> green), (are past -> red), (are in the future --> blue)
[[v0.91]]
added letter after the coursename to indicate role
[[v0.9]]
beta-version with splited lists for teacher, student and nonediting teachers
[[v0.8]]
beta-version for testing
[[inital commit]]
initial commit on master-branch developed on moodle 3.9.9
v2.0.7 (2022020400)
v2.0.7
Plugin type: Blocks
Frankenstyle component name: block_course_list_advanced
Version build number: 2022020400
Version release name: v2.0.7
Maturity: Alpha
Supported Moodle versions: 3.10, 3.11, 3.9
Repository URL (Git): https://github.com/andreasschenkel/moodle-block_course_list_advanced/tags
Repository branch:
Repository tag: v2.0.7
Issue/bug tracker URL: https://github.com/andreasschenkel/moodle-block_course_list_advanced/issues
moodle-block_course_list_advanced
The normal block course list shows all courses and has no information about the role in the course.
The block moodle-block_course_list_advanced adds some more information about a course. I adds the information which of the following roles a user is enrolled into a course.
For performance and testing-reason this first version only shows the content if the block is added into a course AND the user is trainer.

numbers
1, 2:
counts the courses with the role trainer or student
3, 4, 5:
Also colors indicates courses that
(are in progress --> green),
(are past -> red),
(are in the future --> blue)
6, 7, 8:
Startdate and enddate of a course
9:
able to delete a course if capability moodle/course:delete
10:
Indicates trainer or student
11:
note jet supported
Configure the block

At the end of the block a list of all courses is shown where the usere is enrolled as teacher.
ToDo
- choose better colors
- add some more languagestring to instead of hardcoded text
- optimize code for enrollmentcheck
- change from php to moodle-codestyle
- correct some spelling mistake
- block may be "expensive" in large moodleinstances with many users. instead of using a block it might be a good idea to implement the functionality as a part of the profile-page
Changelog
[[v2.0.7]]
- added releaseinformation in version.php
- add first alpha version of htmlHelper to reduce codeinglines
- fix: duplicate entry problem with capability viewcontent --> viewblockcontent
[[v2.0.6]] ## 12.1.2021
- added languagestring for capability
- added section with courses where user is enroled with role guest
- setting to activate section with courses where enroled as guest
- codeingstyle
[[v2.0.5]]
- changes to moodle coding styleguide
[[v2.0.4]]
- configurable max courses if is_siteadmin
[[v2.0.3]]
- add list of all moodle courses is is_siteadmin
- some refactoring
- first very small unit tests
[[v2.02]]
- add config to be able to add block to frontpage
- add config to be able to add block to mypage
- some merged corrections in languagefile
[[v2.01]]
only correcting the tag for the merge and release
[[v2.00]]
- added some docúmentation
- added configuration
- only show content if block is in a course AND user is trainer
- added delete-icon (can be activated or deactivated)
[[v0.92]]
- Adding startdate and enddate.
- Also colors indicates courses that (are in progress --> green), (are past -> red), (are in the future --> blue)
[[v0.91]]
added letter after the coursename to indicate role
[[v0.9]]
beta-version with splited lists for teacher, student and nonediting teachers
[[v0.8]]
beta-version for testing
[[inital commit]]
initial commit on master-branch developed on moodle 3.9.9
(2022011200)
Plugin type: Blocks
Frankenstyle component name: block_course_list_advanced
Version build number: 2022011200
Version release name:
Maturity: Alpha
Supported Moodle versions: 3.10, 3.11, 3.9
Repository URL (Git): https://github.com/andreasschenkel/moodle-block_course_list_advanced/tags
Repository branch:
Repository tag: v2.0.6
Issue/bug tracker URL: https://github.com/andreasschenkel/moodle-block_course_list_advanced/issues
moodle-block_course_list_advanced
The normal block course list shows all courses and has no information about the role in the course.
The block moodle-block_course_list_advanced adds some more information about a course. I adds the information which of the following roles a user is enrolled into a course.
For performance and testing-reason this first version only shows the content if the block is added into a course AND the user is trainer.

numbers
1, 2:
counts the courses with the role trainer or student
3, 4, 5:
Also colors indicates courses that
(are in progress --> green),
(are past -> red),
(are in the future --> blue)
6, 7, 8:
Startdate and enddate of a course
9:
able to delete a course if capability moodle/course:delete
10:
Indicates trainer or student
11:
note jet supported
Configure the block

At the end of the block a list of all courses is shown where the usere is enrolled as teacher.
ToDo
- choose better colors
- add some more languagestring to instead of hardcoded text
- optimize code for enrollmentcheck
- change from php to moodle-codestyle
- correct some spelling mistake
- block may be "expensive" in large moodleinstances with many users. instead of using a block it might be a good idea to implement the functionality as a part of the profile-page
Changelog
[[v2.0.6]] ## 12.1.2021
- added languagestring for capability
- added section with courses where user is enroled with role guest
- setting to activate section with courses where enroled as guest
- codeingstyle
[[v2.0.5]]
- changes to moodle coding styleguide
[[v2.0.4]]
- configurable max courses if is_siteadmin
[[v2.0.3]]
- add list of all moodle courses is is_siteadmin
- some refactoring
- first very small unit tests
[[v2.02]]
- add config to be able to add block to frontpage
- add config to be able to add block to mypage
- some merged corrections in languagefile
[[v2.01]]
only correcting the tag for the merge and release
[[v2.00]]
- added some docúmentation
- added configuration
- only show content if block is in a course AND user is trainer
- added delete-icon (can be activated or deactivated)
[[v0.92]]
- Adding startdate and enddate.
- Also colors indicates courses that (are in progress --> green), (are past -> red), (are in the future --> blue)
[[v0.91]]
added letter after the coursename to indicate role
[[v0.9]]
beta-version with splited lists for teacher, student and nonediting teachers
[[v0.8]]
beta-version for testing
[[inital commit]]
initial commit on master-branch developed on moodle 3.9.9
(2021111001)
Plugin type: Blocks
Frankenstyle component name: block_course_list_advanced
Version build number: 2021111001
Version release name:
Maturity: Alpha
Supported Moodle versions: 3.10, 3.11, 3.9
Repository URL (Git): https://github.com/andreasschenkel/moodle-block_course_list_advanced/tags
Repository branch:
Repository tag: v2.0.4
Issue/bug tracker URL: https://github.com/andreasschenkel/moodle-block_course_list_advanced/issues
moodle-block_course_list_advanced
The normal block course list shows all courses and has no information about the role in the course.
The block moodle-block_course_list_advanced adds some more information about a course. I adds the information which of the following roles a user is enrolled into a course.
For performance and testing-reason this first version only shows the content if the block is added into a course AND the user is trainer.

numbers
1, 2:
counts the courses with the role trainer or student
3, 4, 5:
Also colors indicates courses that
(are in progress --> green),
(are past -> red),
(are in the future --> blue)
6, 7, 8:
Startdate and enddate of a course
9:
able to delete a course if capability moodle/course:delete
10:
Indicates trainer or student
11:
note jet supported
Configure the block

At the end of the block a list of all courses is shown where the usere is enrolled as teacher.
ToDo
- choose better colors
- add some more languagestring to instead of hardcoded text
- optimize code for enrollmentcheck
- change from php to moodle-codestyle
- correct some spelling mistake
- block may be "expensive" in large moodleinstances with many users. instead of using a block it might be a good idea to implement the functionality as a part of the profile-page
Changelog
[[v2.0.4]]
- configurable max courses if is_siteadmin
[[v2.0.3]]
- add list of all moodle courses if is_siteadmin
- some refactoring
- first very small unit tests
[[v2.02]]
- add config to be able to add block to frontpage
- add config to be able to add block to mypage
- some merged corrections in languagefile
[[v2.01]]
only correcting the tag for the merge and release
[[v2.00]]
- added some docúmentation
- added configuration
- only show content if block is in a course AND user is trainer
- added delete-icon (can be activated or deactivated)
[[v0.92]]
- Adding startdate and enddate.
- Also colors indicates courses that (are in progress --> green), (are past -> red), (are in the future --> blue)
[[v0.91]]
added letter after the coursename to indicate role
[[v0.9]]
beta-version with splited lists for teacher, student and nonediting teachers
[[v0.8]]
beta-version for testing
[[inital commit]]
initial commit on master-branch developed on moodle 3.9.9
(2021102806)
Plugin type: Blocks
Frankenstyle component name: block_course_list_advanced
Version build number: 2021102806
Version release name:
Maturity: Alpha
Supported Moodle versions: 3.9
Repository URL (Git): https://github.com/andreasschenkel/moodle-block_course_list_advanced/tags
Repository branch:
Repository tag: v2.0.2
Issue/bug tracker URL: https://github.com/andreasschenkel/moodle-block_course_list_advanced/issues
moodle-block_course_list_advanced
The normal block course list shows all courses and has no information about the role in the course.
The block moodle-block_course_list_advanced adds some more information about a course. I adds the information which of the following roles a user is enrolled into a course.
For performance and testing-reason this first version only shows the content if the block is added into a course AND the user is trainer.

numbers
1, 2:
counts the courses with the role trainer or student
3, 4, 5:
Also colors indicates courses that
(are in progress --> green),
(are past -> red),
(are in the future --> blue)
6, 7, 8:
Startdate and enddate of a course
9:
able to delete a course if capability moodle/course:delete
10:
Indicates trainer or student
11:
note jet supported
Configure the block

At the end of the block a list of all courses is shown where the usere is enrolled as teacher.
ToDo
- choose better colors
- add some more languagestring to instead of hardcoded text
- optimize code for enrollmentcheck
- change from php to moodle-codestyle
- correct some spelling mistake
- block may be "expensive" in large moodleinstances with many users. instead of using a block it might be a good idea to implement the functionality as a part of the profile-page
Changelog
[[v2.02]]
- add config to be able to add block to frontpage
- add config to be able to add block to mypage
- some merged corrections in languagefile
[[v2.01]]
only correcting the tag for the merge and release
[[v2.00]]
- added some docúmentation
- added configuration
- only show content if block is in a course AND user is trainer
- added delete-icon (can be activated or deactivated)
[[v0.92]]
- Adding startdate and enddate.
- Also colors indicates courses that (are in progress --> green), (are past -> red), (are in the future --> blue)
[[v0.91]]
added letter after the coursename to indicate role
[[v0.9]]
beta-version with splited lists for teacher, student and nonediting teachers
[[v0.8]]
beta-version for testing
[[inital commit]]
initial commit on master-branch developed on moodle 3.9.9
(2021102502)
Plugin type: Blocks
Frankenstyle component name: block_course_list_advanced
Version build number: 2021102502
Version release name:
Maturity: Release Candidate
Supported Moodle versions: 3.9
Repository URL (Git): https://github.com/andreasschenkel/moodle-block_course_list_advanced/tags
Repository branch:
Repository tag: v2.0.1
Issue/bug tracker URL: https://github.com/andreasschenkel/moodle-block_course_list_advanced/issues
moodle-block_course_list_advanced
The normal block course list shows all courses and has no information about the role in the course.
The block moodle-block_course_list_advanced adds some more information about a course. I adds the information which of the following roles a user is enrolled into a course.
For performance and testing-reason this first version only shows the content if the block is added into a course AND the user is trainer.

numbers
1, 2:
counts the courses with the role trainer or student
3, 4, 5:
Also colors indicates courses that
(are in progress --> green),
(are past -> red),
(are in the future --> blue)
6, 7, 8:
Startdate and enddate of a course
9:
able to delete a course if capability moodle/course:delete
10:
Indicates trainer or student
11:
note jet supported
Configure the block

At the end of the block a list of all courses is shown where the usere is enrolled as teacher.
ToDo
- block may be "expensive" in large moodleinstances with many users. instead of using a block it might be a good idea to implement the functionality as a part of the profile-page
- configuration to be able to activate block also for student if performance is ok (e.g. small schools)
- choose better colors
- add some more languagestring to instead of hardcoded text
- optimize code for enrollmentcheck
- change form php to moodle-codestyle
- correct some spelling mistake
Changelog
[[v2.01]]
only correcting the tag for the merge and release
[[v2.00]]
- added some docúmentation
- added configuration
- only show content if block is in a course AND user is trainer
- added delete-icon (can be activated or deactivated)
[[v0.92]]
- Adding startdate and enddate.
- Also colors indicates courses that (are in progress --> green), (are past -> red), (are in the future --> blue)
[[v0.91]]
added letter after the coursename to indicate role
[[v0.9]]
beta-version with splited lists for teacher, student and nonediting teachers
[[v0.8]]
beta-version for testing
[[inital commit]]
initial commit on master-branch developed on moodle 3.9.9
2021081400 (2021081400)
2021081400
Plugin type: Blocks
Frankenstyle component name: block_course_list_advanced
Version build number: 2021081400
Version release name: 2021081400
Maturity: Beta
Supported Moodle versions: 3.9
Repository URL (Git): https://github.com/andreasschenkel/moodle-block_course_list_advanced
Repository branch: master
Repository tag: v0.91
Issue/bug tracker URL: https://github.com/andreasschenkel/moodle-block_course_list_advanced/issues
moodle-block_course_list_advanced
In this example the user is enrolled in two courses. The normal block course list shows all courses and has no information about the role in the course.
The block moodle-block_course_list_advanced adds after a course the information if a user is a teacher in this course. As a normal student no extra information is added.

At the end of the block a list of all courses is shown where the usere is enrolled as teacher.
ToDo
block may be "expensive" in large moodleinstances with many users. instead of using a block it might be a good idea to implement the functionality as a part of the profile-page
Changelog
[[v0.91]]
added letter after the coursename to indicate role
[[v0.9]]
beta-version with splited lists for teacher, student and nonediting teachers
[[v0.8]]
beta-version for testing
[[inital commit]]
initial commit on master-branch developed on moodle 3.9.9