The idea:
It would be awesome if developers could extend theme modules with their own custom modules. Case:
1. We have created pages based on the theme bought in MP by default theme is read-only
2. If we want to create our own module we are able to do this only by creating the module somewhere in the Desing Manager files and picking it up only from “all modules”.
In my opinion, the list is not very clear, there is no search and it is hard to guess that the end user should look there for “extra” modules. Solution:
It would be great if the modules were created in the “child theme” or in some other way (eg. adding a field in module settings that would assign them to the selected theme) and then could be available in the “theme modules” section.
Hi @Dawidk This is already possible, when you have a marketplace theme, if you create a child theme, there is an option in Design Tools to “clone to child theme” for any modules or templates.
HubSpot will automatically create the folder structure needed in the child theme.
If you are using local development, you can create the folder structure for the module and add the module directly.
You are right, I’m able to clone the existing modules but I want to create a new one. When I’m trying to do this the new module doesn’t display in the section with theme modules. @Jnix284 unless there is a way to do that?
Are you sure? I’ve created an example module in the child theme (modules directory - same as parent theme) and it is unavailable (not displayed in “modules theme”). Could you share an example?