Adding a new tab in the top menu

Adding a new tab in the top menu

Dorel Manolescu -
回帖数:2
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!

回复Dorel Manolescu

Re: Adding a new tab in the top menu

Noel De Martin -
Core developers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 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.