Old dev, back to contribute

bezzy wrote on Sunday, August 07, 2016:

Hi all, I have been working on openEMR for a company the last few years, made some commits to the project, I have been itching to get back into the official project again, just wanted to say hi and looking forward to helping where I can

bradymiller wrote on Monday, August 08, 2016:

Hi Craig,

Welcome back to the community!

The dated reminders feature is still going strong. You have any specific plans on things to work on. Part of the community is currently going through steps to modernize OpenEMR if you need something to work on :slight_smile:

-brady
OpenEMR

bezzy wrote on Tuesday, August 09, 2016:

Great, thanks Brady.
I am open to suggestions, the new look is great.

I am just getting up to speed with the latest version and playing catch up.
Send anything you all need my way

bradymiller wrote on Tuesday, August 09, 2016:

Hi,

Regarding modernization, 1 of the things we are working on is migrating front-end packages to public/assets via bower.

There is a joyous (being sarcastic :slight_smile: ) project that I have been slowing plodding through regarding migrating paths to jquery libraries from library/js to public/assets (note the jquery libraries are already there, just need to change the paths). For an example of what I mean see here:


(note there was a bug in there where I fixed later missing the apostophes in the $GLOBALS[‘assets_static_relative’] variable )

So, we basically need to do this for the other 9 jquery libraries :slight_smile:

-brady
OpenEMR

bezzy wrote on Sunday, August 14, 2016:

Hi Brady,

Is this what you need done, I just did 1 file to make sure I am on the right track.

bradymiller wrote on Sunday, August 14, 2016:

Hi Craig,

Recommend just focusing on jquery for now. Thus in this case would focus on jquery-1.6.4.min.js and do a grep:
grep -R “jquery-1.6.4.min.js” /var/www/openemr/

which provides following pertinent output:

/var/www/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/default/views/header.html:<script type="text/javascript" src="[-php-] echo $GLOBALS['webroot'] [-/php-]/library/js/jquery-1.6.4.min.js"></script>
/var/www/openemr/interface/patient_file/summary/create_portallogin.php:<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/js/jquery-1.6.4.min.js"></script>
/var/www/openemr/interface/patient_file/summary/demographics.php:<script type="text/javascript" src="../../../library/js/jquery-1.6.4.min.js"></script>

So, you will then change these items to use the <?php echo $GLOBALS['assets_static_relative']; ?>/jquery-min-1-6-4/index.js instead

And can then remove the library/js/jquery-1.6.4.min.js

-brady
OpenEMR

bradymiller wrote on Sunday, August 14, 2016:

In the above grep, missed the following line on the paste:

/var/www/openemr/interface/main/left_nav.php:<script src="../../library/js/jquery-1.6.4.min.js" type="text/javascript"></script>