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:
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important