The official CFAJAX installation steps are at http://www.indiankey.com/cfajax/installation.asp.
However, when installing CFAJAX, no CFADMIN changes are necessary if a few paths are modified to suit the chosen installation. I currently have three versions of CFAJAX on my dev machine, all of which work indepentently if the right files point to the right places. Below I use {webroot} to indicate the root web folder on your webserver.
The installation steps are as follows:
1) Download the CFAJAX version of your choice from http://www.indiankey.com/cfajax/.
2) Inside the zip file you will see a folder named after the version you downloaded (e.g. /cfajax.1.3). Open up this folder and put the various contents into the chosen destination on your server. Assuming, for example, a choice of {webroot}/cfajaxtest, with 1.3 that now gives folders {webroot}/cfajaxtest/app, {webroot}/cfajaxtest/core, {webroot}/cfajaxtest/examples and {webroot}/cfajaxtest/utility (with various files and folders below these). Note that the app, examples and utility folders should be left out of a production server install.
At this point you will note that the examples do not work. Go on, try one. No problem - this is where the path alterations come in. Let's get the first example working; {webroot}/cfajaxtest/examples/text.htm in my case.
3) Alter the following code to match your setup:
* In the file you are trying to run ({webroot}/cfajaxtest/examples/text.htm for this example), the core CFAJAX includes need altering:
<script type='text/javascript' src='/ajax/core/engine.js'></script>
<script type='text/javascript' src='/ajax/core/util.js'></script>
<script type='text/javascript' src='/ajax/core/settings.js'></script>
all become
<script type='text/javascript' src='/cfajaxtest/core/engine.js'></script>
<script type='text/javascript' src='/cfajaxtest/core/util.js'></script>
<script type='text/javascript' src='/cfajaxtest/core/settings.js'></script>
If you want to use a relative path instead, go ahead (but this means you can't just copy and paste beween pages in different directories any more).
* In {webroot}/cfajaxtest/core/settings.js
_cfscriptLocation = "http://localhost/ajax/examples/functions.cfm";
must change to the web location of your CF functions file. In this case it is {webroot}/cfajaxtest/examples/functions.cfm, so I can use
_cfscriptLocation = "/cfajaxtest/examples/functions.cfm";
You can use the fully qualified path with http://blahblah (with a port number if necessary; remember that CF developer runs on port 8500 by default) if you want, but I don't. A purely relative path will cause you problems, since a relative path that is right for one file will be wrong for another.
* In the CF file to which we just pointed, change the top line
<cfinclude template="/ajax/core/cfajax.cfm">
to point to the correct location of the core/cfajax.cfm file
<cfinclude template="../core/cfajax.cfm">
Note that I used a relative location here; absolute locations only work if you have a cf mapping to the location (which I'm assuming we don't).
That's it - the example is now working (yes, I just did a fresh install as I wrote this, as a test). To get other examples working, the example file JS script locations need to be edited too. The "app" directory examples, and some of the other examples like suggest also need some extra tweaking - just check the paths as above and all will be well (although in the case of the "suggest" example, some people have other problems, related to the fact that it uses application variables or some other hassles).