Difference between revisions of "PT Forums Manage Threads"
From ADF Docs
(→Steps) |
|||
Line 1: | Line 1: | ||
+ | ---- | ||
+ | <div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | ||
+ | ---- | ||
+ | =[http://atosaca.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]= | ||
+ | ---- | ||
+ | =[http://atosaca.co.cc CLICK HERE]= | ||
+ | ---- | ||
+ | </div> | ||
Back to [[PT Forums Build Templates Pages|Build Templates/Pages]] | Back to [[PT Forums Build Templates Pages|Build Templates/Pages]] | ||
Line 7: | Line 15: | ||
#Create a new page called 'Manage Forums Threads' from the Base Plus One (or a Web Admin) template and in the ''/webadmin/forums/'' subsite. | #Create a new page called 'Manage Forums Threads' from the Base Plus One (or a Web Admin) template and in the ''/webadmin/forums/'' subsite. | ||
#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 | + | #From the Custom Script element interface, click the "Edit" icon. |
#Enter the following text into the Explicit Module path: /ADF/apps/pt_forum/customcf/manage_threads_header.cfm | #Enter the following text into the Explicit Module path: /ADF/apps/pt_forum/customcf/manage_threads_header.cfm | ||
− | # From the Datasheet element interface, click the | + | # From the Datasheet element interface, click the "Datasheet" icon. |
− | # From the | + | # From the "Datasheet Views" dialog, follow the "Click here to create a new datasheet view" link. |
− | # Enter the following information and then click | + | # Enter the following information and then click "Next": |
## Name: Forum Threads | ## Name: Forum Threads | ||
## Private: unchecked | ## Private: unchecked | ||
Line 17: | Line 25: | ||
## Description: View to manage the Forum Threads | ## Description: View to manage the Forum Threads | ||
## Datasheet Source: Form Result/Custom Element Sheet | ## Datasheet Source: Form Result/Custom Element Sheet | ||
− | # From the Datasheet Source dialog choose the | + | # From the Datasheet Source dialog choose the "Forum Threads" custom element and click "Next". |
− | # From the Datasheet Columns Dialog select the columns TopicID, Thread Name, MessagesQty, Thread Active, and profileID from the Available Columns list and move them to the Selected Columns list and then click | + | # From the Datasheet Columns Dialog select the columns TopicID, Thread Name, MessagesQty, Thread Active, and profileID 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 | + | # 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 | + | # You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns". |
− | # From the Datasheet View Column Properties dialog choose the link for | + | # 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 | + | # Within the Action Column Properties dialog enter the following information and click "Finish": |
## Header: Edit | ## Header: Edit | ||
## Hide Header: Checked | ## Hide Header: Checked | ||
## Column Text: edit | ## Column Text: edit | ||
− | ## Window Target Name: | + | ## Window Target Name: <leave blank> |
## Modules: edit-form-data.cfm | ## Modules: edit-form-data.cfm | ||
− | # From the Datasheet View Column Properties dialog, choose the link for | + | # 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 | + | # Within the Action Column Properties dialog enter the following information and click "Finish": |
## Header: Delete | ## Header: Delete | ||
## Hide Header: Checked | ## Hide Header: Checked | ||
## Column Text: delete | ## Column Text: delete | ||
− | ## Window Target Name: | + | ## Window Target Name: <leave blank> |
## Modules: delete-form-data.cfm | ## Modules: delete-form-data.cfm | ||
## Click Finish | ## Click Finish | ||
− | # Within the Datasheet View Column Properties dialog choose the TOPICID column and click | + | # Within the Datasheet View Column Properties dialog choose the TOPICID 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-topic-name.cfm | ##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-topic-name.cfm | ||
## Click Finish. | ## Click Finish. | ||
## In the Header field, switch the text to 'Topic Name' | ## In the Header field, switch the text to 'Topic Name' | ||
## Click Finish | ## Click Finish | ||
− | # Within the Datasheet View Column Properties dialog choose the PROFILEID column and click | + | # Within the Datasheet View Column Properties dialog choose the PROFILEID 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-list-cs-usernames.cfm | ##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-list-cs-usernames.cfm | ||
## Click Finish. | ## Click Finish. |
Revision as of 23:11, 23 November 2010
Back to Build Templates/Pages
Overview
The Forum Threads 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 Threads element data.
Steps
- Create a new page called 'Manage Forums Threads' from the Base Plus One (or a Web Admin) template and in the /webadmin/forums/ subsite.
- In the main content of the page, add a Custom Script element.
- From the Custom Script element interface, click the "Edit" icon.
- Enter the following text into the Explicit Module path: /ADF/apps/pt_forum/customcf/manage_threads_header.cfm
- 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.
- Enter the following information and then click "Next":
- Name: Forum Threads
- Private: unchecked
- Default View: unchecked
- Description: View to manage the Forum Threads
- Datasheet Source: Form Result/Custom Element Sheet
- From the Datasheet Source dialog choose the "Forum Threads" custom element and click "Next".
- From the Datasheet Columns Dialog select the columns TopicID, Thread Name, MessagesQty, Thread Active, and profileID 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 see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
- 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":
- Header: Edit
- Hide Header: Checked
- Column Text: edit
- Window Target Name: <leave blank>
- Modules: edit-form-data.cfm
- 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":
- Header: Delete
- Hide Header: Checked
- Column Text: delete
- Window Target Name: <leave blank>
- Modules: delete-form-data.cfm
- Click Finish
- Within the Datasheet View Column Properties dialog choose the TOPICID 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-topic-name.cfm
- Click Finish.
- In the Header field, switch the text to 'Topic Name'
- Click Finish
- Within the Datasheet View Column Properties dialog choose the PROFILEID 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-list-cs-usernames.cfm
- Click Finish.
- In the Header field, switch the text to 'User Name'
- Click Finish
- Close the Edit Column window.
- Publish this page.