MODX Community

DynamicDropdownTV - exclude templates

I’ve created 3 dynamic dropdown TVs like shown here. Now I would like to exclude certain templates or if possible generally all resources which are not containers (or parents) themselves. How would I do that?

you can adjust the where - statement within your custom-processors

example here:

1 Like

Thanks for all the help!

I managed to create the custom processor and assign it to the TVs, but I didn’t figure out, what exactly I need to change there. After some more research, my guess is I would need to check against isfolder to see if a resource is a container?

Would someone be able to give me further hints in that direction?

@bruno17 I still couldn’t figure it out, you mind giving me another hint on this?