With the support of hierarchical dynamic modules, Sitefinity CMS provides ability to filter the dynamic content items by their parents. The following tutorial describes how to filter dynamic content items by their parent via the URL.
The following tutorial creates the relationship between Countries, Cities and Hotels. For more information about creating the module and its content types, see Create Travelling agency site with hierarchical types.
Once you activate the dynamic module, a corresponding section is created in Sitefinity CMS toolbox with both Standard and MVC widgets reflecting the names of the content types.
EXAMPLE: For a module with name Travelling Agency, section with name Travelling Agency is created. For Countries dynamic content type, two widgets are automatically added to the toolbox section - Countries and Countries MVC.
To filter the dynamic content items by their parents, perform the following:
NOTE: You can also display a list of dynamic content items and highlight the selected one. For more information, see Highlight filtered items.
Back To Top