Using modx Evo a container unfortunately seems to also be a page with content. I’m looking for a way to avoid that.
Example:
I’d like to setup a menu on the site, which is 1 level deep, like
Products
- prod 1
- prod 2
Services
- service 1
- service 2
Company
- about us
- contact
I would like the top-level items (Products, Services, Company) to be containers holding the other pages. But I don’t want to give these containers any content. All they should do is contain and thus structure the actual pages.
The menu would be generated by wayfinder (and YAMS for multilingual stuff).
This all works fine, but unfortunately the top-level items are clickable in the menu and lead to empty pages. Even if I tweak the wayfinder templates in a way to not link the top-level menu entries, MODx will still create pages for them.
I’m aware of the firstchildredirect but that together with the tweaked wayfinder templates is only a workaround.
Question:
Is there any way to make these containers just that: a container?