Exporting portal engine templates as ASPX
The system provides a way to export existing portal engine page templates as ASPX templates.
Edit your application’s web.config file and add the CMSShowTemplateASPXTab key to the <appSettings> section:
<add key="CMSShowTemplateASPXTab" value="true"/>
Log in to the Kentico administration interface
Open the Page templates application.
Select the required portal engine template in the tree.
Open the ASPX code tab.
Select the export type:
- Template using master page
- Master page
- Standard page template
- Page template code only (no code behind)
Choose a Site and fill in the Template name.
Click Save to the disk.
You can find the exported ASPX template in the web project’s ~/CMSTemplates/<Site>/ folder.