<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Embed code or create code block to display external content on a Hubspot web page in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Embed-code-or-create-code-block-to-display-external-content-on-a/m-p/802687#M34458</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/141"&gt;@TomM2&lt;/a&gt;&amp;nbsp;- This coming week we're speaking with the company that supplied that code (the firm is non-Hubspot). Hopefully I can orientate them in the HS CMS. I've got some pointers to give them and the knowledge base info you flagged. Let's see how we get on ...&lt;/P&gt;</description>
    <pubDate>Sun, 04 Jun 2023 12:33:50 GMT</pubDate>
    <dc:creator>Chappers</dc:creator>
    <dc:date>2023-06-04T12:33:50Z</dc:date>
    <item>
      <title>Embed code or create code block to display external content on a Hubspot web page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Embed-code-or-create-code-block-to-display-external-content-on-a/m-p/801105#M34391</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have some code that should display a widget form. When I try to embed it or create a module to test this form displaying, it doesn't show anything when previewing the Hubspot CMS page I've added the code to. I'm wondering if I have to do something else e.g. like this info here about require.js &amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://developers.hubspot.com/blog/use-web-components-in-hubspot-cms-development" target="_blank" rel="noopener noreferrer"&gt;https://developers.hubspot.com/blog/use-web-components-in-hubspot-cms-development&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The code I am trying to test is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;div id="homewise-calculator"&amp;gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;window.renderHomewiseCalculator({&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;targetSelector: '#homewise-calculator',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;type: ' budget-booster-listing',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It also uses a URL reference which i understood should be in header:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;script src="&lt;/SPAN&gt;&lt;A class="" href="https://homewise.dabdev.net/js/homewise-calculator-widget.js" target="_blank" rel="noopener noreferrer"&gt;https://homewise.dabdev.net/js/homewise-calculator-widget.js&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 12:19:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Embed-code-or-create-code-block-to-display-external-content-on-a/m-p/801105#M34391</guid>
      <dc:creator>Chappers</dc:creator>
      <dc:date>2023-05-31T12:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Embed code or create code block to display external content on a Hubspot web page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Embed-code-or-create-code-block-to-display-external-content-on-a/m-p/801175#M34393</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/507894"&gt;@Chappers&lt;/a&gt;&amp;nbsp;if you're just trying to add some custom code onto your site you could just use the "&lt;A href="https://knowledge.hubspot.com/website-pages/edit-content-in-a-rich-text-module#:~:text=To%20access%20the%20source%20code,complex%20HTML%20to%20your%20page." target="_blank" rel="noopener"&gt;source code&lt;/A&gt;" button within a rich text module.&amp;nbsp;&lt;BR /&gt;Alternatively if you plan on reusing it, it might be beneficial to just create a custom module within the design manager and copy your code in here:&amp;nbsp;&lt;A href="https://knowledge.hubspot.com/design-manager/create-and-edit-modules" target="_blank"&gt;https://knowledge.hubspot.com/design-manager/create-and-edit-modules&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I just tested this out however and it looks like there's actually an issue with the code itself that's causing it not to appear on the page:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TomM2_0-1685541960390.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/92036iC250502BF26E0776/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TomM2_0-1685541960390.png" alt="TomM2_0-1685541960390.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 14:06:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Embed-code-or-create-code-block-to-display-external-content-on-a/m-p/801175#M34393</guid>
      <dc:creator>TomM2</dc:creator>
      <dc:date>2023-05-31T14:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Embed code or create code block to display external content on a Hubspot web page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Embed-code-or-create-code-block-to-display-external-content-on-a/m-p/802687#M34458</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/141"&gt;@TomM2&lt;/a&gt;&amp;nbsp;- This coming week we're speaking with the company that supplied that code (the firm is non-Hubspot). Hopefully I can orientate them in the HS CMS. I've got some pointers to give them and the knowledge base info you flagged. Let's see how we get on ...&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2023 12:33:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Embed-code-or-create-code-block-to-display-external-content-on-a/m-p/802687#M34458</guid>
      <dc:creator>Chappers</dc:creator>
      <dc:date>2023-06-04T12:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Embed code or create code block to display external content on a Hubspot web page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Embed-code-or-create-code-block-to-display-external-content-on-a/m-p/803554#M34487</link>
      <description>&lt;P&gt;Solved this with supplier dev. Turns out an additional space had crept into the code before the 'b' in budget-booster-listing&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_screaming_in_fear:"&gt;😱&lt;/span&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 14:37:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Embed-code-or-create-code-block-to-display-external-content-on-a/m-p/803554#M34487</guid>
      <dc:creator>Chappers</dc:creator>
      <dc:date>2023-06-06T14:37:19Z</dc:date>
    </item>
  </channel>
</rss>

