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

Broken plone_basic scaffolding? #563

Closed
gforcada opened this issue Nov 17, 2023 · 3 comments
Closed

Broken plone_basic scaffolding? #563

gforcada opened this issue Nov 17, 2023 · 3 comments

Comments

@gforcada
Copy link
Member

  • bobtemplates.plone version: 6.3.1 (with plonecli 2.5 if that matters)
  • Python version: 3.11.6
  • Operating System: Fedora Linux 39

Description

After creating a basic_theme with plonecli, the toolbar and generally mockup is not loading?

imatge

What I Did

  • I followed the training to create a theme from scratch
  • I build plone plonecli build
  • I started it ./bin/instance fg
  • I created a new plone instance (Classic UI)
  • the default theme works fine and great 🌟
  • I got to the add-ons sections and install my add-on
  • the screenshot above is what I get to see 😕

I did not find a way to pin the specific Plone 6.0.x version I wanted, I would have liked to test it on 6.0.0 and then do a binary search through the versions if that one worked, is that not possible? 🤔

@gforcada
Copy link
Member Author

As another data point:

If I go to the src/my/addon/theme and run:

npm install
npm run build

... and restart the instance, the brokenness is still there 😕

@MrTango
Copy link
Contributor

MrTango commented Nov 11, 2024

Hi, sorry for the delay i missed this issue.
That is intended, with the theme_basic template.
It disables Diazo and wants you to override templates like you did before Diazo was introduced into Plone theming.
If you want Diazo with a custom theme, use theme if you want the default Barceloneta theme (also Diazo) use theme_barceloneta.

@MrTango MrTango closed this as completed Nov 11, 2024
@MrTango
Copy link
Contributor

MrTango commented Nov 11, 2024

if you have questions about the theming from scratch approach, please ask @santonelli, he is the author of that training part.

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