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.
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important