Broken Links in HubSpot Footer Pointing to Shopify Pages and Blog Articles
SOLVE
Hi everyone,
I'm encountering a strange issue with a page I built entirely on HubSpot — including the design, content, and footer. The page is live here: https://blog.lescuistotsmigrateurs.com/
My main website is hosted on Shopify, and in the footer I created directly in HubSpot, I’ve added several links pointing to:
It looks like you're using something like {{ link.url }} in your code but if you break down the output above, you see that you need to go down further to get access to the url: {{ link.url.href }}.
Broken Links in HubSpot Footer Pointing to Shopify Pages and Blog Articles
SOLVE
Normally, footers use the hubspot/menu.module to make use of the Hubspot Navigation available in settings. It looks like the modile you're using is coded incorrectly to use Link fields.
I'm not sure what Theme you're using or what module you're using but yes, you would be able to go Design Manager and find the module to edit it. However, if it's Theme you downloaded from the Marketplace, you would need to make a child theme and edit it there.
It looks like you're using something like {{ link.url }} in your code but if you break down the output above, you see that you need to go down further to get access to the url: {{ link.url.href }}.
Broken Links in HubSpot Footer Pointing to Shopify Pages and Blog Articles
SOLVE
Hi, thank you for your detailed explanation!
I see what you mean about needing to use link.url.href instead of just link.url, but to be honest I haven't touched the code myself — everything was built using HubSpot’s default modules or drag-and-drop editor. So I'm not sure where this logic is coming from or how I could fix it.
Is there a place where I can access this logic (maybe in the Design Manager or module settings)? Or do I need to go into a specific coded template to find and adjust that part?
Right now, I still don't really understand where this link.url output is being generated from in my page setup. So any help to locate or access the right place to make that fix would be appreciated! Thank you !
Broken Links in HubSpot Footer Pointing to Shopify Pages and Blog Articles
SOLVE
Normally, footers use the hubspot/menu.module to make use of the Hubspot Navigation available in settings. It looks like the modile you're using is coded incorrectly to use Link fields.
I'm not sure what Theme you're using or what module you're using but yes, you would be able to go Design Manager and find the module to edit it. However, if it's Theme you downloaded from the Marketplace, you would need to make a child theme and edit it there.