Web Developer Course

Category Lists

In this video, we learn how to dynamically display and filter categories on a movie site using Velocity queries. By pulling genre categories from the dotCMS backend, we create a clickable list on the sidebar that reflects the defined genres like action, comedy, drama, and thriller. This list updates automatically when changes are made in the backend, ensuring a seamless front-end filtering experience. The CategoryListing.VTL file controls how these categories are displayed, making it easy to manage and update without template changes. This approach streamlines the user experience by presenting a consistent and user-friendly way to navigate and filter content on the site.

Next up

Chapter 19: Personalization and the Visitor Object

Continue →