Links in custom HTML HUBL not working...what am I doing wrong?!
SOLVE
hey there, I just visit your site, you're probably using 'page field' which just give you the unique id of a page, maybe you just let it be a text field and just add some regex validation to it, hope that works for you.
I've checked the page. The link works but leads you to an 404 error page as the requested page isn't availible. After checking the source code I've noticed that the
<a href="">
part shows a random number insted of a link.
This is how the source code looks like:
How do you insert the link inside the module?
Have you tried to insert a link with http:// or https://?
Links in custom HTML HUBL not working...what am I doing wrong?!
SOLVE
@jly, it is doing something. your code looks fine to me.
sometimes i change the field being passed to troubleshoot.
for example: try putting the {{ module.content_header }} in place of the link. see if the header data is passed correctly. if so, delete the link field and make a new one.
hope that gets you somewhere
Join us on March 27th at 12 PM for the Digital Essentials Lab, an interactive session designed to redefine your digital strategy!
Engage with expert Jourdan Guyton to gain actionable insights, participate in live Q&A, and learn strategies to boost your business success. Don't miss this opportunity to connect and grow—reserve your spot today!
after checking your page and the source code of your page it seems that the link(s) are working but leading to an 404 error page. This means that you're inserting wrong links.
Links in custom HTML HUBL not working...what am I doing wrong?!
SOLVE
Hey Anton, thanks for looking into this. The links cannot be incorrect because they are directly selected from hubspot's default "Page" dropdown menu which pulls together a list of all website pages and landing pages from our site.
The issue has been resolved, albeit through another solution.