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

How to create theme-compiled.css #444

Open
NicolasGoeddel opened this issue Sep 23, 2020 · 1 comment
Open

How to create theme-compiled.css #444

NicolasGoeddel opened this issue Sep 23, 2020 · 1 comment

Comments

@NicolasGoeddel
Copy link

Hi there,

I create a new theme within my addon using bobtemplates.plone. After correcting @barceloneta_path and enabling the developer mode in http://localhost:8080/Plone3/@@resourceregistry-controlpanel the theme is finally visible.
Now I want to create the file theme-compiled.css so I can disable development mode again. How can I do that?
I added already the plone-compile-resources to my develop.cfg:

parts +=
    resources
[resources]
recipe = zc.recipe.egg
eggs =
    plone.staticresources
scripts = plone-compile-resources

and tried compiling the resources but it seems not to find the theme. Do I have to create a bundle manually in profiles/default/registry.xml to make it work? If yes, what do I need to add there exactly?

I also tried compiling CSS in the tools menu of the @@theming-controlpanel-mapper. But this seems to be "Working..." endlessly. Also there is no information anywhere visible in the backend. I usually start my client in the foreground (client1 fg).

Any advice on how to compile the theme for production use? Thank you!

@MrTango
Copy link
Contributor

MrTango commented Nov 12, 2020

Hi @NicolasGoeddel, which template di you use and which version of plonecli/bobtemplates.plone do you have?

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

No branches or pull requests

2 participants