Generally, you operate with the page templates 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. For this mode, you do not have to start creating a new template from scratch. You can use the default template that contains 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 at 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.
You create and manage .NET Core templates in the Templates grid, just like the pure MVC Sitefinity CMS templates.
.NET Core templates are edited with the New page editor of the .NET Core Renderer. To be able to edit the content of a .NET Core template, you must have setup Sitefinity .NET Core Renderer.
To create a template via the UI, perform the following:
NOTE: The new template will inherit the framework of the template that it is based on.
Depending on the framework that it is based on, the new template opens for editing in one of the following page editors:
NOTE: To be able to open a .NET Core template for editing, you must have setup Sitefinity .NET Core Renderer.
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 selecting the MVC only option. For more information about layout base templates, see Create MVC page templates based on layout files.
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