Managing page template catalog

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

You can manage the page templates in Site Manager -> Development -> Page templates. Here you can organize the templates into categories, modify their descriptions, etc.

 

Each template has the following properties:

 

General tab

 

Template display name

The name of the template displayed to the users.

Template code name

The name of the template used in the code.

Category

Here you can choose the category of the page template.

Template description

Description of the template.

Thumbnail

Teaser (preview) of the template. It is displayed in ‘Select template’ dialog, e.g. if you are creating new page.

Template type

Indicates if the page template is a portal page template or ASPX page (the second option is used for backward compatibility with CMS 1.x). If you choose ASPX page you will need to specify path to .aspx file using tilde (~) to symbolize the root directory of project folder, e.g.: ~/CMSTemplates/CorporateSiteASPX/Blog.aspx

Show as master template

Indicates if the field should be offered in the New site wizard among master page templates. Master page templates are usually used for main menu and logo of the website.

Inherit content

Configures the visual inheritance as explained in the Visual inheritance chapter.

 

You can choose from the following options:

 

Inherit all - inherits the content of all parent pages
Do not inherit any content - displays only the current page without any parent content
Inherit only master page - inherits from the first master page above the page in the content tree, i.e. if there are more master pages, it inherits only from the one which is the closest above
Select inherited levels - inherits only content from the chosen content tree levels

 

Sites tab

 

On the Sites tab, you can choose which websites the page template will be available for.

 

Layout tab

 

Here you can edit the HTML layout of the page template. You can either choose to use some of the pre-defined ("shared") layouts or you can specify your own HTML layout code ("custom layout").

 

Web parts

 

Here you can see the XML document with configuration of the web parts. Use this dialog only in situation when the standard Design dialog doesn't work as expected (e.g. due to some data inconsistency).

 

Header

 

Here you can specify custom HTML code that will be added to the <head> element of the page for all pages that use this page template. It's useful if you need to link some additional CSS or JavaScript files.

 

Page url: http://devnet.kentico.com/docs/devguide/index.html?managing_page_template_catalog.htm