<?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: Problem adding module to html file in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Problem-adding-module-to-html-file/m-p/769573#M33351</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/392435"&gt;@KasieMarie&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;first thing I'd try would be to right click on the custom sharing module, copy the snippet and paste it into the template.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also try to change the name of this module in the template so it becomes something different. So instead of&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% module "module_NUMBERS" path="" label="" %}&lt;/LI-CODE&gt;
&lt;P&gt;try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% module "custom_social_sharing" path="" label="" %}&lt;/LI-CODE&gt;
&lt;P&gt;or change any number in the current name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Technical background: You can't have the same name twice in a template.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2023 10:33:37 GMT</pubDate>
    <dc:creator>Anton</dc:creator>
    <dc:date>2023-03-16T10:33:37Z</dc:date>
    <item>
      <title>Problem adding module to html file</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-adding-module-to-html-file/m-p/769207#M33341</link>
      <description>&lt;P&gt;Hello community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on updating our blog template to add social sharing buttons. Because of our branding, I cannot use the hubspot developed module for social sharing and need to customize the icons.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I put in the module snippet into the template code as seen below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KasieMarie_0-1678900906713.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/87377i5D591E8220AFE6A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KasieMarie_0-1678900906713.png" alt="KasieMarie_0-1678900906713.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The output that I get is:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KasieMarie_1-1678901033072.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/87378i27C98423112CACD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KasieMarie_1-1678901033072.png" alt="KasieMarie_1-1678901033072.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is that I'm not seeing any of the social sharing buttons on the template where I put them (in live, or in preview).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KasieMarie_2-1678901258052.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/87379i6721548BC8193F83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KasieMarie_2-1678901258052.png" alt="KasieMarie_2-1678901258052.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do see the social sharing module in the blog editor. But, the issue is that I want to social sharing buttons as part of the blog template, not the blog post itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;*note: when I put in the snippet for the hubspot provided social sharing module, the code works fine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've checked the path, I've manually entered the snippet, I've even re-cloned the social sharing module to ensure I didn't introduce a bug.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help on this?&lt;/P&gt;&lt;P&gt;Best,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kasie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 17:29:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-adding-module-to-html-file/m-p/769207#M33341</guid>
      <dc:creator>KasieMarie</dc:creator>
      <dc:date>2023-03-15T17:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding module to html file</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-adding-module-to-html-file/m-p/769573#M33351</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/392435"&gt;@KasieMarie&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;first thing I'd try would be to right click on the custom sharing module, copy the snippet and paste it into the template.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also try to change the name of this module in the template so it becomes something different. So instead of&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% module "module_NUMBERS" path="" label="" %}&lt;/LI-CODE&gt;
&lt;P&gt;try&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% module "custom_social_sharing" path="" label="" %}&lt;/LI-CODE&gt;
&lt;P&gt;or change any number in the current name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Technical background: You can't have the same name twice in a template.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 10:33:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-adding-module-to-html-file/m-p/769573#M33351</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2023-03-16T10:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding module to html file</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-adding-module-to-html-file/m-p/776024#M33540</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Problem adding module to html file&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Hello &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/392435"&gt;@KasieMarie&lt;/a&gt;&amp;nbsp;&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I can give you a module snipped, it can help you.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;{% module "social_sharing" path="../modules/social-sharing", label="social-sharing" %}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 10:33:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-adding-module-to-html-file/m-p/776024#M33540</guid>
      <dc:creator>ankitparmar09</dc:creator>
      <dc:date>2023-03-30T10:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding module to html file</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-adding-module-to-html-file/m-p/798660#M34327</link>
      <description>&lt;P&gt;Did you ever find a solution? I'm dealing with a similar issue.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 22:01:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-adding-module-to-html-file/m-p/798660#M34327</guid>
      <dc:creator>co_space</dc:creator>
      <dc:date>2023-05-24T22:01:41Z</dc:date>
    </item>
  </channel>
</rss>

