Web Developer Course
Dynamic Widgets
The video demonstrates building a reusable widget pattern in dotCMS using a widget content type. The goal is to create a curated movie list widget that allows content contributors to control output through fields like title, genre, date range, and more. Widgets are created by defining fields for editors to interact with and velocity code to run when the widget renders on a page. The video covers creating a widget from scratch, adding fields like categories and checkboxes, and utilizing the widget code field for velocity logic. The pre-built curated movie list widget is also discussed, emphasizing the importance of the widget code field.
Next up
Chapter 11: Managing VTL's Across Hosts