Details
-
Story
-
Resolution: Done
-
Medium
-
4.6.x-dev
-
[4.6] - Sprint 19
-
Ibexa Open Source
Description
Let's say we have 2 views of the same View Type but we need to get them matched depending on if it's a content preview or view. Currently we need to use different view types in that case.
Proposing the new IsPreview: true|false View Matcher for the following sample configuration context:
ibexa: system: default: content_view: app: my_view: template: '@ibexadesign/app/my_view.html.twig' match: Identifier\ContentType: [ my_content_type ] IsPreview: false my_preview: template: '@ibexadesign/app/my_preview.html.twig' match: Identifier\ContentType: [ my_content_type ] IsPreview: true