Code - Adding a Feature

From OpenEMR Project Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Adding a Menu Item to Navigation Menu

Modify: interface/main/left_nav.php



Adding Options to Globals

Modify: library/globals.inc.php




Creating a Webpage

Location

Most Code for New Pages Goes Into One of The Following Directories:

  • interface/
  • interface/main


Includes

Required:

require_once("../globals.php");


Optional:

require_once("require_once("$srcdir/acl.inc"");




Sample Commits That Add New Features