Generally, you operate with the page template(s) that are based on the default layout file. You modify the default template or create new templates, based on it.
When creating a new project, by default, the selected framework is MVC. You can also work in hybrid mode. For both modes, you do not have to start creating a new template from scratch. You can use the default templates that contain a single placeholder and then modify it further. Once you select a template and its framework, if you require to base the template on another template in a later point in time, you can select just from the list with templates from the same framework, thus avoiding any shortcomings from switching framework.
If required by your scenario, you still have the option to work with Web Forms templates by configuring which frameworks page templates use. To do this, navigate to Advanced settings » Pages section and set the Page templates framework to All.
To create a template based on another template:
When creating a page template based on another template, keep in mind the following:
RECOMMENDATION: When you create a nested page template, based on a layout file, we recommend that you select the MVC only option, as there may be potential issues in Web forms or hybrid modes. For more information about layout base templates, see For developers: Create MVC page templates based on layout files.
Next, you modify the template according to design. For more information, see Modify page templates.
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important