Difference between revisions of "PT Calendar2 Daily View Page"
From ADF Docs
Gcronkright (talk | contribs) (Created page with 'Back to Build Subsites, Templates and Pages') |
m (typo) |
||
(3 intermediate revisions by 2 users not shown) | |||
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 Daily View page shows a list view of events for a day. | ||
+ | |||
+ | To construct a Daily View page complete the following steps. | ||
+ | |||
+ | == Steps == | ||
+ | # Create a CommonSpot page with a name of Daily List All Events' using the Calendar template and place it in the Calendar subsite. | ||
+ | # 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 a day of events and the Daily View Render Handler will need applied. | ||
+ | # Adjust the Custom Element Data Filter | ||
+ | ## Click '''Render Mode''' in the element interface. | ||
+ | ## If not selected, select '''Display existing element data (content reuse)''' on the '''Rendering Mode''' tab. | ||
+ | ## Select the '''Filter''' tab. | ||
+ | ## If not selected, select Filter Type to '''Show subset of records'''. | ||
+ | ## If not selected, select the '''Field''' drop-down as the '''date''' field. | ||
+ | ## If not selected, select the operator as '''Greater Than or Equals'''. | ||
+ | ## Click the '...' button to open the ColdFusion expression window. | ||
+ | ## Replace the month filter expression with the following text as the expression: | ||
+ | ### application.ptCalendar2.Date.csDateFormat(request.ptcalendar2.fullDate, '00:00:01') | ||
+ | ## If checked, uncheck the ''force cache'' checkbox. | ||
+ | ## Click '''OK''' and then check the box to '''Ignore ColdFusion error''' | ||
+ | ## Then click '''OK''' | ||
+ | ## Now use the drop-down under the '''Date''' field and if not selected, choose '''AND''' | ||
+ | ## In the second '''Field''' drop-down that appears if not selected, select '''date''' again. | ||
+ | ## For the second operator if not selected, select '''Less Than or Equals'''. | ||
+ | ## For the second value click the '...' button to open the ColdFusion expression window. | ||
+ | ## Replace the month filter expression with the the following text as the expression: | ||
+ | ### application.ptCalendar2.Date.csDateFormat(request.ptcalendar2.fullDate, '23:59:59') | ||
+ | ## If checked, uncheck the '''force cache''' checkbox. | ||
+ | ## Click '''OK''' and then check the box to '''Ignore ColdFusion error''' | ||
+ | ## Then click '''OK''' | ||
+ | ## Now use the drop-down under the second '''Date''' field and if not selected, choose '''AND''' | ||
+ | ## In the '''Field''' drop-down that appears if not selected, select '''Approved''' | ||
+ | ## For the third operator if not selected, select '''Equals'''. | ||
+ | ## For the third value drop-down if not selected, select '''1'''. | ||
+ | ## For the '''Sort Order''' drop-down if not selected, select the '''Date''' field and choose '''Ascending''' | ||
+ | ## Click '''OK''' on the render mode window. | ||
+ | # Select the Daily View Render Handler | ||
+ | ## On the '''Calendar''' element indicator, Click ''More''. | ||
+ | ## Then the ''Custom Render Handlers'' menu option, and choose the''View Events by Day'' Render Handler. | ||
+ | # Submit the Page. |
Latest revision as of 19:45, 1 July 2010
Back to Build Subsites, Templates and Pages
Overview
The Daily View page shows a list view of events for a day.
To construct a Daily View page complete the following steps.
Steps
- Create a CommonSpot page with a name of Daily List All Events' using the Calendar template and place it in the Calendar subsite.
- 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 a day of events and the Daily View Render Handler will need applied.
- Adjust the Custom Element Data Filter
- Click Render Mode in the element interface.
- If not selected, select Display existing element data (content reuse) on the Rendering Mode tab.
- Select the Filter tab.
- If not selected, select Filter Type to Show subset of records.
- If not selected, select the Field drop-down as the date field.
- If not selected, select the operator as Greater Than or Equals.
- Click the '...' button to open the ColdFusion expression window.
- Replace the month filter expression with the following text as the expression:
- application.ptCalendar2.Date.csDateFormat(request.ptcalendar2.fullDate, '00:00:01')
- If checked, uncheck the force cache checkbox.
- Click OK and then check the box to Ignore ColdFusion error
- Then click OK
- Now use the drop-down under the Date field and if not selected, choose AND
- In the second Field drop-down that appears if not selected, select date again.
- For the second operator if not selected, select Less Than or Equals.
- For the second value click the '...' button to open the ColdFusion expression window.
- Replace the month filter expression with the the following text as the expression:
- application.ptCalendar2.Date.csDateFormat(request.ptcalendar2.fullDate, '23:59:59')
- If checked, uncheck the force cache checkbox.
- Click OK and then check the box to Ignore ColdFusion error
- Then click OK
- Now use the drop-down under the second Date field and if not selected, choose AND
- In the Field drop-down that appears if not selected, select Approved
- For the third operator if not selected, select Equals.
- For the third value drop-down if not selected, select 1.
- For the Sort Order drop-down if not selected, select the Date field and choose Ascending
- Click OK on the render mode window.
- Select the Daily View Render Handler
- On the Calendar element indicator, Click More.
- Then the Custom Render Handlers menu option, and choose theView Events by Day Render Handler.
- Submit the Page.