Glossary Item Box
This module allows you to organize displaying of event list with an opportunity of automatically moving old events to archive. It is also possible to organize displaying of events for the certain month of the year (with the help of ArchiveNavigator control).
Events can be displayed in RSS format (if the event list is displayed, the links to RSS versions are automatically added to Meta tags).
Using a SortMode attribute of the EventList tag you can set sorting type. This attribute can have one of the following values:
With the help of a ShowDays attribute it is set for how many days forward events are displayed.
In the EventList tag you can use the following tags:
![]() |
Use <%# Container.RSSUrl %> in the TopPart and BottonPart tags to get a link to RSS version |
In the Template and TemplateWithoutLink tags of the EventList tag you can use the following parameters:
| Template's part | Description |
|---|---|
<%# Container.EventName %> |
Event's name |
<%# Container.Desc %> |
Event's description |
<%# Container.DateTimeStart %> |
Date and time of the event's beginning (as DateTime object) |
<%# Container.DateStart %> |
Date of the event's beginning (as string) |
<%# Container.TimeStart %> |
Time of the event's beginning (as string hh:mm) |
| <%# Container.Location %> | Event's location |
| <%# Container.Url %> | Link to the full description of the event |
| <%# Container.IsWeekend %> | Whether DateTimeStart is started on weekend |
A template file for this module lies in a modules/event folder and can look as follows:
<%@ Control Language="c#" Language="c#" Inherits="CMSLib.Pages.SiteControl" %> |
| See Also |
Modules: Modules
Controls: Archive Navigator
General: Overview
© 2005-2007 Astron Digital Ltd. All Rights Reserved.