Digital Commerce Additional Manual
-
- Page Long Cache Considerations and Configuration
-
Mappings Module
-
Personalization Integrated with JDEdwards
- Sitefinity Images
- Internal Plugins Configuration in Update 6 - SC20220114
- Internal Plugins Configuration in Update 7
-
Content Search Configuration
-
Google Analytics Configuration
-
Task Manager Email Notifications
-
Configure the SmarterCommerce Menu in Backend
-
Management Console Email Templates
- EPayments Modules
-
Troubleshooting Errors
-
Configure Kraken Image Optimization
-
- Page Long Cache Considerations and Configuration
-
Mappings Module
-
Personalization Integrated with JDEdwards
-
How to Add New Widget Template
-
Sitefinity Images
-
Sitefinity Health Check Service Configuration and SmarterCommerce Health Checks
-
Internal Plugins Configuration in Update 6
-
Internal Plugins Configuration in Update 7
-
Content Search Configuration
-
How to Add New Widget Template
Follow these steps to add new template for specific widget:
1. Create a template file named “WidgetNameMyTemplateName” with extension .cshtml.
For example: “ProductContentOverride.cshtml” or “TermsAndConditionsInfoOverride.cshtml”
2. Place it on the following location: SitefinityWebApp\Mvc\Views\[scWidgetNameMyTemplateName].
For example: “MVC\Views\scProductContent\ProductContentOverride.cshtml” or “MVC\Views\Shared\_TermsAndConditionsInfoOverride.cshtml”
You need to create the structure of widget folder, example:
SitefinityWebApp\ResourcesPackages\Bootstrap\MVC\Views\scProductContent\ProductContentOverride.cshtml
Create override files in MVC folder:
SitefinityWebApp\Mvc\Views\scProductContent\ProductContentOverride.cshtml
Recommendations: When customer is multisite, the override views should be add the name of site. For example:
SitefinityWebApp\Mvc\Views\scProductContent\CustomizationSite1.cshtml
The new template that you have created will be automatically displayed inside the property editor of the widget designer and you can choose it in order to base your template, following the steps:
1. Navigate to Pages in Sitefinity Backend.
2. Click on the page that you want to edit.
3. Add the widget to your page and open it for editing (open the widget designer).
4. Each widget has a dropdown box (Template Name) where you can select the template that applies to the widget.
5. Click Save and Publish the page.
There are other approaches to create widget templates. For more information check https://docs.sitefinity.com/feather-priorities-for-resolving-views
This Section Also Contains
- Ecommerce CMS MVC with Bootstrap 4
- Creating a New Sitefinity Custom Template
- How to Share Template in Multisite Instance
- How to Customize a Site with Resource Packages
- Theming Bootstrap
- Page Long Cache Considerations and Configuration
- Mappings Module
- Personalization Integrated with JDEdwards
- How to Add New Widget Template
- How to Include Local Web Font
- How to Use External Plugins Locally
- Sitefinity Authentication Expiration
- Sitefinity Images
- Internal Plugins Configuration in Update 6 - SC20220114
- Internal Plugins Configuration in Update 7
- How to Setup Pickup Instructions Page
- How to Setup Terms and Conditions Page
- Resource Manage Multisite
- Content Search Configuration
- Product Assignments (Filter by Attribute)
- Google Analytics Configuration
- Configure Azure Redis Cache (ASP.Net State Server Provider)
- Task Manager Email Notifications
- Configure Google Maps
- Catalog and Product Content Metatags (SEO)
- Cookies Configuration
- Change Password Configuration
- Recycle Bin
- Login Page Configuration
- Error Page Configuration
- Configure the SmarterCommerce Menu in Backend
- SmarterCommerce Settings Not Being Displayed
- Management Console Email Templates
- EPayments Modules
- Troubleshooting Errors
- Configure Kraken Image Optimization
- Sitefinity Health Check Integration