<?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 How to pass data to a nested group in a custom module in a template? in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/How-to-pass-data-to-a-nested-group-in-a-custom-module-in-a/m-p/750251#M32656</link>
    <description>&lt;P&gt;Hello. I'm hoping someone can shed some light on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a template with a series of custom modules and I'm trying to replace the default content in some of the fields with content specific to the type of template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this example I have a field for the heading and field for the copy - both are Rich Text. These are contained in the Text Settings group for the module. How can I set different text for those fields?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried the code below but can only get one field or the other working, but not both. What am I missing? Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% dnd_section %}
    {% dnd_column %}
      {% dnd_row %}
        {% dnd_module path="../modules/Text Row with Image"%}
        {% module_attribute "text_settings" %}{ heading: "&amp;lt;h2&amp;gt;Intro Header&amp;lt;/h2&amp;gt;" }{% end_module_attribute %}
        {% module_attribute "text_settings" %}{ copy: "&amp;lt;p&amp;gt;My Lorem ipsum dolor sit amet.&amp;lt;/p&amp;gt;" }{% end_module_attribute %}
        {% end_dnd_module %}
      {% end_dnd_row %}
    {% end_dnd_column %}
  {% end_dnd_section %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2023 20:03:08 GMT</pubDate>
    <dc:creator>MrCapp</dc:creator>
    <dc:date>2023-02-01T20:03:08Z</dc:date>
    <item>
      <title>How to pass data to a nested group in a custom module in a template?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-pass-data-to-a-nested-group-in-a-custom-module-in-a/m-p/750251#M32656</link>
      <description>&lt;P&gt;Hello. I'm hoping someone can shed some light on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a template with a series of custom modules and I'm trying to replace the default content in some of the fields with content specific to the type of template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this example I have a field for the heading and field for the copy - both are Rich Text. These are contained in the Text Settings group for the module. How can I set different text for those fields?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried the code below but can only get one field or the other working, but not both. What am I missing? Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% dnd_section %}
    {% dnd_column %}
      {% dnd_row %}
        {% dnd_module path="../modules/Text Row with Image"%}
        {% module_attribute "text_settings" %}{ heading: "&amp;lt;h2&amp;gt;Intro Header&amp;lt;/h2&amp;gt;" }{% end_module_attribute %}
        {% module_attribute "text_settings" %}{ copy: "&amp;lt;p&amp;gt;My Lorem ipsum dolor sit amet.&amp;lt;/p&amp;gt;" }{% end_module_attribute %}
        {% end_dnd_module %}
      {% end_dnd_row %}
    {% end_dnd_column %}
  {% end_dnd_section %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 20:03:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-pass-data-to-a-nested-group-in-a-custom-module-in-a/m-p/750251#M32656</guid>
      <dc:creator>MrCapp</dc:creator>
      <dc:date>2023-02-01T20:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass data to a nested group in a custom module in a template?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-pass-data-to-a-nested-group-in-a-custom-module-in-a/m-p/750305#M32659</link>
      <description>&lt;P&gt;Finally got it sorted - revised code below if anyone else has a similar issue:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% dnd_section %}
    {% dnd_column %}
      {% dnd_row %}
        {% dnd_module path="../modules/Text Row with Image"%}
        {% module_attribute "text_settings" %}
          { 
            heading: "&amp;lt;h2&amp;gt;Intro Header&amp;lt;/h2&amp;gt;", 
            copy: "&amp;lt;p&amp;gt;My Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.&amp;lt;/p&amp;gt;"
          }
        {% end_module_attribute %}
        {% end_dnd_module %}
      {% end_dnd_row %}
    {% end_dnd_column %}
  {% end_dnd_section %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 21:19:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-pass-data-to-a-nested-group-in-a-custom-module-in-a/m-p/750305#M32659</guid>
      <dc:creator>MrCapp</dc:creator>
      <dc:date>2023-02-01T21:19:13Z</dc:date>
    </item>
  </channel>
</rss>

