PT Calendar2 Event Details Page

From ADF Docs
Jump to: navigation, search

Back to Build Subsites, Templates and Pages

Overview

The Event detail page shows the details for an event.

To construct a Events Detail page complete the following steps.

Steps

  1. Create a CommonSpot page with a name of 'Event Details' using the Calendar template and place it in the Calendar subsite.
  2. Since the this page is being created from the Calender Template which already contains the Calendar Custom Element and it is filtered for a Monthly view, the Filter will need to be adjusted to only display one event and the Event Details Render Handler will need applied.
  3. Adjust the Custom Element Data Filter
    1. Click Render Mode in the element interface.
    2. If not selected, select Display existing element data (content reuse) on the Rendering Mode tab.
    3. Select the Filter tab.
    4. If not selected, select Filter Type to Show subset of records.
    5. Remove all other criteria but setting the AND operators back to -Select-
    6. Select the Field drop-down as the uniqueID field.
    7. Select the operator as Equals.
    8. Click the '...' button to open the ColdFusion expression window.
    9. Enter the following text as the expression:
      1. request.params.uid
    10. If unchecked, check the force cache checkbox.
    11. Click OK and then check the box to Ignore ColdFusion error
    12. Then click OK
    13. Click OK on the render mode window.
  4. Select the Event Details Render Handler
    1. On the Calendar element indicator, Click More.
    2. Then the Custom Render Handlers menu option, and choose theDetail Event View Render Handler.
  5. Submit the Page.