Tip:
Highlight text to annotate it
X
In this quick tutorial, we'll explore Sitefinity's calendars and events. To get started with
global options for calendars, under Administration, go to Settings, then Advanced, and scroll
down to Events. Here we're presented with global options to choose the first and last
days of the week, as well as other advanced options, such as providers for events. Back
in the backend, in order to manage calendars and events, under Content, go to Events. Here
we're presented with an option to create a new event or a new calendar. Let's get started
by creating 2 calendars: I'll click "Create calendar". I need to provide this calendar
with a title. Let's call this one "Work". A quick description for it, which is not mandatory,
let's say it's "Work-related events", and give it a colour. For now let's make it blue.
URL will be untouched for now, for the sake of this demo. Let's create a second calendar.
We'll call it "Leisure". I'll add a quick description as well, and give it a colour:
green. Now that we have 2 calendars in place, let's create a few events. First event will
be a work-related event called "Team lunch". Let's add a quick description.. a trivial
one. Down here I can set my event's recurrence. Let's make this one a weekly event, on every
working day, let's say starting at 13:00 and ends at 14:00.
And this one repeats to infinity. This event will be added to the "Work" events.
Let's add another recurring work-related event. This one will be called "Weekly update meeting".
"Updates on current tasks". This one repeats on a weekly basis as well,
every friday from 15:00 to 16:00. This one also repeats to infinity and it's
work-related so I'll add it to the "Work" calendar, and publish.
A third event I'll add will be "Tuesday boozing night", which unfortunately is not work-related.
We'll add this one saying... "With the guys!". This one repeats on a weekly basis every Tuesday,
starting at 21:00 PM and unfortunately ends around 23:00 PM.
This is a leisure event so I'll add it to the "Leisure" calendar and publish it.
One more event that I'll add: let's call this one "Film".
This one is a one-time event, does not repeat. I'll just schedule it for now for next Monday,
let's say 19:30, and ends on the same Monday, 21:00.
This is a leisure event so I'll add it to the "Leisure" calendar as well.
Now we're presented with the Events grid, we can see for each of the events, which calendar
it's put in. On the sidebar, we have the "Manage calendars"
link, which will move us to the Calendars grid.
Here we can manage the calendars, delete or add new calendars.
In order to manage and present those events to users, I have here a page which I've previously
created, but this page has no content. Let's drag an Events control here. We see
the events listed, but in edit-mode I can change this list - this view - to a calendar
view. Here I can see also an option to change the
calendar's appearance. I can set it, for example on a week-mode and I can see the days of the
week. Or I can set it, for the sake of this demo,
to a month-view, so we can see a whole month. Now I'll publish the page and go to view it
in the frontend. We can see the calendar view of the month,
we can see the calendars by colour and we can see also the events: here's the "Team
lunch" event, here's the "Weekly update", here's my "Film" event for next Monday and
here's my "Tuesday boozing night". I can scroll the calendar to any month I'd
like. I can also choose which events from which
calendar to display, and I can also choose to delete a calendar
right from here, which will remove the calendar with all its events at once.