1

If not, how would you best approach this issue?

For us, different sites have different categories, and also, not always the same number of categories.

At the moment, when we create a category, it gets created for all sites and only thing we can do is rename it on different sites.

If we delete a category from one site, it gets deleted on all sites.

Only solution that I can think of at the moment, is to have all categories created on all sites. In backend, all categories would be visible and available on all sites. On frontend we would just display only those categories which have entries in them, per site.

But we are talking about a lot of categories here, it would be messy.

Any better solutions?

Thanks!

1

While this was originaly scheduled for Craft 3.2 (https://github.com/craftcms/cms/issues/2122) this was not in the 3.2 release. Brandon mentioned on Discord (link) that categories will be going away altogether in Craft 4.0:

Here is his comment:

tags and categories are both going away in Craft 4. 3.x (maybe as early as 3.2) will see a big update to Entries fields, where they will be able to behave more like current Categories and Tags fields, if desired and 4.0 will just convert all existing categories & tags over to entries

So as it stand, I wouldn't use categories anymore and use structures instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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