Adding a new tab in the top menu

Adding a new tab in the top menu

Höfundur Dorel Manolescu -
Number of replies: 2
Mynd af 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!

Meðaltal dóma: -
In reply to Dorel Manolescu

Re: Adding a new tab in the top menu

Höfundur Noel De Martin -
Mynd af Core developers Mynd af Moodle HQ Mynd af Particularly helpful Moodlers Mynd af Peer reviewers Mynd af 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

Höfundur Dorel Manolescu -
Mynd af Plugin developers
Hi Noel,
I confirm it works as expected.
Thanks!
Meðaltal dóma:Useful (1)