Feather widgets are standard MVC widgets that you can find in the widget toolbox. You place the widgets on any page or template to add specific content or functionality.
Each Feather widget provides you with options to configure the widget's preferences in the user interface. For example, the News widget has options for selecting which news to display, how to sort them, and how many news items are rendered on the page. Following is an example of how the options dialog looks like:
As a frontend developer, Feather enables you to control the rendered HTML and modify the markup of Feather widget templates according to your preferences.
All Feather widget templates are located in the ResourcePackages folder in the root of your project. There is a dedicated folder for the Bootstrap framework, supported by Feather.
For more information about frontend frameworks, see Feather: Frameworks integration.
To edit widget templates, you do not need to open the file in Visual Studio and build the project and replace .dll files. You only need to edit the markup of the widget.
In the following example, you are using the Bootstrap package and you modify the markup of the News widget. To do so:
As a result, the template of the News widget is changed.
From the backend
To create a new widget template for the Login form widget in the backend:
<type of widget>
NOTE: The name of your template must start with <type of widget>.
EXAMPLE: If you are creating a template for Login form widget, choose LoginForm (MVC) and start your template name with LoginForm. Once you create the new template, you can use it when you open the Login form widget for editing.
In the file system
You can also create a new widget template by adding it directly into the file system:
EXAMPLE: If you are creating a template for Login form widget, create aLoginForm folder. IncludeLoginWidget in the name of your new view file.
The following example demonstrates how to create new widget template when you are using the Bootstrap package.
NOTE: The view name is the name that is used for the file and how it is displayed in the backend.
As a result, you can see the new widget template in the widget designer when you expand the Template dropdown menu:
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2022 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity