Modify fields of a single dynamic content widget
MVC dynamic content widgets are displayed through templates for list and detail views. Each of the templates is built using different fields. The following article demonstrates how to change the view of a particular field for a single dynamic content MVC widget.
PREREQUISITES: You have downloaded the Traveling Agency Sandbox.
- In Sitefinity CMS backend, navigate to Design » Widget Templates.
- Find the Detail.Festival template and open it.
- In the template markup, find
@Start Address field@
- Modify the field markup in the following way:
-
Save your changes.
-
Open the Festivals page in the frontend.
- Click the Rose festival.
As a result you are redirected to the detail view of the widget and you can see your customized Address field.