O'Reilly logo

MODx Web Development by Antano Solar John

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

More theming using chunks

Now that we have learned how to give custom class names for generated <ul> <li> unordered lists, we are able to theme them by having the corresponding styles for the classes. What if we wanted to have a list that is not a <ul> <li> type? Alternatively, what if we wanted to have more control over how the list is generated? WayFinder also allows the user to customize the structure of the generated lists, by using chunks. Similar to the use of custom classes, WayFinder has separate parameters that specify which chunk to use for which level, and so on. As with any chunk, the dynamic content comes from the available placeholders that are set by the snippet (in this case it is WayFinder). In this section, we will look at breadcrumbs ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required