Difference between revisions of "PT Mobile Configuration"

From ADF Docs
Jump to: navigation, search
(Created page with '== 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 'A…')
 
 
(2 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
== Testing it out ==
 
== Testing it out ==
 
Navigate to your website via a mobile device or add ?mobile=1 to the end of your URL, this forces detection of a mobile device.
 
Navigate to your website via a mobile device or add ?mobile=1 to the end of your URL, this forces detection of a mobile device.
 
 
You should see a mostly blank page that says Hello World on it.
 
You should see a mostly blank page that says Hello World on it.
  
[[Category:Link Builder]]
+
[[Category:Project]]
 +
[[Category:Mobile]]

Latest revision as of 17:16, 1 February 2011

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' ( See Site Configuration (ADF.cfc) for more info) file in a text editor. Locate the Load the ADF Application into application space comment in the file. Add the following command under the comment section:
loadApp("ptMobile");

Site Setup

  1. Copy the _cs_apps directory from the /ADF/apps/pt_mobile/site-files/ directory into your local _cs_apps directory
  2. Copy the Application.cfc from the /ADF/apps/pt_mobile/site-files/ directory into the base of your site directory

Testing it out

Navigate to your website via a mobile device or add ?mobile=1 to the end of your URL, this forces detection of a mobile device. You should see a mostly blank page that says Hello World on it.