Custom Navigation Menu

(Ben Ipinge) #1

Good day,

We are running the latest OpenEMR version, and would like to find out whether its possible to customise the navigation menu items. Is it possible to hide or add custom menu items?


(Brady Miller) #2

hi @Benzo ,

Yes, you can customize the menus if using tab layout:


(aterad) #3

Hello @brady.miller rady
Please with exception of the listed options of standard, front office, answering service and custom in the Main Menu Role, how can other roles be listed and configured into the list for selection?


(Ben Ipinge) #4

Exactly the question I wanted to ask.

(Stephen Nielson) #5

@benzo @aterad You can add additional custom menus by creating additional .json in the folder <site_install>/sites/default/custom_menus/

The new menus will be picked up in the User Settings screen. You can see the relevant code of how those menus are loaded in here: openemr/MainMenuRole.php at adbc515e0cf1ac4bab00e20ae181962cbca50264 · openemr/openemr · GitHub through Lines 104

Another way of extending / modifying the menus is creating a new module but that can be developer intensive but if you have multiple OpenEMR installations that might be the better long term support for you.
You can see how we customize the menu system for the modules installer here. openemr/ModuleMenuSubscriber.php at adbc515e0cf1ac4bab00e20ae181962cbca50264 · openemr/openemr · GitHub