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

Add support for Plone resource overrides #12

Merged
merged 1 commit into from Sep 19, 2020

Conversation

malthe
Copy link
Contributor

@malthe malthe commented Sep 19, 2020

This adds support for overriding static resources as registered by plone.resource.

Note that in principle this could live in a new "plone.jbot" package, but since we already have support for Zope 2 CMF objects (when Zope 2 is present), it is considered to be a reasonable inclusion here.

@pbauer
Copy link
Member

pbauer commented Sep 19, 2020

@malthe This is excellent work! We really missed this feature. See https://community.plone.org/t/missing-feature-override-static-resources/11307 or https://community.plone.org/t/how-to-customize-the-favicon-of-a-plone-5-2-site/9110.

Now we can for example override index.html, rules.xml or the favicon from plonetheme.barcloneta using jbot without having to create a custom theme in the filesystem or in the database.

I owe you a 🍺

@malthe
Copy link
Contributor Author

malthe commented Sep 20, 2020

This has been released as version 1.1.0.

@dbitouze
Copy link

@malthe This is excellent work! We really missed this feature. See https://community.plone.org/t/missing-feature-override-static-resources/11307 or https://community.plone.org/t/how-to-customize-the-favicon-of-a-plone-5-2-site/9110.

Now we can for example override [...] the favicon from plonetheme.barcloneta using jbot without having to create a custom theme in the filesystem or in the database.

@pbauer Could you elaborate how to proceed? Thanks.

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

Successfully merging this pull request may close these issues.

None yet

3 participants