Openemr-6.0.0-customization

Hi,

I have enabled new button in tabs and try to make use of the button for some functionality.
Below is the code for enabling new button in standard.json file.

{
“label”: “Appointments”,
“menu_id”: “abo0”,
“target”: “msc”,
“url”: “/interface/main/appointments.php”,
“children”: [],
“requirement”: 0
}

The same button appearing for both administrator and users. I just want to restrict/allow to only users not by the administrator. please what are the changes required in above,

Regards,

Dhayananda

Look for various uses of ‘requirement’.

Sorry.

I didn’t get you.

The “requirement” setting is used to decide if menu item is displayed / enabled. Look at the main menu for examples…

Best luck.