Difference between revisions of "PT Forums Subscription Dashboard"

From ADF Docs
Jump to: navigation, search
(Created page with 'Back to Build Templates/Pages == Overview == The Forum Subscription Dashboard page is where your forum users go to manage their thread subscr…')
 
(Update Configuration)
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
== Overview ==
 
== Overview ==
The Forum Subscription Dashboard page is where your forum users go to manage their thread subscriptions. This dashboard can be a standalone page or just an element on a page geared displaying information to a specific user (ie. a user profile dashboard).  
+
The Forum Subscription Dashboard page is where your forum users go to manage their thread subscriptions. This dashboard can be a standalone page or just an element on a page geared displaying information to a specific logged in user (ie. a user profile dashboard).  
  
To construct your Subscription Dashboard as a page, complete the following steps.  
+
To construct your Subscription Dashboard as a page, complete the following steps.
  
 
== Steps ==
 
== Steps ==
Line 11: Line 11:
 
# 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. '''(Adding this Filter is very important! It limits the records displayed so each logged in forum user will only see and modify their own subscriptions.)'''
# Select Filter Type to ''Show subset of records''.
+
# Select Filter Type to ''Show subset of records''.  
# Select the field drop-down as the ''User Name'' field.  
+
## Select the field drop-down as the ''User 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.user.ptForum.profileid'' 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.user.ptForum.profileid'' 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 ''Thread Name'' field and ''Ascending''.  
 
# Select the sort order drop-down as the ''Thread Name'' field and ''Ascending''.  
 
# Click ''OK'' on the render mode window.
 
# Click ''OK'' on the render mode window.
Line 23: Line 23:
  
 
== Update Configuration ==
 
== Update Configuration ==
Update the Forums Configuration for the 'UNSUBSCRIBE_DASHBOARD_URL' field. Edit the row in the datasheet and select the CommonSpot page that was just created.
+
Update the Forums Configuration 'UNSUBSCRIBE_DASHBOARD_URL' field.
 +
# Go to the Manage Configuration page
 +
# Click edit the row of configuration data in the datasheet  
 +
# For the UNSUBSCRIBE DASHBOARD URL field select the CommonSpot page that was just 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 21:13, 25 June 2010

Back to Build Templates/Pages

Overview

The Forum Subscription Dashboard page is where your forum users go to manage their thread subscriptions. This dashboard can be a standalone page or just an element on a page geared displaying information to a specific logged in user (ie. a user profile dashboard).

To construct your Subscription Dashboard as a page, complete the following steps.

Steps

  1. Create a CommonSpot page with a name of 'Subscriptions Dashboard' using the Base Plus One template and place it in the Forums subsite.
  2. Place the Forum Subscriptions 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. (Adding this Filter is very important! It limits the records displayed so each logged in forum user will only see and modify their own subscriptions.)
  6. Select Filter Type to Show subset of records.
    1. Select the field drop-down as the User Name field.
    2. Select the operator as Equals.
    3. Click the '...' button to open the ColdFusion expression window.
    4. Enter the text request.user.ptForum.profileid as the expression and check the force cache checkbox. Click OK and then check the box to Ignore ColdFusion error, then click OK.
  7. Select the sort order drop-down as the Thread Name field and Ascending.
  8. Click OK on the render mode window.
  9. Click More in the element interface. Then the Custom Render Handlers menu option, and choose the User Subscriptions Dashboard Render Handler.
  10. Submit the Page.

Update Configuration

Update the Forums Configuration 'UNSUBSCRIBE_DASHBOARD_URL' field.

  1. Go to the Manage Configuration page
  2. Click edit the row of configuration data in the datasheet
  3. For the UNSUBSCRIBE DASHBOARD URL field select the CommonSpot page that was just created.

Reset the ADF for the server and site.