Hi,
Is it possible without AJAXing in to include a remote file onto your HUBL template?
e.g. in PHP we might do…
<div class="customer-logos">
<?php echo file_get_contents('https://mywebsite.com/customer-logos.html'); ?>
</div>
This will print the contents of the `customer-logos.html ` within the webpage.
Really we’re looking for a way to import certain components from our website into some HubSpot forms.
Thanks
Hey @owenmelbz
Welcome to the Community!
@stefen , @tjoyce what do you think about this?
tjoyce
February 8, 2021, 10:46am
3
@owenmelbz - This would be soooo helpful, especially if you would like to digest a raw json file from an external source with hubl…
I have yet to see this functionality.
stefen
February 8, 2021, 2:05pm
4
@dennisedson @owenmelbz @tjoyce you can use the standard `{% include %}` function for that but it only works for hubl files. Remote files would be cool but I know that opens up some potential security issues.