You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're migrating some projects from ext:gridelements. As you might know gridelements has an integrated content_defender. The configuration there can be done via PageTSConfig and is therefor page-based (which is great for multi-site instances). In ext:container the content defender configuration can only be done via TCA and is therfor global if we're not mistaken.
Are there any plans on changing or extending this?
We did have a look at the getContentDefenderConfiguration-function in the Registry.php. It seems like the actual content_defender stuff is done on-the-fly. So you actually can access the PageTSConfig of the current page and are potentially able to override the global TCA-based content_defender configuration. Since we need this pretty badly, we are extending the class and try to implement this feature. Are you interested in pull request when we're done or is this something you don't see in ext:container?
The text was updated successfully, but these errors were encountered:
Here is the extending class we use in our project to enable the mentioned behaviour... it basically checks if there's a PageTSConfig configuration for the content defender settings.
Hi and thanks for the great work!
We're migrating some projects from ext:gridelements. As you might know gridelements has an integrated content_defender. The configuration there can be done via PageTSConfig and is therefor page-based (which is great for multi-site instances). In ext:container the content defender configuration can only be done via TCA and is therfor global if we're not mistaken.
Are there any plans on changing or extending this?
We did have a look at the getContentDefenderConfiguration-function in the Registry.php. It seems like the actual content_defender stuff is done on-the-fly. So you actually can access the PageTSConfig of the current page and are potentially able to override the global TCA-based content_defender configuration. Since we need this pretty badly, we are extending the class and try to implement this feature. Are you interested in pull request when we're done or is this something you don't see in ext:container?
The text was updated successfully, but these errors were encountered: