timmyomahony / craft-matrix-field-preview

Configure a screenshot preview for all your matrix field blocks, giving your clients a better publishing experience.
https://plugins.craftcms.com/matrix-field-preview
Other
16 stars 4 forks source link

Allow Categories to disable on a per site basis #89

Open DTesch-Reem opened 2 years ago

DTesch-Reem commented 2 years ago

It would be awesome if i could disable specific Groups on a per site basis. I'm using a plugin called MatrixMate and it is working great, but if i want to disable specific types on a per site basis it gets overwritten by craft-matrix-field-preview.

timmyomahony commented 2 years ago

Thanks @DTesch-Reem for this and the pull request. I'll check it out.

stevecomrie commented 2 years ago

This would be a great feature.

The ability to disable or hide certain blocks depending on the current section and/or site is a fantastic aspect of MatrixMate, and one that I think lets you build more flexible content builders / matrix fields.

timmyomahony commented 2 years ago

Hey, so just to confirm: the end goal here is actually to be able to hide particular blocks on particular sites right? So you would like to be able to, for example, "only show this category of CTAs on site A". The solution at the moment would be to have multiple separate matrix fields entirely: one for each site you want.

stevecomrie commented 2 years ago

Hiding blocks between sites would be great.

Hiding blocks between sections and/or entryTypes would be better.

All would be fantastic.

Matrixmate has several different context configs that it allows you to configure blocks usage against:

https://github.com/vaersaagod/matrixmate/blob/master/README.md#config-contexts