Change position of 'My Courses' in navbar

Re: Change position of 'My Courses' in navbar

by Michael Milette -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Preben,

Instead of adding a My Courses menu, why not enable your theme to support the FilterCodes plugin? Then they will be able to create their My Courses anywhere they want by just inserting the plain text tag called {mycourses}.

Not only will people be able to configure their custom menu in the order that they want, they will be able to add other useful things to the menu such as a category menu, admin menu. For developers like you, you will also be able to add dev tools to the menu. Users of your theme will even be able to display different menues depending on the users role and the context.

Enabling this in your theme also makes it possible to use other very useful filter plugins such as Multi-Language Content v2 and Generico.

You can read more about this by going to:
https://github.com/michael-milette/moodle-filter_filtercodes#filtercodes-in-a-custom-menu

Best regards,

Michael Milette