Once you create and activate a dynamic module, Sitefinity CMS automatically creates a Dynamic content widget. You can see the widget in the Content widget group.
After you drop the Dynamic content widget on your page, you must configure it to display content types.
The following tutorial displays a dynamic content type, named Countries.
PREREQUISITES: You created at least one dynamic content type. For more information, see Dynamic modules.
You choose what dynamic content to display in the Content tab page of the widget designer.
Narrow selection by...
Narrow down the number of dynamic content items displayed using dates.
Select one of the predefined time intervals, so that dynamic content items created during that interval are displayed or choose Custom range… and select a time interval.
List settings define how dynamic content, in this case countries, are listed and displayed by the widget.
Divides the list of countries into pages. In the input field, specify how many countries per page you want displayed.
Displays only a limited number of countries. In the input field, specify how many countries you want displayed.
No limit and paging
Displays all countries that you selected in the Content tab page.
Select a sorting criterion for listing the countries:
Select the template you want to use to display the list of countries on the page.
Apply additional CSS classes to the Dynamic content widget by expanding More options and specifying the CSS class names.
Single item settings define how individual dynamic content items, in this case countries, are displayed on the page. Choose one of the following options:
Open single item in...
Select one of the following:
When you click a dynamic content item, it is displayed in an automatically generated page that has the same layout as the list page.
Selected existing page…
Select a page from the list of existing pages that has the desired layout. When you click on the dynamic content item, it is displayed in this specific page.
NOTE: The page on which you want the dynamic content item displayed, must have a Dynamic content widget added.
Select the template you want to use to display the dynamic content items on the page.
In Advanced settings, you specify additional widget properties.
Gets the ID of the page you selected under Selected existing page... option in the Single item settings tab page.
Gets the template you chose in Detail template dropdown menu in the Single item settings tab page.
Gets the template you chose in the List template dropdown menu in the List settings tab page.
Specifies whether when clicking on the dynamic content item to open its detail view in a new window when. The default value is false.
Model settings include all properties directly bound to the widget model. You access these properties by clicking the Model button in Advanced settings. There, you can modify the following properties:
Gets and sets an additional CSS class to the details view.
Sets a rel="canonical" meta tag to the dynamic content items.
Gets the value you selected in the Simple List settings tab page. Choose one of the following options:
To enable users to share your website content in Facebook, Google+, Twitter, etc., set this property to true. The default value is false.
Filters dynamic content items based on an additional filter expression.
Defines the number of dynamic content items per page when paging is enabled. The default value is 20.
Gets and sets an additional CSS class to the list view.
If you added more than one providers for dynamic content items, you can use a non-default provider by specifying its name. If you leave this property value empty, the default provider is used.
Gets the option you selected in the Content tab page. The possible values are:
The name of the provider that the related data uses.
The relation type specifies whether related items are children or parents of the source item.
In case dynamic content items are filtered based on a date, tags, or categories, the IDs of the selected filter criteria are serialized and populated in this field.
In case you specifically selected dynamic content items, the IDs of the selected items are serialized and populated in this field.
For example: ["3g47d0b8-2d22-6e58-888c-ff0000bfc4e0"]
In case you specifically selected dynamic content items based on their parent, the IDs of the selected parent items are serialized and populated in this field.
For example: ["3e47d0b8-2d22-6e58-888c-ff0000bfc4e0"]
Adds an additional sorting expression for the dynamic content items. The default value is PublicationDate DESC
Gets or sets the URL key prefix. Used when building or evaluating URLs for paging and filtering.
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