# getting error while developing template

**URL:** <https://community.hubspot.com/t/getting-error-while-developing-template/109962>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [June 24, 2024, 1:41pm UTC](https://community.hubspot.com/t/getting-error-while-developing-template/109962 "2024-06-24T13:41:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RKhan33](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@RKhan33](https://community.hubspot.com/u/RKhan33)\
**Post date:** [June 24, 2024, 1:41pm UTC](https://community.hubspot.com/t/getting-error-while-developing-template/109962/1 "2024-06-24T13:41:48Z")

</div>

Hi, am getting error while developing a template. error is

Error:The template cannot contain “dnd\_area” modules. Please remove “dnd\_area” on line 3.

I don’t wanna use global header. I want to create a custom header with drag drop functionality. I have done this. but while saving changes in another file, I get this error. my file structure is

 ![RKhan33_0-1719236071258.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/1/e1270aa1eee3d4b120b4da22e0cbc4d79e7a21a2.jpeg)

“dnd\_area” is used in header file.

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [June 24, 2024, 3:34pm UTC](https://community.hubspot.com/t/getting-error-while-developing-template/109962/2 "2024-06-24T15:34:56Z")

</div>

Hi @RKhan33

Is your header file is a section file or a partial template file?

Thanks!

---

<div class="post-metadata">

**Author:** ![RKhan33](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@RKhan33](https://community.hubspot.com/u/RKhan33)\
**Post date:** [June 24, 2024, 3:36pm UTC](https://community.hubspot.com/t/getting-error-while-developing-template/109962/3 "2024-06-24T15:36:23Z")

</div>

its partial template file

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [June 25, 2024, 1:35pm UTC](https://community.hubspot.com/t/getting-error-while-developing-template/109962/4 "2024-06-25T13:35:09Z")

</div>

Hi @RKhan33

Okay, can you please share a full-page screen shot of your base file and your partial template.

Thanks!

---

<div class="post-metadata">

**Author:** ![RKhan33](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@RKhan33](https://community.hubspot.com/u/RKhan33)\
**Post date:** [June 25, 2024, 1:53pm UTC](https://community.hubspot.com/t/getting-error-while-developing-template/109962/5 "2024-06-25T13:53:18Z")

</div>

Hi Gaurav, thanks for your participation. I have resolved the issue.
