Problem with module cloning

Hello,

I tried to clone a module from a custom theme. After that, I renamed the new module and tried to add it to some page. Unfortunately, in the hubspot page modification area, the new module has the same name as the old one and this therefore creates duplicates.

You can see the duplicates on the picture below.

Thank you for your help,

Hi @antoine3,

renaming the module in the left sidebar is only one side of the medal.

To display the correct name in the page builder you have to rename it in the module(or meta.json) itself.

Just click on the pen icon next to “simple_accordion” and type in a new name.

best,

Anton

@antoine3 - and use the module label on your cloned module to give a unique identifier

Steve

Hi @antoine3

The name which you want to show on you content editor is given in module’s LABEL field. If you leave label field empty then by default pick it will the module name.

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!