How to reload programaticaly the manifest.cfg file of a theme

Hello

Is there a way to reload programaticaly the manifest.cfg file? I have a lot of Plone Sites to upgrade and I don't want to copy/paste the new line or to re-activate the theme for each site...

Thanks :slight_smile:

Put a theme.xml (see example from barceloneta theme) in your GenericSetup profile, and apply the plone.app.theming import step.

Or do it in a few lines of Python code by combining some code from that import step and the utility function that it calls.

1 Like