Difference between revisions of "PT Forums Topics Page"

From ADF Docs
Jump to: navigation, search
(Update Profile Site Config)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
The Profile Template is the template that all the profile pages are created from.
+
The Forum Topics page is the second level forum listing page.  
To construct your Profiles Template complete the following steps.  
+
 
 +
To construct your Forum Topics page complete the following steps.  
  
 
== Steps ==
 
== Steps ==
# Create a CommonSpot page called 'Profile' from the Base Plus One template. (The subsite for this is not critical but it is a good idea to create this page in a subsite that has been created for the [[PT_Profile_Roles|Profile Roles]]).  
+
# Create a CommonSpot page called 'Topics' from the Forums template.  
# Place the ''Profile'' Custom Element on this page.
+
# Place the ''Forum Topics'' 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 ''uniqueID'' field.  
+
# Select the field drop-down as the ''Category 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.page.metadata.profiles.uniqueid'' 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.catid'' 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 ''Topic Active'' field.
 +
# Select the operator as ''Equals''.
 +
# Select the operator as ''Yes''.
 +
# Select the sort order drop-down as the ''Topic Name'' 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 04:37, 27 March 2010

Overview

The Forum Topics page is the second level forum listing page.

To construct your Forum Topics page complete the following steps.

Steps

  1. Create a CommonSpot page called 'Topics' from the Forums template.
  2. Place the Forum Topics 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 Category Name field.
  8. Select the operator as Equals.
  9. Click the '...' button to open the ColdFusion expression window.
  10. Enter the text request.params.catid 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 Topic Active field.
  12. Select the operator as Equals.
  13. Select the operator as Yes.
  14. Select the sort order drop-down as the Topic Name 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. Submit Page and then Save as Template.
  18. Remember to submit the template for public use.
  19. Go to the CommonSpot Site Administration and bind the Profiles metadata form to this new Profile Template.

Update Configuration

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

Reset the ADF for the server and site.