Difference between revisions of "PT Forums ADF Configuration"

From ADF Docs
Jump to: navigation, search
(Created page with '== Overview == The Forums Application is built within the ADF. The ADF must be configured for the site to install the Forums App within the site. Further details …')
 
(Steps)
Line 11: Line 11:
 
* Copy the 'ADF.cfc' file into the '_cs_apps' directory of your site.
 
* Copy the 'ADF.cfc' file into the '_cs_apps' directory of your site.
 
* Open the 'ADF.cfc' file for your site 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:
 
* Open the 'ADF.cfc' file for your site 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("ptForums");
+
   loadApp("ptForum");
 
* Reset the ADF for the site by adding the following URL parameter to any page within the site.  (If the site is completely new, you may have to create an index.cfm page first.)
 
* Reset the ADF for the site by adding the following URL parameter to any page within the site.  (If the site is completely new, you may have to create an index.cfm page first.)
 
   ?ResetSiteADF=1
 
   ?ResetSiteADF=1
  
 
[[Category:Forums]]
 
[[Category:Forums]]

Revision as of 06:24, 13 April 2010

Overview

The Forums Application is built within the ADF. The ADF must be configured for the site to install the Forums App within the site.

Further details can be found at the Site Configuration wiki page.

Steps

  • Locate the following files in the 'ADF/core/site-samples' directory:
    • custom-application.cfm
    • ADF.cfc
  • Copy the 'custom-application.cfm' file into the root of your site. If your site already has a custom-application.cfm file, open this new file and copy the contents into your existing file.
  • Copy the 'ADF.cfc' file into the '_cs_apps' directory of your site.
  • Open the 'ADF.cfc' file for your site 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("ptForum");
  • Reset the ADF for the site by adding the following URL parameter to any page within the site. (If the site is completely new, you may have to create an index.cfm page first.)
 ?ResetSiteADF=1