The Page Templates part of the Development section allows you to register a new page template and make it available to your users who can create new pages based on this template.
Before you register a new template, you need to create an ASP.NET page (ASPX). Please see Kentico CMS Developer's Guide, chapter Creating Page Templates to find more details.
Please note: The page template (ASPX page) must be placed in the root folder of your Web application (virtual directory).
Register a New Page Template
Navigate to the Development section, click Page Templates and click New... The Page Template Properties dialog appears. Enter some values.
Example:
Page Template Name: Home Page
Page Template File Name: default.aspx
Edit an Existing Template
Click on the editing button of the appropriate item in the Page Templates List. You will be redirected to the editing form.
Delete a Page Template
Click on the deleting button of the appropriate item in the Page Templates List and confirm the question.
Please note:
The pages based on the deleted template will not be deleted, however they will stop working until you replace the template with another template of the same file name or change the page properties so that the pages use another template.
The ASPX page is not deleted automatically.
Page Template Properties
Field Name |
Compulsory |
Description |
Page Template Name |
Yes |
Display name of the page template. |
Page Template File Name |
Yes |
Name of the ASPX page that represents the template. |
Page Template Description |
No |
Description that will be displayed in the Page Template Catalog when user chooses the template.
Note: You can use images in this field. You can place them in the <WebSite>/CMSDesk/Metadata/_PageTemplates folder. Then, you need to edit the description in the HTML mode and use the right virtual path starting from the CMSDesk/MetaDesigner folder. This will be simplified in some of the next versions. |