Hello,
I have been looking into customizing the navigation block when I'm looking at the course home and within any activity of that course.
I just want to keep the "topic titles" and the activities titles and links under them (while inside a course home or within course activities of that course). In other words, I want to clean up the navigation block with items relevant to the course and nothing else.
I was looking at the course format lib.php and there is a method called: extend_course_navigation() which allows me to affect the navigation block. I was able to remove a few but can't find yet a successful way to just keep the navigation items I want. I need to remove the rest and have a simplified navigation while inside any course pages/activities (see the attached image)
Any code snippets or code references would be helpful.
Thank you,