Difference between revisions of "PT Forums Messages"

From ADF Docs
Jump to: navigation, search
(Created page with '== Overview == The Forum Messages page is the posts level forum listing pages. To construct your Forum Threads page complete the following steps: == Steps == # Create a Commo…')
 
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
The Forum Messages page is the posts level forum listing pages.  
+
The Forum Messages page is the last level of the forum listing pages. This page is where posts to a thread display.  
  
To construct your Forum Threads page complete the following steps:  
+
To construct your Forum Messages page complete the following steps:  
  
 
== Steps ==
 
== Steps ==
# Create a CommonSpot page called 'Threads'* from the Forums template.  
+
# Create a CommonSpot page called 'Messages'* from the Forums template.  
# Place the ''Forum Threads'' Custom Element on this page.
+
# Place the ''Forum Messages'' Custom Element on this page.
 
# Click ''Render Mode'' in the element interface.
 
# Click ''Render Mode'' in the element interface.
 
# Select ''Display existing element data (content reuse)'' on the ''Rendering Mode'' tab.
 
# Select ''Display existing element data (content reuse)'' on the ''Rendering Mode'' tab.
 
# Select the ''Filter'' tab.  
 
# Select the ''Filter'' tab.  
 
# Select Filter Type to ''Show subset of records''.
 
# Select Filter Type to ''Show subset of records''.
# Select the field drop-down as the ''Topic Name'' field.  
+
# Select the field drop-down as the ''Thread Name'' field.  
 
# Select the operator as ''Equals''.
 
# Select the operator as ''Equals''.
 
# Click the '...' button to open the ColdFusion expression window.
 
# Click the '...' button to open the ColdFusion expression window.
# Enter the text ''request.params.topicid'' as the expression and check the ''force cache'' checkbox.  Click ''OK'' and then check the box to ''Ignore ColdFusion error'', then click ''OK''.
+
# Enter the text ''request.params.threadid'' as the expression and check the ''force cache'' checkbox.  Click ''OK'' and then check the box to ''Ignore ColdFusion error'', then click ''OK''.
 
# Select the field drop-down as the ''Thread Active'' field.  
 
# Select the field drop-down as the ''Thread Active'' field.  
 
# Select the operator as ''Equals''.
 
# Select the operator as ''Equals''.
 
# Select the operator as ''Yes''.
 
# Select the operator as ''Yes''.
# Select the sort order drop-down as the ''Last Post'' field and ''Descending''.  
+
# Select the sort order drop-down as the ''Message Created'' field and ''Ascending''.  
 
# Click ''OK'' on the render mode window.
 
# Click ''OK'' on the render mode window.
 
# Click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and choose the ''Full Page'' Render Handler.
 
# Click ''More'' in the element interface.  Then the ''Custom Render Handlers'' menu option, and choose the ''Full Page'' Render Handler.

Revision as of 19:00, 27 March 2010

Overview

The Forum Messages page is the last level of the forum listing pages. This page is where posts to a thread display.

To construct your Forum Messages page complete the following steps:

Steps

  1. Create a CommonSpot page called 'Messages'* from the Forums template.
  2. Place the Forum Messages Custom Element on this page.
  3. Click Render Mode in the element interface.
  4. Select Display existing element data (content reuse) on the Rendering Mode tab.
  5. Select the Filter tab.
  6. Select Filter Type to Show subset of records.
  7. Select the field drop-down as the Thread Name field.
  8. Select the operator as Equals.
  9. Click the '...' button to open the ColdFusion expression window.
  10. Enter the text request.params.threadid as the expression and check the force cache checkbox. Click OK and then check the box to Ignore ColdFusion error, then click OK.
  11. Select the field drop-down as the Thread Active field.
  12. Select the operator as Equals.
  13. Select the operator as Yes.
  14. Select the sort order drop-down as the Message Created field and Ascending.
  15. Click OK on the render mode window.
  16. Click More in the element interface. Then the Custom Render Handlers menu option, and choose the Full Page Render Handler.
  17. Publish the Page

Update Configuration

Update the ptForums Configuration for the 'FORUM THREADS URL' field. Edit the row in the datasheet and select the CommonSpot page that was created.

Reset the ADF for the server and site.