Difference between revisions of "Smarty Module"
Bradymiller (talk | contribs) |
Bradymiller (talk | contribs) |
||
Line 1: | Line 1: | ||
==OpenEMR 4.3.2 and above== | |||
1. Migrated to use composer. Basically ended up migrating to from library/Smarty to vendor/smarty and migrated to using the autoloader. Custom plugins were left in library/smarty/plugins/ . Note kept using the same 2.6.29 version. | |||
==OpenEMR 4.3.1 and above== | ==OpenEMR 4.3.1 and above== | ||
In order to support PHP7, centralized all 3 below libraries to 1 Smarty library and migrated the centralized library to library/Smarty/ , which was upgraded to the 2.6.29 version. | In order to support PHP7, centralized all 3 below libraries to 1 Smarty library and migrated the centralized library to library/Smarty/ , which was upgraded to the 2.6.29 version. |
Revision as of 09:36, 19 July 2016
OpenEMR 4.3.2 and above
1. Migrated to use composer. Basically ended up migrating to from library/Smarty to vendor/smarty and migrated to using the autoloader. Custom plugins were left in library/smarty/plugins/ . Note kept using the same 2.6.29 version.
OpenEMR 4.3.1 and above
In order to support PHP7, centralized all 3 below libraries to 1 Smarty library and migrated the centralized library to library/Smarty/ , which was upgraded to the 2.6.29 version.
1. Removed all smarty packages from:
- library/Smarty.class.php (openemr)
- interface/main/calendar/modules/PostCalendar/pnincludes/Smarty/ (postnuke)
- gacl/admin/smarty/ (phpgacl)
2. Added most recent 2.6.x Smarty package(2.6.29) to:
- library/Smarty/
3. Added custom smarty plugins from the prior smarty package (only the openemr instance had them) to the new Smarty package
4. Made several code changes in the calendar module to support the more recent Smarty package version
5. Directed the openemr/phpgacl/postnuke code to the new smarty package at library/Smarty/
OpenEMR 4.3.0 and below
- There are 3 separate Smarty libraries within OpenEMR:
- OpenEMR "native" code
- library/ (note it was dumped right in the library directory...)
- library/Smarty.class.php
- Version 2.6.2
- Postnuke calendar module
- interface/main/calendar/modules/PostCalendar/pnincludes/Smarty/
- Version 2.3.1
- phpGACL module
- gacl/admin/smarty/
- Version 2.6.14