General developer forum

Adding new link under my courses

Picture of Alexander Bias
Re: Adding new link under my courses
Group Core developersGroup Particularly helpful MoodlersGroup Plugin developers


you might want to have a look at where we add a node at exactly this location.

Regarding "This link should be available to students", this may be more difficult than you think because the "MyCourses" list is built in system context, but the fact that a user is a student is located in the course contexts. If you can identify any criteria in system context to identify students, you can check this before adding the node to the "MyCourses" list.


Average of ratings: -