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 page templates in Site Manager -> Development -> Page templates. Here you can organize the templates into categories, configure their properties, create new templates, etc.

 

These configuration options can also be accessed for the templates of individual pages by selecting the page in the content tree of CMS Desk, and using Edit -> Properties -> Template -> Edit template properties.

 

Each template has the following properties:

 

General tab

 

On this tab, you can specify the following properties of the page template:

 

Template display name

The name of the template displayed to the users.

Template code name

The name of the template used in website code.

Category

Here you can choose the category of the page template.

Template description

Description of the template.

Thumbnail

Teaser (preview) image of the template. It is displayed in the Select template dialog, e.g. when you are creating a new page.

Template type

Indicates if the page template is a portal page template or ASPX page. If you choose ASPX page you will need to specify the path to its .aspx file using the Select button, or by manually entering it, the tilde (~) represents the root directory of your project folder, e.g.: ~/CMSTemplates/CorporateSiteASPX/Blog.aspx

Master template

Indicates if the pages that use the template should be Master pages. Master page templates are usually used for the main menu and logo of a website.

 

Enabling this also causes the template to be selectable as the root master page template in the New site wizard.

Inherit content

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

 

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 it in the hierarchy
Select inherited levels - inherits only content from the chosen content tree levels

 

Sites tab

 

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

 

Scopes tab

 

Please refer to the Page template scopes topic for information about this tab.

 

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"). Learn more in the Page layouts topic.

 

Web parts

 

Here you can see the XML document with the configuration of the web parts. Use this dialog only in a situation when the standard Design mode isn't working 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 (it will be placed between the <head></head> tags) of all pages that use this page template. This is useful if you need to link some additional CSS or JavaScript files.

 

Documents tab

 

On this tab, you can see a list of documents (pages) that are using the page template. By clicking a document in the list, you will be redirected to the document's CMS Desk -> Edit mode. The documents in the list can be filtered according to the Site they are on, their Document name and their Document type.

 

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