Once aLogin2 is setup you need to modify the web application to use it. Please note that we haven't tested all possible places we could add the required lines, but the locations given here work.
You will need to add the following to the top of your web applications main php file.
$xajax = new xajax();
You must enter the path to the configuration file, but from there on you can enter the text as given here. The order here is important so if you alter it you may have problems.
Next, after the <html> tag add
Notice that the line above requires XAJAX_URL not XAJAX_PATH.
Then, if you're using any of the provided interfaces, somewhere in the <head> tag include,
<link rel="stylesheet" type="text/css" href="<?php echo EXT_URL?>/resources/css/ext-all.css" />
loginObject = new aLoginAppObject(loginConfig);
The properties of the loginConfig object are listed below.