<?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 Module inside module in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Module-inside-module/m-p/961702#M38679</link>
    <description>&lt;P&gt;Hi everybody!&lt;/P&gt;
&lt;P&gt;I have a small (I hope!) problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm working on a blog that is becoming multilangual and I need to add the HubSpot's language switcher.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've already used it in the past so I'm used to it.&lt;/P&gt;
&lt;P&gt;The problem is that in this peculiar case, the header is a module, so if i try to insert another module inside it, an error appears.&lt;/P&gt;
&lt;P&gt;Can you suggest me the fastest workaround to this problem?&lt;/P&gt;
&lt;P&gt;Do I have to recreate the header like an HTML file or is there another way?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank a lot for your help! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2024 08:58:56 GMT</pubDate>
    <dc:creator>EricaFontimedia</dc:creator>
    <dc:date>2024-04-17T08:58:56Z</dc:date>
    <item>
      <title>Module inside module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Module-inside-module/m-p/961702#M38679</link>
      <description>&lt;P&gt;Hi everybody!&lt;/P&gt;
&lt;P&gt;I have a small (I hope!) problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm working on a blog that is becoming multilangual and I need to add the HubSpot's language switcher.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've already used it in the past so I'm used to it.&lt;/P&gt;
&lt;P&gt;The problem is that in this peculiar case, the header is a module, so if i try to insert another module inside it, an error appears.&lt;/P&gt;
&lt;P&gt;Can you suggest me the fastest workaround to this problem?&lt;/P&gt;
&lt;P&gt;Do I have to recreate the header like an HTML file or is there another way?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank a lot for your help! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 08:58:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Module-inside-module/m-p/961702#M38679</guid>
      <dc:creator>EricaFontimedia</dc:creator>
      <dc:date>2024-04-17T08:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Module inside module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Module-inside-module/m-p/961783#M38681</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/65833"&gt;@EricaFontimedia&lt;/a&gt;&amp;nbsp;the language switcher doesn't have to be it's own module, you can add the code needed directly to the existing header module.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;This would require a developer, I recommend reaching out in the &lt;A href="https://developers.hubspot.com/slack" target="_blank" rel="noopener"&gt;HubSpot Developer Slack&lt;/A&gt; #jobs channel if you don't have someone on your team proficient with hubL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 11:43:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Module-inside-module/m-p/961783#M38681</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2024-04-17T11:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Module inside module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Module-inside-module/m-p/961816#M38683</link>
      <description>&lt;P&gt;Hi Jennifer,&lt;/P&gt;
&lt;P&gt;I have the code and it is a module:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;div class="language-switcher"&amp;gt;
              &amp;lt;div class="header__language-switcher--label"&amp;gt;
              {% module 'language-switcher' path='@hubspot/language_switcher',
                label='Language switcher',
                display_mode='localized'
              %}
              &amp;lt;div class="header__language-switcher--label-current"&amp;gt; {{ locale_name(locale) }}&amp;lt;/div&amp;gt;
            &amp;lt;/div&amp;gt;
            &amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 17 Apr 2024 12:37:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Module-inside-module/m-p/961816#M38683</guid>
      <dc:creator>EricaFontimedia</dc:creator>
      <dc:date>2024-04-17T12:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Module inside module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Module-inside-module/m-p/964452#M38737</link>
      <description>&lt;P&gt;Hi everybody, is there somebody that could help me to solve this problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 12:11:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Module-inside-module/m-p/964452#M38737</guid>
      <dc:creator>EricaFontimedia</dc:creator>
      <dc:date>2024-04-22T12:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Module inside module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Module-inside-module/m-p/965124#M38759</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/65833"&gt;@EricaFontimedia&lt;/a&gt;&amp;nbsp;here's what you'll need to do:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1 - rebuild the header as a global partial&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2 -&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;create a module for the nav &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3 - use the default ls(@hubspot/language-switcher&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 10:55:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Module-inside-module/m-p/965124#M38759</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2024-04-23T10:55:41Z</dc:date>
    </item>
  </channel>
</rss>

