Page Setup

Now that our folder structure has been set up, we can begin setting up the pages that will form our calendar.

For each Configuration Set that you have created for a type of page, there will be different DEFAULT region assignments that need to be set at the Configuration Set level.  There may also be Data Definitions as well as Metadata Sets that need to be set at this level as well. There are listed in the following table: 

  Block Stylesheet Data Definition Metadata Set
Index Page /common/blocks/current folder /common/stylesheets/index/folder summary none none
Category Page /intranet/_internal/blocks/index/calendar /common/stylesheets/index/calendar category view none none
Event Page none /common/stylesheets/data definition/calendar event /Common/Calendar Event /Types/Common Inline Required
Event View Page /intranet/_internal/blocks/index/calendar /common/stylesheets/index/calendar events view none none
Month View Page /intranet/_internal/blocks/index/calendar /common/stylesheets/index/calendar month view none none

The page setup for the pages is as follows:

  1. Create an index page in the Calendar folder. In the DEFAULT region for this page, assign the block '/common/blocks/current folder' (included in the default database). Then attach the stylesheet '/common/stylesheets/index/folder summary' to the same region (also included in the default database).

    calendar default region
  2. Every addional folder within your created folder structure with the exception of the "Categories" folder will have an index page.  Create index pages for the remaining folders using the same steps as used in step 1.
  3. Create the individual category pages (applying the Configuration Set created for this type of page - see chart above) within the category folder.  There are 19 categories:
    1. alumni
    2. arts
    3. business
    4. computing and technology
    5. education and training
    6. engineering
    7. environment and earth sciences
    8. events
    9. faculty
    10. health and medicine
    11. international
    12. law
    13. natural sciences
    14. opinion
    15. philantropy and development
    16. public policy
    17. research
    18. sports and athletics
    19. students

      individual category pages
  4. Next, create an event page, as well as an event view page within their respective folders remembering to apply the Configuration Sets created for these types of pages (see chart above).

    calendar default event page

    calendar default event view
  5. Create a page for each month of the year within the month view folder, applying the appropriate Configuration Set (see chart above).

    calendar default month
  6. For the Calendar index block make sure that the settings are as follows:

    Calendar Index Block Settings:
    • Index Folder: Set to the top folder of your calendar
    • Depth of Index: 4
    • Max Rendered Assets: 0 (unlimited)
    • Indexed Asset Types: Pages
    • Rendering Behavior: Render Normally
    • Page XML: Render Page XML inline
    • Block XML: Do not render
    • Indexed Asset Content: Regular Content, User Metadata, Append Calling Page Metadata
    • Sort Method: Folder Order

      calendar index block
  7. Finally, after you have created all the desired pages within your folders, create an Asset Factory of the Year folder, as well as one of your Events page to ensure proper duplication of your Calendar for future years.
*NOTE: These calendar stylesheets were created for demonstration purposes only. This stylesheet can be modified to suit the layout of your site. However, it is recommended that you make a backup copy of this XSL stylesheet before making any changes to it.