Difference between revisions of "ADF Installation"

From ADF Docs
Jump to: navigation, search
(Undo revision 4297 by Ecaxabu (Talk))
Line 1: Line 1:
>== Get the code and configure CF/Web ==
+
== Get the code and configure CF/Web ==
 
The following steps outline how to download the ADF and configure CommonSpot and your sites to use the ADF
 
The following steps outline how to download the ADF and configure CommonSpot and your sites to use the ADF
 
# Download the ADF (two options)
 
# Download the ADF (two options)
 
#* Latest zip archive (http://community.paperthin.com/projects/ADF/)
 
#* Latest zip archive (http://community.paperthin.com/projects/ADF/)
 
#* SVN (http://community.paperthin.com/svn/adf/)
 
#* SVN (http://community.paperthin.com/svn/adf/)
# Create a directory on your server named "ADF" at the same level as CommonSpot.  The name of the folder is "ADF" and must be all capital letters.  The ADF should not be created within a CommonSpot site directory.   
+
# Create a directory on your server named "ADF" at the same level as CommonSpot.  The name of the folder is "ADF" and must be all capital letters.  The ADF should not be created within a CommonSpot site directory.   
 
# Copy the contents of this zip file into the ADF directory.
 
# Copy the contents of this zip file into the ADF directory.
 
# Create a ColdFusion Mapping ( /ADF ) to the ADF directory
 
# Create a ColdFusion Mapping ( /ADF ) to the ADF directory
Line 11: Line 11:
  
 
'''Note: At this point the ADF has been set up for the server.'''
 
'''Note: At this point the ADF has been set up for the server.'''
 
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://enoricoza.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
 
----
 
=[http://enoricoza.co.cc CLICK HERE]=
 
----
 
</div>
 
  
 
==Set up the ADF to work with a site==
 
==Set up the ADF to work with a site==

Revision as of 22:37, 17 November 2010

Get the code and configure CF/Web

The following steps outline how to download the ADF and configure CommonSpot and your sites to use the ADF

  1. Download the ADF (two options)
  2. Create a directory on your server named "ADF" at the same level as CommonSpot. The name of the folder is "ADF" and must be all capital letters. The ADF should not be created within a CommonSpot site directory.
  3. Copy the contents of this zip file into the ADF directory.
  4. Create a ColdFusion Mapping ( /ADF ) to the ADF directory
  5. Create a Website Mapping ( /ADF ) to the ADF directory


Note: At this point the ADF has been set up for the server.

Set up the ADF to work with a site

Starter Files are located in the /ADF/core/site-sample directory. This contains a starter 'custom-application.cfm', 'ADF.cfc', and 'ajaxProxy.cfm'. These files contain the basic initialization code for the ADF configuration into a site.


  1. Copy the ADF.cfc and ajaxProxy.cfm into the sites /_cs_apps/ directory.
  2. Identify if your site is currently using a custom-application.cfm file.
    • If your site is running a custom-application.cfm file, then add a cfinclude tag with the template path /ADF/core/load_site_adf.cfm into the top of your sites custom-application.cfm.
    • If not, then copy the custom-application.cfm to your sites root (ColdFusion restart is required).
  3. Reset the ADF for the Server and Site.
  4. You are good!


Note: you will need to repeat the steps in "Set up the ADF" for each site utilizing the ADF

Related Guides