Difference between revisions of "PT Forums Topics Page"
From ADF Docs
Gcronkright (talk | contribs) (→Update Profile Site Config) |
(→Steps) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | Back to [[PT Forums Build Templates Pages|Build Templates/Pages]] | ||
+ | |||
== Overview == | == Overview == | ||
− | The | + | The Forum Topics page is the second level forum listing page. |
− | To construct your | + | |
+ | To construct your Forum Topics page complete the following steps. | ||
== Steps == | == Steps == | ||
− | # Create a CommonSpot page called ' | + | # Create a CommonSpot page called 'Topics' from the Forums template. |
− | # Place the '' | + | # 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 '' | + | # 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. | + | # 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''. |
+ | # From the "Add Criterion" drop down select the ADD field | ||
+ | # 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 '' | + | # Click ''More'' in the element interface. Then the ''Custom Render Handlers'' menu option, and choose the ''Default'' or the ''Topics Page'' Render Handler. |
− | # Submit Page | + | # Submit the Page. |
− | |||
− | |||
== Update Configuration == | == Update Configuration == |
Latest revision as of 17:59, 10 September 2010
Back to Build Templates/Pages
Overview
The Forum Topics page is the second level forum listing page.
To construct your Forum Topics page complete the following steps.
Steps
- Create a CommonSpot page called 'Topics' from the Forums template.
- Place the Forum Topics 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 Category Name field.
- Select the operator as Equals.
- Click the '...' button to open the ColdFusion expression window.
- 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.
- From the "Add Criterion" drop down select the ADD field
- 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 More in the element interface. Then the Custom Render Handlers menu option, and choose the Default or the Topics Page Render Handler.
- Submit the Page.
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.