New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove completed courses in {mycoursesmenu} #114
Comments
Hi Stephen, That is a good point and a great idea. Probably makes a lot of sense to remove the completed courses, especially if your students tend to take a lot of courses like in a school (I work mostly with businesses, non-profits and go government). Definitely going to look into this for a future release. Best regards, Michael |
Michael,
Thanks for looking into this! Actually, I can see having an option for both could be valuable. Being able to create a menu for all enrolled courses (whether completed or not) and a current courses which showed enrolled but not completed. Any updates would be most welcome but I do understand you have many projects.
Thanks and best regards!
Stephen
… On Sep 24, 2020, at 4:40 AM, Michael Milette ***@***.***> wrote:
Hi Stephen,
That is a good point and a great idea. Probably makes a lot of sense to remove the completed courses, especially if your students tend to take a lot of courses like in a school (I work mostly with businesses, non-profits and go government). Definitely going to look into this for a future release.
Best regards,
Michael
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#114 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APWDIRA5S6MBSBHAUIZXPOLSHKPSJANCNFSM4QGNXZWA>.
|
Hi Michael, Just curious if there was any further development of this topic. Thanks and I appreciate the work you do. Best regards, |
Hi Stephen, There has not been any further development, however, I really appreciate the reminder as I was looking through the tickers just a few days ago deciding on what to work on next so this is good timing. I will not be able to work on this for a few weeks now but if you want to contribute, even if it is to point me to some other code that does something similar elsewhere, I would be happy to work on this with you. Best regards, Michael |
Hi Michael,
I have tried to look into the code on both Moodle and FilterCodes to see if I find how the enrolled courses get created. They both use the same function of “enrol_get_my_courses()” but I am not sure why in the navigation bar side of things it doesn’t show my completed courses but in the FilterCodes mycoursesmenu, it does. I wish I knew more of the code an dhow this worked because at first glance I couldn’t see any stark differences that would return different results.
I wish I could have been more helpful.
Thanks,
Stephen
… On Feb 26, 2021, at 12:51 PM, Michael Milette ***@***.***> wrote:
Hi Stephen,
There has not been any further development, however, I really appreciate the reminder as I was looking through the tickers just a few days ago deciding on what to work on next so this is good timing. I will not be able to work on this for a few weeks now but if you want to contribute, even if it is to point me to some other code that does something similar elsewhere, I would be happy to work on this with you.
Best regards,
Michael
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#114 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APWDIRELMGXQIODYVL3RWA3TA54KRANCNFSM4QGNXZWA>.
|
Hi @argwallace I am starting to work on this. In the process, please note that I removed the Request a Course link from the from the course list. The functionality is still there but you will need to add a {courserequestmenu} tag. I know it has nothing to do with your request but I thought I would mention it in case you do use it. There is also a new {courserequestmenu0} tag in case you need a top level custom menu link. I will give you more news when I have some for you. Best regards, Michael |
Michael,
That’s great! Let me know if you want to me test anything. I’d be happy to do that.
Bets regards,
Stephen
… On Mar 16, 2021, at 9:20 AM, Michael Milette ***@***.***> wrote:
Hi @argwallace <https://github.com/argwallace>
I am starting to work on this.
In the process, please note that I removed the Request a Course link from the from the course list. The functionality is still there but you will need to add a {courserequestmenu} tag. I know it has nothing to do with your request but I thought I would mention it in case you do use it. There is also a new {courserequestmenu0} tag in case you need a top level custom menu link.
I will give you more news when I have some for you.
Best regards,
Michael
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#114 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APWDIRHUMD4YGTKB6FHNO7TTD4BEZANCNFSM4QGNXZWA>.
|
Hi @argwallace , I just added a new FilterCodes setting to allow you to hide completed courses in the {mycoursesmenu} tag. This feature is currently only available in the version here on GitHub. If you would be so kind as to give it a try and let me know if this works for you, I would really appreciate it. If this meets your requirements, I will then include it in the upcoming release of FilterCodes on Moodle.org. It should be coming out in the next few weeks, around the same time as Moodle 3.11. Best regards, Michael Milette |
Michael,
Thank you!! I will test this and get back to you!
Best regards,
Stephen
… On Apr 30, 2021, at 9:08 AM, Michael Milette ***@***.***> wrote:
Hi @argwallace <https://github.com/argwallace> ,
I just added a new FilterCodes setting to allow you to hide completed courses in the {mycoursesmenu} tag.
<https://user-images.githubusercontent.com/3808579/116655019-539dd180-a958-11eb-89ac-0f0b236ad37d.png>
This feature is currently only available in the version here on GitHub. If you would be so kind as to give it a try and let me know if this works for you, I would really appreciate it. If this meets your requirements, I will then include it in the upcoming release of FilterCodes on Moodle.org. It should be coming out in the next few weeks, around the same time as Moodle 3.11.
Best regards,
Michael Milette
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#114 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APWDIRCEJW5GAMUDWCYVTTDTLJCMZANCNFSM4QGNXZWA>.
|
Michael,
I have installed this update and it is working as intended. I turn it on and the completed courses are not shown. I re-enable the option and the courses re-appear.
THANK YOU!
Let me know if you would like me to test anything else…
Stephen
… On Apr 30, 2021, at 9:08 AM, Michael Milette ***@***.***> wrote:
Hi @argwallace <https://github.com/argwallace> ,
I just added a new FilterCodes setting to allow you to hide completed courses in the {mycoursesmenu} tag.
<https://user-images.githubusercontent.com/3808579/116655019-539dd180-a958-11eb-89ac-0f0b236ad37d.png>
This feature is currently only available in the version here on GitHub. If you would be so kind as to give it a try and let me know if this works for you, I would really appreciate it. If this meets your requirements, I will then include it in the upcoming release of FilterCodes on Moodle.org. It should be coming out in the next few weeks, around the same time as Moodle 3.11.
Best regards,
Michael Milette
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#114 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/APWDIRCEJW5GAMUDWCYVTTDTLJCMZANCNFSM4QGNXZWA>.
|
I just found this threat, but is there a delay on this? I have some courses with an end-date of 2019, yet they still show up in the 'mycoursesmenu'. I have checked the option to hide completed courses. |
Hi @Richardvi , What version of FilterCodes are you using? Also, did you check the box in the FilterCodes settings? |
Hi @Richardvi - Looks like the code to address that is not included in in recent versions. Let me get back to you on that. |
Hi @Richardvi After reviewing this ticket and the code, this ticket relates to the removal of completed courses, not expired courses from the list. So, if you are enrolled in a course that you did not complete before the end date of the course, the course will still show up in the menu. Best regards, Michael |
Ah yes thanks! That makes sense. Sorry for misunderstanding this option :) |
Hello!
I am using the most current version (2.0.0) of FilterCodes on Moodle 3.8.4. I have a custom navigation menu that is working just fine in my theme with the {mycoursemenu} tag. However, I have noticed that when a course is completed, it will be removed from the side navigation area under My Courses but it still remains in the filtercodes {mycoursesmenu}. Any way to resolve this as it gives conflicting results. Thanks!
Stephen
The text was updated successfully, but these errors were encountered: