Difference between revisions of "PT Photo Gallery ADF Configuration"

From ADF Docs
Jump to: navigation, search
(Overview)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
== Overview ==
 
== 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.
+
The Photo Gallery Application is built within the ADF.  The ADF must be installed in the site to run the Photo Gallery, follow the ADF [[Installation]] instructions.
  
 
== 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 [[Installation]].
* 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' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:
<code lang="java">
+
<source lang="java">
 
loadApp("ptPhotoGallery");
 
loadApp("ptPhotoGallery");
</code>
+
</source>
* [[Reset ADF|Reset the ADF]] for the server and site. Add the following URL parameter to any page within the site:
+
* [[Reset ADF|Reset the ADF]] for the server and site.
  <pre>?ResetServerADF=1&ResetSiteADF=1</pre>
 
(If the site is completely new, you may have to create an index.cfm page first.)
 
  
 
[[Category:Photo Gallery]]
 
[[Category:Photo Gallery]]

Latest revision as of 04:52, 15 April 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 ADF Installation 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 Installation.
  • Open the sites 'ADF.cfc' (See Site Configuration (ADF.cfc) for more info) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the Load the ADF Application into application space comment in the file. Add (or uncomment) the following command under the comment section:
loadApp("ptPhotoGallery");