Kentico CMS 6.0 Context Help

Page template selection

Page template selection

Previous topic Next topic Mail us feedback on this topic!  

Page template selection

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

A page template must be assigned to every page in the content tree. When adding a new page document, this dialog allows the selection of the template that should be used.

 

The text entered into the Page name field sets the document name assigned to the new page.

 

The following options may be used to set the page template:

 

Use existing page template - displays the catalog of reusable page templates and allows one to be chosen for the new page.

Use parent page template - if selected, the new page will inherit the template used by its parent document.

Create a blank page with layout - creates a new ad-hoc portal page template using the page layout selected below, and assigns it to the new page. If the Copy this layout to my page template box below the layout list is checked, a unique copy of the chosen layout will be generated for the template. Otherwise the template will use the specified shared layout. Any changes made to a shared layout affect all page templates that use it.

Create a blank page - creates a new ad-hoc portal page template for the new page with a single web part zone and no other formatting (the same as the Simple page layout).

 

 

 

Creating pages on ASPX websites

 

When creating a new page on a website composed entirely out of pages based on ASPX templates, only the first two options should be used.

 

The last two options always create portal page templates, which will not function correctly unless there is a properly defined portal master page located somewhere above in the content tree.

 

Once the template or layout is selected, the page can be created using the Save Save button at the top. If SaveAndCreate Save and create another is clicked, the page will be added to the content tree, but the template selection dialog will remain displayed and more pages may be created.

 

More resources can be found at:

 

Developer's Guide -> Development -> Web development overview -> What is a page template

Developer's Guide -> Development -> Web development overview -> Portal engine development model -> Creating a new page template

Developer's Guide -> Development -> Web development overview -> Portal engine development model -> Page layouts