You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > Sitemap Class
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Sitemap Class

The Sitemap server control utilizes the folder breadcrumb information in the Workarea to display a sitemap of your site. By choosing the starting point of the sitemap, the max levels to display and applying a style class, you can customize the sitemap.

C#
[DefaultProperty("Text"), ToolboxData("<{0}:Sitemap runat=\"server\"></{0}:Sitemap>")]
public class Sitemap : EkXsltBase;
Visual Basic
<DefaultProperty("Text"), ToolboxData("<{0}:Sitemap runat=\"server\"></{0}:Sitemap>")>
Public Class Sitemap
Inherits EkXsltBase

Sitemap.cs

Name 
Description 
The methods of the Sitemap class are listed here. 
The properties of the Sitemap class are listed here. 
 
Name 
Description 
 
Fill 
Method that can be overridden and used to grab data from the back end for each server control.  
 
Name 
Description 
 
Sets the amount of time the server control’s data is cached. The default is 0 (zero). This is the amount of time, in seconds, a control’s data is cached. For example, if you want to cache the data for five minutes, you set the CacheInterval property to 300 (three hundred).  
 
Stylesheet class to format the HTML. It must exists in [site]/workarea/csslib/sitemap.css. Leave blank to accept default.  
 
Determines how the information on the page is displayed.
  • None - databind only
  • List - lists the title of every content block in the folder
  • ListWithDescriptions - lists the title of every content block in the folder plus the content summary
  • Path to Custom Xslt - enter the path to an Xslt that determines the display of the page
 
 
The Xslt to use to render the control (optional).  
 
Includes site nodes from the parent folder but not their items.  
 
The ID of the folder from which to select data. Root is 0.  
 
Get or set the maximum amount of levels to show. Set it to 0 (zero) for unlimited.  
 
Get or set to the starting level of the site map. If set to 0 (zero), starts from the root.  
 
Specify the location of the style sheet used to display results. Leave blank to use the default style sheet, \webroot\Workarea\csslib\sitemap.css.  
 
Returns the XML object for the sitemap.  
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!