Difference between revisions of "PT Photo Gallery ADF Configuration"

From ADF Docs
Jump to: navigation, search
(Overview)
Line 3: Line 3:
  
 
== Steps ==
 
== Steps ==
* Make sure the ADF is setup and running on the site. If the ADF is not setup, then follow the instructions for ADF Site Configuration.
+
* Make sure the ADF is setup and running on the site. If the ADF is not setup, then follow the instructions for ADF [[Site Configuration]].
 
* Open the sites 'ADF.cfc' file in a text editor. Locate the ''Load the ADF Application into application space'' commentin the file. Add (or uncomment) the following command under the comment section:
 
* Open the sites 'ADF.cfc' file in a text editor. Locate the ''Load the ADF Application into application space'' commentin the file. Add (or uncomment) the following command under the comment section:
 
<code lang="java">
 
<code lang="java">

Revision as of 19:00, 24 March 2010

Overview

The Photo Gallery Application is built within the ADF. The ADF must be installed in the site to run the Photo Gallery, follow the Site Configuration instructions.

Steps

  • Make sure the ADF is setup and running on the site. If the ADF is not setup, then follow the instructions for ADF Site Configuration.
  • Open the sites 'ADF.cfc' file in a text editor. Locate the Load the ADF Application into application space commentin the file. Add (or uncomment) the following command under the comment section:

loadApp("ptPhotoGallery");

  • Reset the ADF for the server and site. Add the following URL parameter to any page within the site:
?ResetServerADF=1&ResetSiteADF=1

(If the site is completely new, you may have to create an index.cfm page first.)