Difference between revisions of "PT Forums Manage Categories"
From ADF Docs
Gcronkright (talk | contribs) (→Steps) |
(→Steps) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | Back to [[PT Forums Build Templates Pages|Build Templates/Pages]] | ||
+ | |||
== Overview == | == Overview == | ||
The Forum Categories 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 photo element data. | The Forum Categories 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 photo 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/ | + | #Enter the following text into the Explicit Module path: /ADF/apps/pt_forum/customcf/manage_categories_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 16: | Line 18: | ||
## Datasheet Source: Form Result/Custom Element Sheet | ## Datasheet Source: Form Result/Custom Element Sheet | ||
# From the Datasheet Source dialog choose the "Forum Categories" custom element and click "Next". | # From the Datasheet Source dialog choose the "Forum Categories" custom element and click "Next". | ||
− | # From the Datasheet Columns Dialog select the columns | + | # From the Datasheet Columns Dialog select the columns CatName, CatActive, MessageQty, and Forum Home URL 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 33: | Line 35: | ||
## Window Target Name: <leave blank> | ## Window Target Name: <leave blank> | ||
## Modules: delete-form-data.cfm | ## Modules: delete-form-data.cfm | ||
+ | ## 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 14:09, 14 April 2010
Back to Build Templates/Pages
Overview
The Forum Categories 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 photo element data.
Steps
- Create a new page called 'Manage Forums Categories' 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_categories_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 Categories
- Private: unchecked
- Default View: unchecked
- Description: View to manage the Forum Categories
- Datasheet Source: Form Result/Custom Element Sheet
- From the Datasheet Source dialog choose the "Forum Categories" custom element and click "Next".
- From the Datasheet Columns Dialog select the columns CatName, CatActive, MessageQty, and Forum Home URL 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
- Close the Edit Column window.
- Publish this page.