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

Diazo theme is active in ZMI in Plone 5.2 #170

Open
mauritsvanrees opened this issue Jan 27, 2020 · 0 comments
Open

Diazo theme is active in ZMI in Plone 5.2 #170

mauritsvanrees opened this issue Jan 27, 2020 · 0 comments

Comments

@mauritsvanrees
Copy link
Member

plone.app.theming has a patch to make sure that the ZMI is not themed. But on Plone 5.2 this does not work. The code patches some DTML files to insert a X-Theme-Disabled header. The patch is loaded and these files are patched. But Diazo is still active. I have seen this with a customer site on 5.2 where compiling Diazo takes several seconds per requests, and the ZMI has this problem too. Appending `?diazo.off=1' to the url fixes it.

Likely this is caused by Zope 4 having a new ZMI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant