Glossary Item Box
This module allows you to display news from different news lists within a current site in one list. News is a small text (up to 3000 symbols) and an URL link. It is also possible to display news by pages (using TemplatePaging control). News can also be displayed in RSS format (if the news list is displayed, the links to RSS versions are automatically added to Meta tags).
In a News tag you can use the following tags:
Using a PageSize attribute of the News tag you can determine, how many news will be displayed on the page (by default 20).
![]() |
Use <%# Container.RSSUrl %> in the TopPart and BottonPart tags to get a link to RSS version |
In the Template and TemplateWithoutLink tags of the News tag you can use the following parameters:
| Template's part | Description |
|---|---|
<%# Container.DateTime %> |
Date (as DateTime object) |
<%# Container.Date %> |
Date (as string) |
<%# Container.Text %> |
Text of the news |
<%# Container.Url %> |
Link from a news |
| <%# Container.LinkTargetAttribute %> | Target attribute of the link |
A template file for this module lies in a modules/topnews folder and can look as follows:
<%@ Control Language="c#" Language="c#" Inherits="CMSLib.Pages.SiteControl" %> |
![]() |
You can place a news list everywhere on your site.
For that you should set a MenuItemGuid attribute into required menu item key:
|
| See Also |
Modules: Modules
© 2005-2007 Astron Digital Ltd. All Rights Reserved.