Difference between revisions of "PT Page Rating Version 1.0 Install"
From ADF Docs
(→Adding rating to Your Pages) |
(→Steps) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | == Download == | ||
+ | # Download the PT Page Rating application from the the|commons projects SVN (http://community.paperthin.com/svn/pt_page_rating/). | ||
+ | # Extract the zip file and place the directory in the "/ADF/Apps/pt_page_rating/" directory. | ||
+ | |||
== Site Configuration == | == 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]]. | * Make sure the ADF is setup and running on the site. If the ADF is not setup, then follow the instructions for ADF [[Installation]]. | ||
Line 31: | Line 35: | ||
</pre> | </pre> | ||
− | + | == Adding rating to your page == | |
− | + | # Navigate to your page | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == Adding rating | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | # Navigate to your | ||
# Add a custom script to the page (under Miscellaneous) | # Add a custom script to the page (under Miscellaneous) | ||
# Specify the location of the custom script to be: | # Specify the location of the custom script to be: | ||
− | # | + | #* /ADF/apps/pt_page_rating/customcf/pageRating.cfm |
− | # Submit the page. | + | # Submit the page. You now have the app installed and running. |
[[Category:Page Rating]] | [[Category:Page Rating]] |
Latest revision as of 13:53, 13 September 2012
Contents
Download
- Download the PT Page Rating application from the the|commons projects SVN (http://community.paperthin.com/svn/pt_page_rating/).
- Extract the zip file and place the directory in the "/ADF/Apps/pt_page_rating/" directory.
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("ptPageRating");
- Reset the ADF for the server and site.
Element Import
- Import the following elements from the /ADF/apps/pt_page_rating/exported-objects/ folder:
- PT-Page-Rating-Custom-Element.zip
CCAPI Configuration
ccapi.cfm configuration
- Navigate to your ccapi.cfm page (or create one)
- Add the PT Page Rating Element to the page
- Click on the More under the PT Page Rating Element and select name
- enter the name: ptPageRating
- Submit the page
XML Configuration
- Open the _cs_apps/config/ccapi.xml (or cfm) document
- add the following:
<ptPageRating> <pageID>[ccapi.cfm page ID]</pageID> <subsiteID>[subsite ID ccapi.cfm lies in]</subsiteID> <elementType>custom</elementType> <controlName>ptPageRating</controlName> </ptPageRating>
Adding rating to your page
- Navigate to your page
- Add a custom script to the page (under Miscellaneous)
- Specify the location of the custom script to be:
- /ADF/apps/pt_page_rating/customcf/pageRating.cfm
- Submit the page. You now have the app installed and running.