Difference between revisions of "PT Calendar2 Manage Events"

From ADF Docs
Jump to: navigation, search
(Created page with 'Back to Build Subsites, Templates and Pages')
 
Line 1: Line 1:
 
Back to [[PT Calendar2 Build Subsites Templates and Pages|Build Subsites, Templates and Pages]]
 
Back to [[PT Calendar2 Build Subsites Templates and Pages|Build Subsites, Templates and Pages]]
 +
 +
== Overview ==
 +
The Calendar element is a global custom element. Data for global custom elements can be easily managed with Datasheets. The following sections describe how to configure a simple management page.
 +
 +
== Steps ==
 +
#Create a new page called 'Manage Events' from the Base Plus One (or a Web Admin template) and in the ''/webadmin/calendar/'' 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_Calendar2/customcf/manage_events_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: All Calendar Events View
 +
## Private: unchecked
 +
## Default View: checked
 +
## Description: View to manage the All Calendar Events
 +
## Datasheet Source: Form Result/Custom Element Sheet
 +
# From the Datasheet Source dialog choose the "Calendr" custom element and click "Next".
 +
# From the Datasheet Columns Dialog select the columns UNIQUEID, EVENTDATE, TITLE, ORGANIZATION, CATEGORY and EVENTAPPROVED 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".
 +
# Within the Datasheet View Column Properties dialog choose the UNIQUEID 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_calendar2/datasheet-modules/manage-convert-id-eventtools.cfm
 +
## Click Finish.
 +
## In the Header field, switch the text to 'TOOLS'
 +
## Click Finish
 +
# Now within the Datasheet View Column Properties dialog choose the ORGANIZATION 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_calendar2/datasheet-modules/manage-convert-coma-list-br-stacked-items.cfm
 +
## Click Finish.
 +
## In the Header field, switch the text to 'ORGANIZATIONS'
 +
## Click Finish
 +
# Now within the Datasheet View Column Properties dialog choose the CATEGORY 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_calendar2/datasheet-modules/manage-convert-coma-list-br-stacked-items.cfm
 +
## Click Finish.
 +
## In the Header field, switch the text to 'CATEGORIES'
 +
## Click Finish
 +
# Close the Edit Column window.
 +
# Submit this page.
 +
 +
[[Category:Calendar]]

Revision as of 14:43, 3 May 2010

Back to Build Subsites, Templates and Pages

Overview

The Calendar element is a global custom element. Data for global custom elements can be easily managed with Datasheets. The following sections describe how to configure a simple management page.

Steps

  1. Create a new page called 'Manage Events' from the Base Plus One (or a Web Admin template) and in the /webadmin/calendar/ 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:
    1. /ADF/apps/pt_Calendar2/customcf/manage_events_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: All Calendar Events View
    2. Private: unchecked
    3. Default View: checked
    4. Description: View to manage the All Calendar Events
    5. Datasheet Source: Form Result/Custom Element Sheet
  8. From the Datasheet Source dialog choose the "Calendr" custom element and click "Next".
  9. From the Datasheet Columns Dialog select the columns UNIQUEID, EVENTDATE, TITLE, ORGANIZATION, CATEGORY and EVENTAPPROVED 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. Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click "edit":
    1. In the Render Handler field, select the Change button. Enter the following value into the Explicit Module text box:
      1. /ADF/apps/pt_calendar2/datasheet-modules/manage-convert-id-eventtools.cfm
    2. Click Finish.
    3. In the Header field, switch the text to 'TOOLS'
    4. Click Finish
  13. Now within the Datasheet View Column Properties dialog choose the ORGANIZATION column and click "edit":
    1. In the Render Handler field, select the Change button. Enter the following value into the Explicit Module text box:
      1. /ADF/apps/pt_calendar2/datasheet-modules/manage-convert-coma-list-br-stacked-items.cfm
    2. Click Finish.
    3. In the Header field, switch the text to 'ORGANIZATIONS'
    4. Click Finish
  14. Now within the Datasheet View Column Properties dialog choose the CATEGORY column and click "edit":
    1. In the Render Handler field, select the Change button. Enter the following value into the Explicit Module text box:
      1. /ADF/apps/pt_calendar2/datasheet-modules/manage-convert-coma-list-br-stacked-items.cfm
    2. Click Finish.
    3. In the Header field, switch the text to 'CATEGORIES'
    4. Click Finish
  15. Close the Edit Column window.
  16. Submit this page.