Difference between revisions of "Starter Application Install"
From ADF Docs
(Created page with '== Download == Download the code from The Commons [http://community.paperthin.com/projects/starter_app/ Starter App Project]. Extract the zip files into the following directory:…') |
Gcronkright (talk | contribs) (→Configuration) |
||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
== Configuration == | == 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 | + | * 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 (ADF.cfc)]]. |
* 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: | ||
− | < | + | <pre> |
loadApp("starterApp"); | loadApp("starterApp"); | ||
− | </ | + | </pre> |
* [[Reset ADF|Reset the ADF]] for the server and site. | * [[Reset ADF|Reset the ADF]] for the server and site. | ||
Latest revision as of 14:05, 9 October 2014
Download
Download the code from The Commons Starter App Project.
Extract the zip files into the following directory: /ADF/apps/starter_app/
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 (ADF.cfc).
- 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("starterApp");
- Reset the ADF for the server and site.
Sample Page
- Create a new page in your site.
- Place the Custom Script element on the page.
- Edit the element and define the explicit path: /ADF/apps/starter_app/customcf/sample.cfm
- Publish the page and put in read mode.