Overriding/Extending/Custom Navigation Lib Methods

Overriding/Extending/Custom Navigation Lib Methods

by Pratik Hybris -
Number of replies: 0

Hello Everyone,

I have started customizing navigation node on the course page. I would like to have "Home" and "Dashboard" link on the top of navigation on course page. To do that I had to do code manipulation in navigationlib.php file. But since it is a core library, I need to override this file and add my custom code. In moodle, we can extend the renderers in themes. Do we have same functionality of extending/overriding navigationlib.php? If yes, How to do that. Appreciate your help. Thanks.

Custom Navigation on Course Page

Average of ratings: -