Adding a new tab in the top menu

Adding a new tab in the top menu

by Dorel Manolescu -
Number of replies: 2
Picture of 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!

Average of ratings: -
In reply to Dorel Manolescu

Re: Adding a new tab in the top menu

by Noel De Martin -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of 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.

In reply to Noel De Martin

Re: Adding a new tab in the top menu

by Dorel Manolescu -
Picture of Plugin developers
Hi Noel,
I confirm it works as expected.
Thanks!
Average of ratings: Useful (1)