The following database tables are used during portal engine development:
• | CMS_Layout - contains pre-defined page layouts and information about them |
• | CMS_PageTemplate - contains page templates and their settings |
• | CMS_PageTemplateCategory - contains page template categories and information about them |
• | CMS_PageTemplateScope - contains page template scopes (used to limit where a page template can be used) |
• | CMS_PageTemplateSite - assigns page templates to the sites where they can be used |
The following CMS.PortalEngine namespace classes can be used to perform certain portal engine development tasks through the API:
• | PageTemplateInfo, PageTemplateInfoProvider - these classes provide functionality for managing page templates |
• | PageTemplateCategoryInfo, PageTemplateCategoryInfoProvider - these classes provide functionality for managing page template categories |
• | PageTemplateScopeInfo, PageTemplateScopeInfoProvider - these classes provide functionality for managing page template scopes |
As well as the following CMS.SiteProvider namespace classes:
• | LayoutInfo, LayoutInfoProvider - these classes provide functionality for managing page layouts |
The following topics show examples of how these classes can be used:
• | Page template examples: |
• | Page layout examples: |
The API programming and Kentico CMS internals section of this guide contains more API related information, so please refer to it if required.
For detailed API documentation, such as a list of all methods from the classes above, please refer to Kentico CMS API Reference that is a part of your Kentico CMS installation and can be accessed through the programs folder in Windows Start menu.