<?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: Updating Blog Listing Template from Drag and Drop to HubL HTML in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Updating-Blog-Listing-Template-from-Drag-and-Drop-to-HubL-HTML/m-p/1180176#M43644</link>
    <description>&lt;P&gt;Would it be possible that&amp;nbsp;your blog is using custom modules or sections that were saved with the DND template?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jul 2025 20:41:05 GMT</pubDate>
    <dc:creator>FaramarKolivand</dc:creator>
    <dc:date>2025-07-23T20:41:05Z</dc:date>
    <item>
      <title>Updating Blog Listing Template from Drag and Drop to HubL HTML</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Updating-Blog-Listing-Template-from-Drag-and-Drop-to-HubL-HTML/m-p/1180164#M43643</link>
      <description>&lt;P&gt;I'm trying to update our existing blog listing template: from a drag-and-drop layout to an HTML + HubL template.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I've created the new template, previewed it, and it looks correct. However, when I attempt to update the existing template during the preview step, it appears that the old template is being stacked on top of the new one.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why this is happening, and what the best approach would be to resolve it?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 20:12:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Updating-Blog-Listing-Template-from-Drag-and-Drop-to-HubL-HTML/m-p/1180164#M43643</guid>
      <dc:creator>PYoganathan</dc:creator>
      <dc:date>2025-07-23T20:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Blog Listing Template from Drag and Drop to HubL HTML</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Updating-Blog-Listing-Template-from-Drag-and-Drop-to-HubL-HTML/m-p/1180176#M43644</link>
      <description>&lt;P&gt;Would it be possible that&amp;nbsp;your blog is using custom modules or sections that were saved with the DND template?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 20:41:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Updating-Blog-Listing-Template-from-Drag-and-Drop-to-HubL-HTML/m-p/1180176#M43644</guid>
      <dc:creator>FaramarKolivand</dc:creator>
      <dc:date>2025-07-23T20:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Blog Listing Template from Drag and Drop to HubL HTML</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Updating-Blog-Listing-Template-from-Drag-and-Drop-to-HubL-HTML/m-p/1180188#M43645</link>
      <description>&lt;P&gt;I’m using the blog tags filter and search bar by referencing the file paths of the custom modules from the drag-and-drop template. I'm also including the global header and footer modules used across the page using this syntax:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    {% dnd_area "menu", label="Global Menu" %}
      {% dnd_section background_color="#fff", full_width=True %}
        {% dnd_column %}
          {% dnd_row %}
            {% dnd_module
              path="/file/path/Menu.module"
            %}
            {% end_dnd_module %}
          {% end_dnd_row %}
        {% end_dnd_column %}
      {% end_dnd_section %}
    {% end_dnd_area %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When adding custom modules from the saved drag-and-drop template, I wrap them in a &amp;lt;div&amp;gt; container for styling purposes using the following syntax:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% module "post_filter" path="/file/path/to/modulename.module" %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 20:56:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Updating-Blog-Listing-Template-from-Drag-and-Drop-to-HubL-HTML/m-p/1180188#M43645</guid>
      <dc:creator>PYoganathan</dc:creator>
      <dc:date>2025-07-23T20:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Blog Listing Template from Drag and Drop to HubL HTML</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Updating-Blog-Listing-Template-from-Drag-and-Drop-to-HubL-HTML/m-p/1180195#M43646</link>
      <description>&lt;P&gt;I think you need to avoid using&amp;nbsp;dnd_* tags in&amp;nbsp;HTML + HubL templates.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 21:07:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Updating-Blog-Listing-Template-from-Drag-and-Drop-to-HubL-HTML/m-p/1180195#M43646</guid>
      <dc:creator>FaramarKolivand</dc:creator>
      <dc:date>2025-07-23T21:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Blog Listing Template from Drag and Drop to HubL HTML</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Updating-Blog-Listing-Template-from-Drag-and-Drop-to-HubL-HTML/m-p/1180359#M43648</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/190425"&gt;@PYoganathan&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the stacking is a "feature" of HubSpot which dates back to the pre-dnd-days. Back when the only real dnd option was the so-called flexible column. Back in those days it was a whole different building process.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What HubSpot does is, it will look for the decendants of the flexible columns -&amp;gt; dnd_area, dnd_section, dnd_row anddnd_columns. If HubSpot finds at least one in the template, it will try rebuilding the old layout into the new - because otherwise the risk of losing content is quite high and HubSpot wants to not let this happen.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't want to keep anything from the old template, my recommendation is to&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;create &lt;A href="https://developers.hubspot.com/docs/guides/cms/content/global-content#global-partials-vs-global-modules" target="_blank" rel="noopener"&gt;global partials&lt;/A&gt; for header and footer (if not done yet; always recommended)&lt;/LI&gt;
&lt;LI&gt;create a dedicated base.html clone for the blog or drop the {% extend 'path/to/base' %} from the blog template(s) and put a custom setup into the template&lt;/LI&gt;
&lt;LI&gt;Write plain HTML and use something like the author, tags, content and other &lt;A href="https://developers.hubspot.com/docs/reference/cms/hubl/variables#blog-variables" target="_blank" rel="noopener"&gt;blog tags&lt;/A&gt; in places you want them to display. As well as not using any dnd tags in the template.&lt;/LI&gt;
&lt;LI&gt;The most important tag for the post template is {{ content.post_body }}&lt;/LI&gt;
&lt;LI&gt;The most important tags for the listing are the &lt;A href="https://developers.hubspot.com/docs/guides/cms/content/templates/types/blog#create-a-shared-template-for-the-listing-and-post-pages" target="_blank" rel="noopener"&gt;is_listing_view statement&lt;/A&gt; and the&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/guides/cms/content/templates/types/blog#listing-page-templates" target="_blank" rel="noopener"&gt;{% for content in contents %} loop&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Don't forget to set the correct &lt;A href="https://developers.hubspot.com/docs/guides/cms/content/templates/overview#blog-listing" target="_blank" rel="noopener"&gt;template type&lt;/A&gt; of each template&lt;/LI&gt;
&lt;/UL&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;</description>
      <pubDate>Thu, 24 Jul 2025 08:48:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Updating-Blog-Listing-Template-from-Drag-and-Drop-to-HubL-HTML/m-p/1180359#M43648</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2025-07-24T08:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Blog Listing Template from Drag and Drop to HubL HTML</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Updating-Blog-Listing-Template-from-Drag-and-Drop-to-HubL-HTML/m-p/1180383#M43649</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/190425"&gt;@PYoganathan&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;is the GOAT around here, I'd take his word as gospel on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just chiming in with something that&amp;nbsp;&lt;EM&gt;might&amp;nbsp;&lt;/EM&gt;help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't tested it out and I'm totally spitballing here, but if you change the names of your dnd areas, I don't think hubspot would recognise it as the old areas and add in the old content.&lt;BR /&gt;&lt;BR /&gt;So in your example I'd try changing it to&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; {% dnd_area "menu_new_name", label="Global Menu" %}
      {% dnd_section background_color="#fff", full_width=True %}
        {% dnd_column %}
          {% dnd_row %}
            {% dnd_module
              path="/file/path/Menu.module"
            %}
            {% end_dnd_module %}
          {% end_dnd_row %}
        {% end_dnd_column %}
      {% end_dnd_section %}
    {% end_dnd_area %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% module "post_filter_new_name" path="/file/path/to/modulename.module" %}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I'm almost certain I've used this in the past to rid myself of some odd "ghosts".&lt;BR /&gt;&lt;BR /&gt;Again, totally speaking off the top of my head and open to correction.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;HR /&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="profile2022a" style="width: 100px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/71500iE96AB1F9E9E277B9/image-size/small?v=v2&amp;amp;px=200" role="button" title="profile2022a" alt="profile2022a" /&gt;&lt;/span&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Barry Grennan&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A href="https://www.seoanseo.ca?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Freelance HubSpot CMS Developer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.seoanseo.ca?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Website&lt;/A&gt; | &lt;A href="https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Contact&lt;/A&gt; | &lt;A href="https://www.linkedin.com/in/barrygrennan" target="_blank" rel="nofollow noopener noreferrer"&gt;LinkedIn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 10:05:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Updating-Blog-Listing-Template-from-Drag-and-Drop-to-HubL-HTML/m-p/1180383#M43649</guid>
      <dc:creator>BarryGrennan</dc:creator>
      <dc:date>2025-07-24T10:05:05Z</dc:date>
    </item>
  </channel>
</rss>

