1

Try as I might I just can't seem to get categories to show as nested in the Control Panel as shown on https://docs.craftcms.com/v3/categories.html#creating-and-editing-categories

There's no level of depth set on the category group, so not sure what else is at play?

2 Answers 2

1

So, there's no mention of this in the v3 docs that I could see.

I went back to an older project where I'd used categories to find that I set the Category URI format field to {% if object.level == 1 %}read/category/{slug}{% else %}{parent.uri}/{slug}{% endif %}

This was obviously documented at some point for me to implement it on what would have been an original Craft install.

There's no mention of this being needed to enabled nested categories on https://docs.craftcms.com/v3/categories.html#category-groups so it should get added.

1

Set the sorting display as Structure.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.