<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://community.paperthin.com/adf-docs/index.php?action=history&amp;feed=atom&amp;title=PT_Page_Rating_Install_v2</id>
		<title>PT Page Rating Install v2 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://community.paperthin.com/adf-docs/index.php?action=history&amp;feed=atom&amp;title=PT_Page_Rating_Install_v2"/>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Page_Rating_Install_v2&amp;action=history"/>
		<updated>2026-05-15T15:15:30Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Page_Rating_Install_v2&amp;diff=7231&amp;oldid=prev</id>
		<title>Gcronkright: /* Site Configuration */</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Page_Rating_Install_v2&amp;diff=7231&amp;oldid=prev"/>
				<updated>2016-05-09T17:42:41Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Site Configuration&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:42, 9 May 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot; &gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Make sure the ADF is setup and running on the site. If the ADF is not setup, then follow the instructions for ADF [[Installation]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Make sure the ADF is setup and running on the site. If the ADF is not setup, then follow the instructions for ADF [[Installation]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Open the sites 'ADF.cfc' ([[Site Configuration (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:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Open the sites 'ADF.cfc' ([[Site Configuration (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:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;loadApp(&amp;quot;ptPageRating&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;loadApp(&amp;quot;ptPageRating&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/source&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Reset ADF|Reset the ADF]] for the server and site.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Reset ADF|Reset the ADF]] for the server and site.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Page_Rating_Install_v2&amp;diff=6213&amp;oldid=prev</id>
		<title>Mcarroll: moved PT Page Rating Version 2.0 Install to PT Page Rating Install v2</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Page_Rating_Install_v2&amp;diff=6213&amp;oldid=prev"/>
				<updated>2013-02-12T19:38:47Z</updated>
		
		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/adf-docs/index.php/PT_Page_Rating_Version_2.0_Install&quot; class=&quot;mw-redirect&quot; title=&quot;PT Page Rating Version 2.0 Install&quot;&gt;PT Page Rating Version 2.0 Install&lt;/a&gt; to &lt;a href=&quot;/adf-docs/index.php/PT_Page_Rating_Install_v2&quot; title=&quot;PT Page Rating Install v2&quot;&gt;PT Page Rating Install v2&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 19:38, 12 February 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mcarroll</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Page_Rating_Install_v2&amp;diff=5872&amp;oldid=prev</id>
		<title>Mcarroll: 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…'</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Page_Rating_Install_v2&amp;diff=5872&amp;oldid=prev"/>
				<updated>2012-09-13T13:50:43Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;== 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 &lt;a href=&quot;/adf-docs/index.php/Installation&quot; class=&quot;mw-redirect&quot; title=&quot;Installation&quot;&gt;Installation&lt;/a&gt;. * Open the sites &amp;#039;A…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Site Configuration ==&lt;br /&gt;
* Make sure the ADF is setup and running on the site. If the ADF is not setup, then follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the sites 'ADF.cfc' ([[Site Configuration (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:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
loadApp(&amp;quot;ptPageRating&amp;quot;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== Element Import ==&lt;br /&gt;
* Import the following elements from the /ADF/apps/pt_page_rating/exported-objects/ folder:&lt;br /&gt;
** PT-Page-Rating-Custom-Element.zip&lt;br /&gt;
&lt;br /&gt;
== CCAPI Configuration ==&lt;br /&gt;
ccapi.cfm configuration&lt;br /&gt;
# Navigate to your ccapi.cfm page (or create one)&lt;br /&gt;
# Add the PT Page Rating Element to the page&lt;br /&gt;
# Click on the More under the PT Page Rating Element and select name&lt;br /&gt;
# enter the name: ptPageRating&lt;br /&gt;
# Submit the page&lt;br /&gt;
&lt;br /&gt;
XML Configuration&lt;br /&gt;
# Open the _cs_apps/config/ccapi.xml (or cfm) document&lt;br /&gt;
# add the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;ptPageRating&amp;gt;&lt;br /&gt;
  &amp;lt;pageID&amp;gt;[ccapi.cfm page ID]&amp;lt;/pageID&amp;gt;&lt;br /&gt;
  &amp;lt;subsiteID&amp;gt;[subsite ID ccapi.cfm lies in]&amp;lt;/subsiteID&amp;gt;&lt;br /&gt;
  &amp;lt;elementType&amp;gt;custom&amp;lt;/elementType&amp;gt;&lt;br /&gt;
  &amp;lt;controlName&amp;gt;ptPageRating&amp;lt;/controlName&amp;gt;&lt;br /&gt;
&amp;lt;/ptPageRating&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Subsites ==&lt;br /&gt;
It is '''highly recommended''' to create a Page Rating subsite for administrators.  This allows security to be setup for the subsite to allow only administrators access for the webadmin.&lt;br /&gt;
&lt;br /&gt;
Your site may already have a ''webadmin'' subsite.  The steps below will add a ''pagerating'' subsite into the ''webadmin'' subsite.&lt;br /&gt;
&lt;br /&gt;
=== Web Admin ===&lt;br /&gt;
# Create a new subsite under the site root called ''webadmin''.&lt;br /&gt;
# Create a new subsite under ''webadmin'' called ''pagerating''.&lt;br /&gt;
# Configure the ''/webadmin/pagerating/'' subsite Content Security to give 'No Rights' to 'Anonymous Users' and 'Authenticated Users'.  &lt;br /&gt;
# Configure the ''/webadmin/pagerating/'' subsite Content Security to give permissions to the group of administrators who will manage the Comments.&lt;br /&gt;
&lt;br /&gt;
== Page Rating Manager ==&lt;br /&gt;
This page will be used to manage the Comments custom element data records for the site.&lt;br /&gt;
&lt;br /&gt;
# Create page with the name &amp;quot;index&amp;quot; and title is &amp;quot;Page Rating Manager&amp;quot; in the ''/webadmin/pagerating/'' subsite.&lt;br /&gt;
# Add a Datasheet element into the page.&lt;br /&gt;
## Define a View for the Datasheet Element called &amp;quot;All Page Ratings&amp;quot;&lt;br /&gt;
## Leave the View Source as the Default: Form Result/Custom Element Sheet&lt;br /&gt;
## Select the &amp;quot;PT Page Rating&amp;quot; Custom Element and select the following columns: &lt;br /&gt;
### ID, UserID, RatingPageID, Rating, and Date Added&lt;br /&gt;
## Edit the column for the &amp;quot;ID&amp;quot; field and make the following changes:&lt;br /&gt;
### Header: Edit/Delete&lt;br /&gt;
### Render Handler: /ADF/extensions/datasheet-modules/1.0/edit-delete.cfm&lt;br /&gt;
## Edit the column for the &amp;quot;UserID&amp;quot; field and make the following changes:&lt;br /&gt;
### Header: User&lt;br /&gt;
### Render Handler: /ADF/extensions/datasheet-modules/1.0/userID-to-name.cfm&lt;br /&gt;
## Edit the column for the &amp;quot;RatingPageID&amp;quot; field and make the following changes:&lt;br /&gt;
### Header: Rating Page&lt;br /&gt;
### Render Handler: /ADF/extensions/datasheet-modules/1.0/pageID-to-link.cfm&lt;br /&gt;
### Prevent Text from Wrapping: Unchecked&lt;br /&gt;
## Edit the Layout properties for the datasheet:&lt;br /&gt;
### Default Sorting: Date Added DESCENDING&lt;br /&gt;
### Results Per Page: 50&lt;br /&gt;
### Allow JavaScript data sorting: Uncheck&lt;br /&gt;
# Publish the page.&lt;br /&gt;
&lt;br /&gt;
== Adding rating to Your Pages ==&lt;br /&gt;
There are 3 options for adding the ratings to your pages:&lt;br /&gt;
# Base Plus One Template controlled through custom metadata - This will allow the all the site pages to have a metadata option to show or hide the page rating element .&lt;br /&gt;
# Template - Add the page rating custom script into a template and then all the pages derived from this template will have page rating.&lt;br /&gt;
# Page - On a page by page basis a custom script can be added directly into the page to display the page rating module.&lt;br /&gt;
&lt;br /&gt;
The following steps will outline the 3 install options.&lt;br /&gt;
&lt;br /&gt;
=== Base Template ===&lt;br /&gt;
# Create a new custom metadata form, or add to an existing custom metadata form (preferably if you have a custom metadata form for layout options this would be a good place). &lt;br /&gt;
# Add a new &amp;quot;checkbox&amp;quot; field with the following values:&lt;br /&gt;
## Field Name: displayPageRating&lt;br /&gt;
## Type: Checkbox&lt;br /&gt;
## Label: Display Page Rating&lt;br /&gt;
## Description: Check this field to display the Page Rating module into the page for all users.&lt;br /&gt;
## Properties: You have the option here to default this value to checked by default.&lt;br /&gt;
# On the Base Plus One Template&lt;br /&gt;
## Add a custom script module into the container or area of the page for the page rating. &lt;br /&gt;
## Define the explicit path for the following:&lt;br /&gt;
### /ADF/apps/pt_page_rating/customcf/pageRatingMetadataValidate.cfm&lt;br /&gt;
### Important Note: Based on your custom metadata form this custom script MAY need to be customized for your implementation.&lt;br /&gt;
&lt;br /&gt;
=== Template/Page ===&lt;br /&gt;
# Navigate to your template or page.&lt;br /&gt;
# Add a custom script to the page (under Miscellaneous)&lt;br /&gt;
# Specify the location of the custom script to be:&lt;br /&gt;
## /ADF/apps/pt_page_rating/customcf/pageRating.cfm&lt;br /&gt;
# Submit the page. &lt;br /&gt;
&lt;br /&gt;
[[Category:Page Rating]]&lt;/div&gt;</summary>
		<author><name>Mcarroll</name></author>	</entry>

	</feed>