Glossary Item Box

Site templates: Site templatesContent templates

See Also CmsDeveloperGuide Send comments on this topic.

Module templates

There can be several templates of representation for each module. An existence of a Default template is obligatory, as it is used by default.

 

CMS system determines which template to use to display a specific menu item as follows:

  1. It is determined a module type of the menu item;
  2. It is determined a skin for the given menu item;
  3. If not the Default skin is used for this menu item, the CMS system looks in a templates folder of this module for a template with the same name, as a skin Theme name applied to the menu item;
  4. If the CMS system finds no template with a Theme name, the Default theme is used (default.ascx file).

 

    You can have an unlimited number of templates for any module
     

    For example:
    There is a menu item "MyItem" on your site. To this item it is applied MyGreen skin, which uses a MyGreen.master masterpage and MyGr theme.
    By request to this menu item it will be searched a module template with named MyGr.ascx, and then named Default.ascx.

    Site templates: Site templatesContent templates

     

     


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