This page displays detailed information for a specific country. It also displays a list of cities and a list of festivals in the current country.
You can display detailed information about a country by dropping the Countries widget on the page and configuring the widget to display only country details.
To do that, select the One particular country only... and do not select specific country. This way the Countries widget displays only the detail view of the currently navigated in URL country. For example ~/country/united-states-of-america.
You must set the Details item template of the Countries widget to My Vacation - Full country content template.
The template shows some information about the country, a landscape image of it, and an option to view where on the map the country is located.
The following screenshot shows the display of Countries widget:
Use the following markup for My Vacation - Full country content template:
You can display child items by filtering by parent item. If you want to display all Cities and Festivals in the currently opened country, you can drop both Cities and Festivals widgets and configure them to display cities From the currently open country.
To display all items in a horizontal list, you can set the following templates: My vacation - List of Cities - Horizontal for the list of cities and My vacation - List of festivals - Horizontal for the list of festivals. You must also set the details item page for each widget to be City and Festival page, respectively.
For more information how to filter child items with parent items from multiple levels, see Display hierarchy of content items.
The following screenshot shows the display of the Cities and Festivals widgets:
Use the following markup for My vacation - List of Cities – Horizontal template:
Use the following markup for My vacation - List of festivals – Horizontal template:
To do this, drop the Hotels widget and set the list view widget template to My vacation - List of hotels - With Thumbnail template. This is the same template that you used for displaying popular hotels on the Home page. On this page, however, you need to display only hotels for the currently opened country.
Note that Hotel type is child of City type, which is child of the Country type and we want to filter hotels by currently opened country (grandparent). Perform the following:
The following screenshot shows the display of Hotels widget:
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