CMS Development

HLin
Participant | Platinum Partner
Participant | Platinum Partner

CMS Development Tutorials - "Getting started with modules" Bug

SOLVE

I am trying my hand at working with the web development side of HubSpot and going through the tutorials one by one. I've started the "Getting started with modules" tutorial and got through Part 1 without problem. In Part 2, however, when I attempt to add the Testimonial.module created from Part 1 into the home.html template in the suggested line, I get an error along the lines of:

Invalid argument in 'dnd_module': dnd_area-module-4 spanning columns 1 to 6 overlaps with dnd_area-module-3 spanning columns 1 to 12

 

After attempting to redo the tutorial and doing my own debugging, I determined that the code I'm adding doesn't result in the desired change that is shown in the tutorial:

 

Default-Module-in-Template-11.png

 

In addition, the tutorial references a homepage.html that doesn't exist and thus I assumed would be the home.html file.

And so, I came to the conclusion that either there is a bug I don't understand while attempting this tutorial, or the tutorial is possibly out of date. I am wondering if anyone else is running into the same issue or if they have resolved this before and how?

1 Accepted solution
lourancostahs
Solution
Contributor

CMS Development Tutorials - "Getting started with modules" Bug

SOLVE

Hi @HLin and @cprv .


I was having the same problem, maybe these two link can help you.

https://community.hubspot.com/t5/CMS-Development/Cant-get-grid-system-to-work/m-p/435588

https://developers.hubspot.com/docs/cms/hubl/tags/dnd-areas#drag-and-drop-module-code-dnd-module-cod...

In my case I decide that each module has width=4, the first start with offset = 0, the secont with offset = 4 and the last with offset = 8.

Screenshot 2023-01-25 at 15.43.14.pngScreenshot 2023-01-25 at 15.56.35.png

 

View solution in original post

6 Replies 6
LFilip
Participant

CMS Development Tutorials - "Getting started with modules" Bug

SOLVE

For anyone here with the same issue, the problem comes from the grid system. @lourancostahs answer should be accepted as a fix. In my case for the same issue, his suggestion did the trick.

0 Upvotes
LFilip
Participant

CMS Development Tutorials - "Getting started with modules" Bug

SOLVE

I got into the same issue following the tutorial, I'm stuck, any news with this?

0 Upvotes
lourancostahs
Solution
Contributor

CMS Development Tutorials - "Getting started with modules" Bug

SOLVE

Hi @HLin and @cprv .


I was having the same problem, maybe these two link can help you.

https://community.hubspot.com/t5/CMS-Development/Cant-get-grid-system-to-work/m-p/435588

https://developers.hubspot.com/docs/cms/hubl/tags/dnd-areas#drag-and-drop-module-code-dnd-module-cod...

In my case I decide that each module has width=4, the first start with offset = 0, the secont with offset = 4 and the last with offset = 8.

Screenshot 2023-01-25 at 15.43.14.pngScreenshot 2023-01-25 at 15.56.35.png

 

Jaycee_Lewis
Community Manager
Community Manager

CMS Development Tutorials - "Getting started with modules" Bug

SOLVE

Thanks for sharing that, @lourancostahs 🙌


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 Upvotes
cprv
Participant | Diamond Partner
Participant | Diamond Partner

CMS Development Tutorials - "Getting started with modules" Bug

SOLVE

I also ran into this same issue.

0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

CMS Development Tutorials - "Getting started with modules" Bug

SOLVE

Hi, @HLin 👋 Thanks for bringing this to our attention. I am going to block some time off today and run through the guide up to where you are having issues. I'll follow up here with what I find out for us. 

 

Talk soon! — Jaycee


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 Upvotes