LMI Developer Documentation: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
= Set up = | |||
To take advantage of further development of the system there are a few prerequisites for developers to have installed in order to work on the system. These can be found in the OpenMRS [[http://openmrs.org/wiki/Step-by-Step_Installation_for_Developers Step-by-Step Installation for Developers]] Document. | To take advantage of further development of the system there are a few prerequisites for developers to have installed in order to work on the system. These can be found in the OpenMRS [[http://openmrs.org/wiki/Step-by-Step_Installation_for_Developers Step-by-Step Installation for Developers]] Document. | ||
Line 17: | Line 19: | ||
mv /usr/share/php/smarty/libs/plugins/block.t.php /usr/share/php/smarty/plugins/block.t.php | mv /usr/share/php/smarty/libs/plugins/block.t.php /usr/share/php/smarty/plugins/block.t.php | ||
== Extending the Form == | |||
== Adding Concepts == | |||
== Adding new Form Pages == |
Revision as of 20:47, 10 December 2008
Set up
To take advantage of further development of the system there are a few prerequisites for developers to have installed in order to work on the system. These can be found in the OpenMRS [Step-by-Step Installation for Developers] Document.
In addition to OpenMRS, we have developed a php library to add rapid development procedures for changing and updating the system if new indicators are needed in country. To make use of this library there are a few prerequisites to a standard linux distribution:
The smarty-gettext library is necessary to allow for multiple languages to be used in the system forms. To that end we made use of the smarty-gettext library which pulls in both the [Smarty PHP Library] and [gettext for PHP].
These may be very simple installation on some linux distributions. For example, on Ubuntu linux one may simply type
$ sudo apt-get install smarty-gettext
and all of the necessary items should be installed on a trouble-free machine.
NOTE:
For Ubuntu 8.04 (Hardy) you may need to issue the following command to fix a small problem with this library.
mv /usr/share/php/smarty/libs/plugins/block.t.php /usr/share/php/smarty/plugins/block.t.php