Glossary Item Box
This module allows you to organize catalogue which items can belong to different rubrics. Each rubric is a single menu item.
In a module folder there are 3 files:
Requests dispatcher is located in default.ascx. This file doesn’t need to be changed. It only distributes requests (whether it is necessary or not to show the items list or information about a certain catalogue item).
This file should contain the following (only this and nothing else):
<%@ Control Language="c#" Inherits="CMSLib.Modules.Catalog.CatalogDispatcher" %> |
A template of a catalogue rubric items list is located in CatalogList.ascx. In this file it is tuned, in which form a catalogue items list is displayed. It is supported data output by the pages (using TemplatePaging control).
In CatalogItemList tag you can use the following tags:
In the Template tag of the CatalogItemList tag you can use the following parameters:
| Template's part | Description |
|---|---|
<%# Container.Name %> |
Element's name |
<%# Container.Annotation %> |
Annotation |
<%# Container.IsEmptyText %> |
Whether there is a text at the given page or not |
| <%# Container.PathToFullPage %> | Path to the page with full information |
A template file is located in modules/Catalog/CatalogList.ascx and can look as follows:
<%@ Control Language="c#" Inherits="CMSLib.Pages.SiteControl" %> |
A catalogue item template is located in CatalogItem.ascx. There it is tuned, in which form a single catalogue item is displayed.
In CatalogItem tag you can use the following tags:
In the Template tag of the CatalogItem tag you can use the following parameters:
| Template's part | Description |
|---|---|
<%# Container.CatalogItemGuid %> |
Catalog element's Id |
<%# Container.Name %> |
Element's name |
<%# Container.Annotation %> |
Annotation |
| <%# Container.Desc %> | Description of the catalog's element |
<%@ Control Language="c#" Inherits="CMSLib.Pages.SiteControl" %> |
| See Also |
Modules: Modules
© 2005-2007 Astron Digital Ltd. All Rights Reserved.