# Relative path not working in global partial

**URL:** <https://community.hubspot.com/t/relative-path-not-working-in-global-partial/69022>\
**Category:** CMS Development\
**Tags:** design-manager\
**Created:** [November 10, 2022, 3:18pm UTC](https://community.hubspot.com/t/relative-path-not-working-in-global-partial/69022 "2022-11-10T15:18:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DMaestas](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dmaestas/32/196866_2.png) [@DMaestas](https://community.hubspot.com/u/DMaestas)\
**Post date:** [November 10, 2022, 3:18pm UTC](https://community.hubspot.com/t/relative-path-not-working-in-global-partial/69022/1 "2022-11-10T15:18:43Z")

</div>

I am developing a theme that I want to submit to marketplace.

I have a few custom DND modules in my footer, and they are called using an absolute path. i.e /theme/modules/example.module.  
According to HubSpot verification, I need to make it a relative path. I have tried the following options.

../modules/example.module

./modules/example.module

/modules/example.module

When I use these paths, I get an error stating that it cannot find my module. However, when I use an absolute path, the error disapears.  
How can I solve this problem?

---

<div class="post-metadata">

**Author:** ![BarryGrennan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/barrygrennan/32/97794_2.png) [@BarryGrennan](https://community.hubspot.com/u/BarryGrennan)\
**Post date:** [November 10, 2022, 3:39pm UTC](https://community.hubspot.com/t/relative-path-not-working-in-global-partial/69022/2 "2022-11-10T15:39:33Z")

</div>

So, it’ll depend on your folder structure, but assuming your footer is nested in templates/partials/footer.html you’ll want to go up two levels before going “down” to the modules folder, so ../../modules/example.module

* * *

 ![profile2022a.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7273a34ccfe3489fceebc8a36eca751481b59531.jpeg)

**Barry Grennan**

[Freelance HubSpot CMS Developer](https://www.seoanseo.ca?utm_source=HubSpotCommunity)

[Website](https://www.seoanseo.ca?utm_source=HubSpotCommunity) | [Contact](https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity) | [LinkedIn](https://www.linkedin.com/in/barrygrennan)

---

<div class="post-metadata">

**Author:** ![DMaestas](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dmaestas/32/196866_2.png) [@DMaestas](https://community.hubspot.com/u/DMaestas)\
**Post date:** [November 10, 2022, 3:41pm UTC](https://community.hubspot.com/t/relative-path-not-working-in-global-partial/69022/3 "2022-11-10T15:41:49Z")

</div>

You are a god send thank you so much. It worked!
