Load OpenEMR behind Joomla

jmdziba wrote on Wednesday, December 21, 2011:

I would like to have my OpenEMR interface only be accessible from a link available to logged in users of my Joomla installation.  I would set up one of the menu buttons to open the OpenEMR installation installed on the same localhost as Joomla.  I have been able to do this.  The problem is that I want to prevent people from being able to just type in the direct URL to the OpenEMR installation, and thus accessing the interface, bypassing Joomla. I have searched for solutions to this, and it appears the answer may lie in some implementation of session definitions.  I am not familiar with sessions and am hardly a php coder, but I can follow precise instructions.  Would appreciate any help on how to implement this solution.

yehster wrote on Thursday, December 22, 2011:

Not sure how you authenticate with joomla, but if you want to do this, take a look at auth.inc in the library directory of openemr.
That’s where the code to verify your login to openemr exists. 

You would either add an additional check in that file, or replace the existing authentication with joomla’s stuff.

What sort of content do you have on the joomla site?

vijiravi wrote on Thursday, May 10, 2012:

Hi
I could not figure out how to load openemr behind joomla please let me know what should be changed so that I can use joomla authentication for logging into openemr