Glossary Item Box

Site templates: Module templatesModule templatesSite templates

Controls: TemplatePaging

General: OverviewCMS architecture

Modules: ModulesPage listEvent

See Also CmsDeveloperGuide Send comments on this topic.

Archive Navigator

This control displays DropDowns with the lists of months and years, for which there are displayed items (for example pages) and allows to organize another displaying of items.

 

 You can use this control with the Page list or with the Event list.

 

With the help of control property Separate you can set HTML code of separator between DropDown lists. With the help of the View property you can set up how your DropDown lists would be displayed: months list first and then years list, or vice versa.

 

MinimalNumberItems parameter allows you to set a minimal number of displayed items. If the number of items for this month is less, the missing items are taken from the previous months. This parameter value is 0 by default. In that case it is displayed the items related only to the selected month.

 

Usage example:

<%@ Register TagPrefix="cms" Namespace="CMSLib.Modules.Page" Assembly="CMSLib" %>
<%@ Register TagPrefix="cms" Namespace="CMSLib.Controls.ArchiveNavigator" Assembly="CMSLib" %>

<cms:ArchiveNavigator id="ArchiveNavigator1" runat="server" ControlForNavigate="Pagelist1" Separator="&nbsp;&nbsp;"
    View="MonthYear" MinimalNumberItems="20" />

<cms:PageList id="Pagelist1" runat="server" >
</cms:PageList>

Site templates: Module templatesModule templatesSite templates

Controls: TemplatePaging

General: OverviewCMS architecture

Modules: ModulesPage listEvent

 

 


© 2005-2007 Astron Digital Ltd. All Rights Reserved.