Skip to content

incorrect file name in custom.block.html #914

Closed

Description

@adnus

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!!

Activity

  1. stevepiercy commented on Jan 26, 2025

    @stevepiercy
    Member

    @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/

  2. added a commit that references this issue on Nov 13, 2025
    2afe5af
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions