Difference between revisions of "Code - Adding a Feature"
From OpenEMR Project Wiki
(3 intermediate revisions by the same user not shown) | |||
Line 22: | Line 22: | ||
*interface/ | *interface/ | ||
*interface/main | *interface/main | ||
<br> | |||
====Includes==== | |||
'''Required:''' | |||
<pre> | |||
require_once("../globals.php"); | |||
</pre> | |||
<br> | |||
'''Optional:''' | |||
<pre> | |||
require_once("require_once("$srcdir/acl.inc""); | |||
</pre> | |||
<br><br> | |||
==Sample Commits That Add New Features== | ==Sample Commits That Add New Features== |
Latest revision as of 15:40, 5 May 2014
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