Adding a new tab in the top menu

Adding a new tab in the top menu

by Dorel Manolescu -
Number of replies: 2
Maletg da 	Plugin developers

Hi Guys,

Is there a way to add a new tab/option in the top menu pointing to my local plugin without modifying the mobile app code. (just using https://docs.moodle.org/dev/Moodle_App_Plugins_Development_Guide)

See attached screenshot. I want to add a new tab let's say before "More", pointing to my local plugin. I am using latest moodle WP version (Workplace 3.9.5)

top meu

Thanks!

La media da valetaziuns: -
In reply to Dorel Manolescu

Re: Adding a new tab in the top menu

by Noel De Martin -
Maletg da 	Core developers Maletg da 	Moodle HQ Maletg da 	Particularly helpful Moodlers Maletg da 	Peer reviewers Maletg da 	Plugin developers

Hi there,

Thanks for raising this question! Actually, you can do it but it wasn't documented in the wiki. I just updated the documentation to include it, you can do it using the CoreMainMenuHomeDelegate.

La media da valetaziuns: -
In reply to Noel De Martin

Re: Adding a new tab in the top menu

by Dorel Manolescu -
Maletg da 	Plugin developers
Hi Noel,
I confirm it works as expected.
Thanks!
La media da valetaziuns: Useful (1)