Difference between revisions of "PT Forums Messages"
From ADF Docs
Gcronkright (talk | contribs) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | Back to [[PT Forums Build Templates Pages|Build Templates/Pages]] | ||
+ | |||
== Overview == | == Overview == | ||
The Forum Messages page is the last level of the forum listing pages. This page is where posts to a thread display. | The Forum Messages page is the last level of the forum listing pages. This page is where posts to a thread display. | ||
Line 15: | Line 17: | ||
# Click the '...' button to open the ColdFusion expression window. | # Click the '...' button to open the ColdFusion expression window. | ||
# 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''. | # 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 sort order drop-down as the ''Message Created'' field and ''Ascending''. | # 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 '' | + | # Click ''More'' in the element interface. Then the ''Custom Render Handlers'' menu option, and choose the ''Default'' or ''Messages Page'' Render Handler. |
# Publish the Page | # Publish the Page | ||
== Update Configuration == | == Update Configuration == | ||
− | Update the | + | Update the ptForum Configuration for the 'FORUM MESSAGES URL' field. Edit the row in the datasheet and select the CommonSpot page that was created. |
[[Reset ADF|Reset the ADF]] for the server and site. | [[Reset ADF|Reset the ADF]] for the server and site. | ||
[[Category:Forums]] | [[Category:Forums]] |
Latest revision as of 17:40, 24 November 2010
Back to Build Templates/Pages
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
- Create a CommonSpot page called 'Messages'* from the Forums template.
- Place the Forum Messages Custom Element on this page.
- Click Render Mode in the element interface.
- Select Display existing element data (content reuse) on the Rendering Mode tab.
- Select the Filter tab.
- Select Filter Type to Show subset of records.
- Select the field drop-down as the Thread Name field.
- Select the operator as Equals.
- Click the '...' button to open the ColdFusion expression window.
- 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 sort order drop-down as the Message Created field and Ascending.
- Click OK on the render mode window.
- Click More in the element interface. Then the Custom Render Handlers menu option, and choose the Default or Messages Page Render Handler.
- Publish the Page
Update Configuration
Update the ptForum Configuration for the 'FORUM MESSAGES URL' field. Edit the row in the datasheet and select the CommonSpot page that was created.
Reset the ADF for the server and site.