<?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: Use child theme modules after data entry in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Use-child-theme-modules-after-data-entry/m-p/895133#M37177</link>
    <description>&lt;P&gt;Hi Jennifer,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what do you mean with "overwrite the module"?&lt;/P&gt;
&lt;P&gt;I forgot to say that they used a marketplace theme so the modules' code is not editable, unless cloned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Dec 2023 07:07:50 GMT</pubDate>
    <dc:creator>EnriAlea</dc:creator>
    <dc:date>2023-12-18T07:07:50Z</dc:date>
    <item>
      <title>Use child theme modules after data entry</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Use-child-theme-modules-after-data-entry/m-p/894410#M37148</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is a simple question, can you confirm that if I change a module in use (cloning from parent to child theme) I will lost any of the data previously inserted? Is there any way to retain the data afterwards a module has changed?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 11:50:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Use-child-theme-modules-after-data-entry/m-p/894410#M37148</guid>
      <dc:creator>EnriAlea</dc:creator>
      <dc:date>2023-12-15T11:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Use child theme modules after data entry</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Use-child-theme-modules-after-data-entry/m-p/894892#M37171</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/153165"&gt;@EnriAlea&lt;/a&gt;&amp;nbsp;if you clone a module from the parent to child, the new module would need to be added to the page in place of the old module and the content would have to be rebuilt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no way to retain the data from the original module if you've included it on pages already and you make a copy of the module in the child (unique module name, two versions available).&amp;nbsp; If you overwrite the module (keep the same name, one version available), the content will be retained in the module and your changes to the code will also be available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Dec 2023 21:41:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Use-child-theme-modules-after-data-entry/m-p/894892#M37171</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2023-12-16T21:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Use child theme modules after data entry</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Use-child-theme-modules-after-data-entry/m-p/895133#M37177</link>
      <description>&lt;P&gt;Hi Jennifer,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what do you mean with "overwrite the module"?&lt;/P&gt;
&lt;P&gt;I forgot to say that they used a marketplace theme so the modules' code is not editable, unless cloned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 07:07:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Use-child-theme-modules-after-data-entry/m-p/895133#M37177</guid>
      <dc:creator>EnriAlea</dc:creator>
      <dc:date>2023-12-18T07:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Use child theme modules after data entry</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Use-child-theme-modules-after-data-entry/m-p/895350#M37183</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/153165"&gt;@EnriAlea&lt;/a&gt;&amp;nbsp;when using a marketplace theme, there are really two options if you want to customize:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1 - create a child theme - this retains the dependency of the majority of the theme files on the marketplace version and you are able to receive updates to the theme while also being able to customize any files needed (usually modules or templates, avoid overwriting CSS/JS files and use the child.css/child.js instead)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2 - create a clone - this copies all of the files from the marketplace and creates a unique theme that's independent of the marketplace (no more updates apply), it allows you to modify any files and while some devs prefer this, I usually advise against it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you create a child theme, if you clone a module to the child theme, it will overwrite the parent/marketplace version by default because it has the same file name and label, but if you make those unique you can create a completely separate version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So by "overwrite" what I mean is that any file in your child theme that has the same name as the parent/marketplace theme will take precedence - it replaces the file in the theme configuration, thus overwriting the default content.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 15:06:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Use-child-theme-modules-after-data-entry/m-p/895350#M37183</guid>
      <dc:creator>Jnix284</dc:creator>
      <dc:date>2023-12-18T15:06:35Z</dc:date>
    </item>
  </channel>
</rss>

