MODx allows menus to be dynamically created, based on the content available, as resources. Menus are basically lists of resources, and submenus are lists of lists (lists within a menu list). In MODx, the simplest way to create lists of all the resources is by using the
[[wayfinder]] snippet. In this chapter, we will learn how MODx allows us to create these lists dynamically, and also learn how to present them as menus.
Every resource that can be shown in a menu must have the Shown in Menu option enabled in the resource's setting page. The Resource setting page also has two other options related to menus: