-
-
Notifications
You must be signed in to change notification settings - Fork 44
(Re)Introduce the ajax_load theme parameter and skip diazo theming, if set. #404
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
Conversation
@thet thanks for creating this Pull Request and helping to improve Plone! TL;DR: Finish pushing changes, pass all other checks, then paste a comment:
To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically. Happy hacking! |
@jenkins-plone-org please run jobs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. This should also be added to the docs, so that theme integrators can implement this in their custom rules.xml and parameters too.
@jenkins-plone-org please run jobs |
@thet can this be merged today or tomorrow? then I could do a release and @mauritsvanrees could include it in the upcoming Plone |
@petschki yes, it can be merged. I just wanted to keep it open until I have done the documentation. |
@thet so you merge it, when you're ready with the docs right? I do not have the complete overview what needs to be merged together with this PR ... |
@petschki I've done the docs - improving them is another story and separate from this PR. I'll merge. |
This doesn't seem safe to me. If I have Diazo rules which change the markup of part of a page, then I want to get the changed markup whether I'm loading the entire page or replacing part of it via an ajax request. |
Wouldn't that always be in a custom theme? Then you will have your own variables, rules, and index.html. Sure, this is something to watch out for if your theme is based on Barceloneta. But at least the fix is easy: in the theme variables set |
Uhm the Hm. But I agree with @mauritsvanrees argument. A custom theme will most likely use own rule files, so I do not see a problem here too. |
@thet @mauritsvanrees Right, it helps that this change is only for the Barceloneta theme and not custom themes. |
Related:
plone/Products.CMFPlone#4188
plone/Products.CMFPlone#4169
plone/plone.base#85
#404
plone/plone.app.portlets#203