Difference between revisions of "PT Comments Install v2.1"

From ADF Docs
Jump to: navigation, search
(Overview)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Overview ==
+
Back to [[PT_Comments|PT Comments]]
This guide is to upgrade the [http://community.paperthin.com/projects/pt_comments/ PT Comments] v1.0 to v2.0.
 
  
For v2.0, the primary change that occurred was a bug fix requiring updates to potentially the .HEAD file and to a filter on pages where the Comment element exists.
+
Installing the PT Comments v2.1 can be completed by following the [[PT_Comments_Install_v1|PT Comments v1.0 Install Guide]].
 
 
# If you added the following code to your site's .HEAD file:
 
 
 
      <cfset request.params.comments.contentDataPageID = request.page.id>
 
 
 
you will need to modify the .HEAD and change the code to the following:
 
 
 
      <cfset request.comments.contentDataPageID = request.page.id>
 
 
 
Next, you will need to change the render mode filter on any page or template where the comments element is used:
 
 
 
 
 
# Update the render mode on this element
 
## Select "Display existing element data (content reuse)"
 
## Select "Render results dynamically based on a filter, or display all records."
 
## click on filter
 
## select "Subset of records"
 
## in the dropdown select Comments.contentDataPageID
 
## Set the comparison to equals
 
## click the ... next to the value
 
## change request.params.comments.contentDataPageID to request.comments.contentDataPageID
 
## Sort Order: dateTimePosted ASCENDING
 
## click save
 
# submit your page
 

Latest revision as of 18:33, 5 May 2016

Back to PT Comments

Installing the PT Comments v2.1 can be completed by following the PT Comments v1.0 Install Guide.