IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
The home page, displays summary information for all countries and most popular hotels. It also gives option for quick access to different cities of countries.
To do this drop the Countries widget and set the list view widget template to My vacation - List of countries - With Thumbnail template. This template shows different countries with a picture and number of cities.
The following screenshot shows the display of Countries widget:
Use the following markup for My vacation - List of countries - With Thumbnail template:
To do this, drop the Hotels widget and set the list view widget template to My vacation - List of hotels - With Thumbnail template. Similarly, to the countries widget template, the hotels list template shows images with thumbnails from of hotel and information about the location and star index of the hotel. As Hotel is child type of City, which is a child type of Country, it means that, by default, hotels from all cities from all countries are displayed. To show only popular hotels, apply filtering by tag popular.
The following screenshot shows the display of Hotels widget:
Use the following markup for My vacation - List of hotels - With Thumbnail template:
You can display a list of countries and each country’s cities using the hierarchical items API. To do that, drop the Countries widget on the page and set the list view widget template to My vacation - List of countries with cities template.
Use the following markup for My vacation - List of countries with cities template:
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