Difference between revisions of "PT Forums Manage Topics"

From ADF Docs
Jump to: navigation, search
(Steps)
(Steps)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Back to [[PT Forums Build Templates Pages|Build Templates/Pages]]
 +
 
== Overview ==
 
== Overview ==
 
The Forum Topics element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following sections will describe how to configure the datasheet to manage the Forum Topics element data.
 
The Forum Topics element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following sections will describe how to configure the datasheet to manage the Forum Topics element data.
Line 6: Line 8:
 
#In the main content of the page, add a Custom Script element.
 
#In the main content of the page, add a Custom Script element.
 
#From the Custom Script element interface, click the "Edit" icon.
 
#From the Custom Script element interface, click the "Edit" icon.
#Enter the following text into the Explicit Module path: /ADF/apps/pt_forums/customcf/manage_topics_header.cfm
+
#Enter the following text into the Explicit Module path: /ADF/apps/pt_forum/customcf/manage_topics_header.cfm
 
# From the Datasheet element interface, click the "Datasheet" icon.
 
# From the Datasheet element interface, click the "Datasheet" icon.
 
# From the "Datasheet Views" dialog, follow the "Click here to create a new datasheet view" link.
 
# From the "Datasheet Views" dialog, follow the "Click here to create a new datasheet view" link.
Line 13: Line 15:
 
## Private: unchecked
 
## Private: unchecked
 
## Default View: unchecked
 
## Default View: unchecked
## Description: View to manage the Forums Configuration
+
## Description: View to manage the Forum Topics
 
## Datasheet Source: Form Result/Custom Element Sheet
 
## Datasheet Source: Form Result/Custom Element Sheet
 
# From the Datasheet Source dialog choose the "Forum Topics" custom element and click "Next".
 
# From the Datasheet Source dialog choose the "Forum Topics" custom element and click "Next".
# From the Datasheet Columns Dialog select the columns TopicID, Category Name, Topic Name, Messages and Topic Active from the Available Columns list and move them to the Selected Columns list and then click "Finish".
+
# From the Datasheet Columns Dialog select the columns CATID, TOPIC NAME, MESSAGEQTY and TOPICACTIVE from the Available Columns list and move them to the Selected Columns list and then click "Finish".
 
# You will be brought to the Datasheet View page; click "Close" to return to your page.
 
# You will be brought to the Datasheet View page; click "Close" to return to your page.
 
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
 
# You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
Line 26: Line 28:
 
## Window Target Name: <leave blank>
 
## Window Target Name: <leave blank>
 
## Modules: edit-form-data.cfm
 
## Modules: edit-form-data.cfm
 +
## Click Finish.
 
# From the Datasheet View Column Properties dialog, choose the link for "Add a new action column" again.
 
# From the Datasheet View Column Properties dialog, choose the link for "Add a new action column" again.
 
# Within the Action Column Properties dialog enter the following information and click "Finish":
 
# Within the Action Column Properties dialog enter the following information and click "Finish":
Line 33: Line 36:
 
## Window Target Name: <leave blank>
 
## Window Target Name: <leave blank>
 
## Modules: delete-form-data.cfm
 
## Modules: delete-form-data.cfm
 +
## Click Finish.
 +
# Within the Datasheet View Column Properties dialog choose the CATID column and click "edit":
 +
##In the Render Handler field, select the Change button. Enter the following value into the Explicit Module text box: /ADF/apps/pt_forum/datasheet-modules/manage-convert-id-category-name.cfm
 +
## Click Finish.
 +
## In the Header field, switch the text to 'Category Name'
 +
## Click Finish.
 
# Close the Edit Column window.
 
# Close the Edit Column window.
 
# Publish this page.
 
# Publish this page.
  
 
[[Category:Forums]]
 
[[Category:Forums]]

Latest revision as of 06:32, 13 April 2010

Back to Build Templates/Pages

Overview

The Forum Topics element is a global custom element. Managing data for global custom elements can be configured easily through the use of Datasheets. The following sections will describe how to configure the datasheet to manage the Forum Topics element data.

Steps

  1. Create a new page called 'Manage Forums Topics' from the Base Plus One (or a Web Admin) template and in the /webadmin/forums/ subsite.
  2. In the main content of the page, add a Custom Script element.
  3. From the Custom Script element interface, click the "Edit" icon.
  4. Enter the following text into the Explicit Module path: /ADF/apps/pt_forum/customcf/manage_topics_header.cfm
  5. From the Datasheet element interface, click the "Datasheet" icon.
  6. From the "Datasheet Views" dialog, follow the "Click here to create a new datasheet view" link.
  7. Enter the following information and then click "Next":
    1. Name: Forum Topics
    2. Private: unchecked
    3. Default View: unchecked
    4. Description: View to manage the Forum Topics
    5. Datasheet Source: Form Result/Custom Element Sheet
  8. From the Datasheet Source dialog choose the "Forum Topics" custom element and click "Next".
  9. From the Datasheet Columns Dialog select the columns CATID, TOPIC NAME, MESSAGEQTY and TOPICACTIVE from the Available Columns list and move them to the Selected Columns list and then click "Finish".
  10. You will be brought to the Datasheet View page; click "Close" to return to your page.
  11. You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
  12. From the Datasheet View Column Properties dialog choose the link for "Add a new action column" again.
  13. Within the Action Column Properties dialog enter the following information and click "Finish":
    1. Header: Edit
    2. Hide Header: Checked
    3. Column Text: edit
    4. Window Target Name: <leave blank>
    5. Modules: edit-form-data.cfm
    6. Click Finish.
  14. From the Datasheet View Column Properties dialog, choose the link for "Add a new action column" again.
  15. Within the Action Column Properties dialog enter the following information and click "Finish":
    1. Header: Delete
    2. Hide Header: Checked
    3. Column Text: delete
    4. Window Target Name: <leave blank>
    5. Modules: delete-form-data.cfm
    6. Click Finish.
  16. Within the Datasheet View Column Properties dialog choose the CATID column and click "edit":
    1. In the Render Handler field, select the Change button. Enter the following value into the Explicit Module text box: /ADF/apps/pt_forum/datasheet-modules/manage-convert-id-category-name.cfm
    2. Click Finish.
    3. In the Header field, switch the text to 'Category Name'
    4. Click Finish.
  17. Close the Edit Column window.
  18. Publish this page.