Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(twig): Handle preview page of SyliusCmsPagePlugin render #243

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

welcoMattic
Copy link
Contributor

If https://github.com/monsieurbiz/SyliusCmsPagePlugin is installed alongside this plugin, we need to take care of the theme templates on the preview page and not load the Admin template of each Element, but the Shop template.

See the related PR monsieurbiz/SyliusCmsPagePlugin#75

@madamebiz madamebiz added Status: needs review Status: needs review quick win Easy to pick, everybody will be happy. labels Oct 1, 2024
Copy link
Member

@maximehuran maximehuran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need a flexible system here which can be piloted by the Controller on the other side to be able to set the context.

@madamebiz madamebiz added Status: needs update This Issue/PR needs update and removed Status: needs review Status: needs review quick win Easy to pick, everybody will be happy. labels Oct 1, 2024
@maximehuran maximehuran self-requested a review October 2, 2024 12:41
@madamebiz madamebiz added Status: needs review Status: needs review and removed Status: needs update This Issue/PR needs update labels Oct 2, 2024
@maximehuran maximehuran merged commit 168a4c3 into master Oct 2, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: needs review Status: needs review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants