# dnd\_modules in section templates

**URL:** <https://community.hubspot.com/t/dnd-modules-in-section-templates/125314>\
**Category:** CMS Development\
**Created:** [February 3, 2025, 4:47pm UTC](https://community.hubspot.com/t/dnd-modules-in-section-templates/125314 "2025-02-03T16:47:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SJoyes](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@SJoyes](https://community.hubspot.com/u/SJoyes)\
**Post date:** [February 3, 2025, 4:47pm UTC](https://community.hubspot.com/t/dnd-modules-in-section-templates/125314/1 "2025-02-03T16:47:30Z")

</div>

I am just starting to look into Hubspot CMS and am struggling to get my section template to work. If I try and add 2 dnd\_modules to a section template it gives me the error: Cannot resolve property “[missing {{ token }} value]”

As soon as I remove one of the dnd\_modules it works fine. Why? What am I doing wrong? I can’t find any documentation that goes into enough detail about dnd\_section templates and adding dnd\_modules to them or the error mesage itself. which seems to be very generic.

Thank you.

```lia-code-sample
<!--
 templateType: section
 label: My Section Template
 isAvailableForNewContent: true
 screenshotPath: ../images/section-previews/call-to-action.png
 description: "Please work this time"
-->
{% dnd_section %}
{% dnd_module "first_rich_text"
 path="@hubspot/rich_text",
 html="rich text text here"
 %}
{% end_dnd_module %}
{% dnd_module "second_rich_text"
 path="@hubspot/rich_text",
 html="more rich text text here"
 %}
{% end_dnd_module %}
{% end_dnd_section %}

```

---

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [February 3, 2025, 4:56pm UTC](https://community.hubspot.com/t/dnd-modules-in-section-templates/125314/2 "2025-02-03T16:56:28Z")

</div>

Hey @SJoyes,

welcome to the community and the HubSpot CMS.

DND\_sections and templating can be a bit unusual if you’re just getting started and are familiar with frameworks like Bootstrap. HS is a bit different.

In your example, the error comes from two dnd\_modules in a single dnd\_section…

Here’s an image from the old documentation that should help you understand how to nest things.

 ![Anton_0-1738601599998.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/4/343c836f7ef7ca2198fd5ba24a68bb328165a8a3.png)

Additionally, you can install the [HubSpot dev extension](https://chromewebstore.google.com/search/HubSpot%20Developer%20Extension) for chorme(or any other chromium based browser). It has an option to “enable dev mode” which provides you a “copy hubl” option in the page-editor. This means, you can build a section with drag&drop on a page, copy the whole thing as Hubl, and paste it into your template.

best,

Anton

---

<div class="post-metadata">

**Author:** ![SJoyes](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@SJoyes](https://community.hubspot.com/u/SJoyes)\
**Post date:** [February 4, 2025, 11:08am UTC](https://community.hubspot.com/t/dnd-modules-in-section-templates/125314/3 "2025-02-04T11:08:44Z")

</div>

Thnak you for your reply but things still aren’t making much sense. If I look at my test theme that is based on the boilplate theme, in the sections folder there is clearly a section called multi-row-content.html than contains 2 dnd\_modules (rich Tet and linked Image) within a single dnd\_section. And this works without any problems, so clearly I CAN have 2 dnd\_modules in a single section. I have also noticed that if I edit the multi-row-content.html section template and remove a width or offset field from one of the dnd\_modules then this causes the same error I was getting previously. Don’t know why this should be the case.

I am beginning to think the bigger issue in my understanding is something to do with an old way of building templates (something you aluded to above) vs a new way but it’s not obvious which is which. Or which any given piece of documentation refers to. I can’t find any decent documentation that clearly describes the different ways (old vs new) of creating templates how they differ, advantages, disadvatgaes etc.
