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

incorrect file name in custom.block.html #914

Open
adnus opened this issue Jan 26, 2025 · 1 comment
Open

incorrect file name in custom.block.html #914

adnus opened this issue Jan 26, 2025 · 1 comment
Labels
60: Volto Customization for JavaScript Beginners Volto Customization for JavaScript Beginners Training

Comments

@adnus
Copy link

adnus commented Jan 26, 2025

there is a typo in https://training.plone.org/volto-customization/custom_block.html

We need to configure the project to make it aware of a new block by adding it to the object configuration that is located in "src/config.js". For that we need the 2 blocks components we created and a svg icon that will be displayed in the blocks chooser.

should be

We need to configure the project to make it aware of a new block by adding it to the object configuration that is located in "src/index.js". For that we need the 2 blocks components we created and a svg icon that will be displayed in the blocks chooser.

index.js, not config.js.

I finished the exercise with a new volto weather block 10min ago :-)

BTW, great work and many thanks to all the writers and trainers, this is a great guide and plone is fun!!

@stevepiercy
Copy link
Contributor

@adnus thanks for the report! Would you please submit a pull request with the fix?

For a typo fix, you don't need to sign the Plone Contributor Agreement, but instead include this statement in the description of your pull request.

I, [full name], agree to have this contribution published under Creative Commons 4.0 International License (CC BY 4.0), with attribution to the Plone Foundation.

Details: https://training.plone.org/contributing/

@stevepiercy stevepiercy added the 60: Volto Customization for JavaScript Beginners Volto Customization for JavaScript Beginners Training label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
60: Volto Customization for JavaScript Beginners Volto Customization for JavaScript Beginners Training
Projects
None yet
Development

No branches or pull requests

2 participants