Help customizing left navigation pane

karuna70 wrote on Friday, August 12, 2016:

Hello, I’m assisting with an OpenEMR implementation in a psychotherapy clinic and am trying to hide/remove some UI elements that are more appropriate to a medical practice so as to yield a less-cluttered product for the users. For example, I want to hide/remove the Procedures menu elements from the left nav pane. I’ve tried to comment out or remove the relevant lines in left_nav.php but commenting them out didn’t work and removing them broke the pane. I would be most grateful for any guidance.
Thank you!

gowepp wrote on Friday, August 12, 2016:

Hello Josh,

You need to comment out correctly the whole <li> tags as follows,

For Procedures menu, in interface/main/left_nav.php on line no. 1400 replace with
<**!–**li><?php xl('Procedures','e') ?>

and on line no. 1412 replace with which is the end of the procedures

Using the above code we can successfully hide the Procedures menu. If you still have issues, please share the screenshot.

Let us know if this help.

Regards,
Wepp Team

karuna70 wrote on Friday, August 12, 2016:

Hi Wepp Team,

Thank you so much for your help! It took a few tries but it is working just as desired.

Warmly,
Josh

P.S. I hope that this is the correct part of the forum for posting queries such as this. For better or worse, I will have more coming in the days and weeks ahead. If I should be posting them elsewhere, please let me know. Thanks!