Glossary Item Box

Modules: Modules

See Also CmsDeveloperGuide Send comments on this topic.

Page

This module is a simple page with the text. The module allows you to insert scalable pictures into the page text. Using HTML WYSIWYG editor you can easily edit content of this page through the administrative interface.

 

In a Template tag of the Page tag you can use the following parameters: 

Template's part Description
<%# Container.DateTime %> Date (as DateTime object)
<%# Container.Date %> Date (as string)
<%# Container.IsDate %> Whether there is a date at the given article or not
<%# Container.Head %> Header
<%# Container.Text %> Page's text
 

A template file for this module lies in a modules/page folder and can look as follows:

<%@ Control Language="c#" Language="c#" Inherits="CMSLib.Pages.SiteControl" %>
<%@ Register TagPrefix="cmsp" Namespace="CMSLib.Modules.Page" Assembly="CMSLib" %>

<cmsp:Page ID="Page1" runat="server">
<template>
    <%# Container.Date %>-<%# Container.Head %><br />
    <%# Container.Text %>
</template>
</cmsp:Page>
 
You can place a single text block connected with a menu item everywhere on your site and edit this text box through the CMS administrative interface.
For that you should set a MenuItemGuid attribute into required menu item key:
 

<%@ Register TagPrefix="cmsp" Namespace="CMSLib.Modules.Page" Assembly="CMSLib" %>

...

<cmsp:Page ID="Page1" runat="server" MenuItemGuid="651d9451-e5ea-43fe-a56a-1e3243b36b75" />

 

Modules: Modules

 

 


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