-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add the portal_url parameter to be used with Diazo rules #376
Conversation
Add the portal_url parameter to be used with Diazo rules
Use the portal_url theme parameter in backend.xml
@yurj 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 |
@thet can this PR be a problem for collective.lineage? It just use the variable in |
Note: Jenkins failures have nothing to do with this PR |
Use TAL expression, safer.
@jenkins-plone-org please run jobs |
Let's wait @petschki before merging it. |
I thought this is automatically done when you add a starting slash to the resources in your theme template like Greetings from Sardegna ☀️🏖️😅 |
Great Sardegna! ☀️ |
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.
👍 and ❤️ for this PR!
Minor comments though - I think I'd remove the curly braces, if they are not needed.
Check that again, please.
I'm approving, so you can check my comments and apply my suggestion if applicable or otherwise just merge, if the curlys are needed.
Greetings from our Wales/England vacation :D
Looking at this rule, for example:
the css will be loaded relative to the content. This is problematic:
This PR add the portal_url variable in the theme parameters (manifest.cfg) and apply it in backend.xml