PT Calendar2 Manage Add Event

From ADF Docs
Revision as of 23:42, 2 March 2011 by Ssmith (talk | contribs) (Steps)
Jump to: navigation, search

Back to Build Subsites, Templates and Pages

Overview

The Event Add Page is a lightbox page to create new event records.

Follow these steps to configure the link and page for adding events.

Steps

  1. Create a new page called 'Manage Add New Event' from the Lightbox Template and in the /lightbox/calendar/ subsite.
  2. Place a Custom Script element on the page.
  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/lb_manage_add_event_header.cfm.
  5. The script will put a Simple Form on the page.
  6. From the Simple Form element interface icons choose the "Select Form" icon.
  7. In the Create/Select Simple Form dialog choose the option to "Select Simple Form/Custom Element" option and click "next".
  8. From the Select Form/Custom Element dialog choose the "Calendar2" custom element and click "Finish".
  9. Within the "Manage Simple Form Element" dialog, enter the following information:
    1. Name: (leave as is)
    2. Email Notification Recipients: (If you would like to receive an e-mail whenever an event is added place your e-mail in here. This is optional)
    3. Sender's Email Address: leave checked
    4. Anonymous Sender's Email Address: (add in an anonymous email address if needed)
    5. Form Action: choose "Display Textblock on Submission" option and add 'Event created successfully!' text in the RTE.
    6. Select Finish and then Finish again.
  10. Publish the page

Update Configuration

Update the Calendar Configuration for the Manage Event New URL field. Edit the row in the datasheet and select the CommonSpot page that was created.

Reset the ADF for the server and site.