I have a dropdown menu that was created using Wayfinder in MODx. My goal is to customize specific page links within the dropdown based on the template each page is using.
For example, if a page is using template "A", I want its link in the dropdown to be given the class A so that it can be styled accordingly.
How do you suggest accomplishing this?
Additionally, I would like to arrange the page links in the dropdown according to the templates of their respective pages.
Thank you!
Edit:
In essence, my objective is to personalize certain page links in the dropdown based on a template variable I have established. I have created a TV called [status] that allows users to select one of three radio options when editing a page.
So, for instance, if a page's [status] is set to "A", its link in the dropdown will receive the class A and can then be styled accordingly