<?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: Order of modules in editor of custom blog template in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Order-of-modules-in-editor-of-custom-blog-template/m-p/1163974#M43268</link>
    <description>&lt;P&gt;Hey, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/224375"&gt;@LvanAggelen&lt;/a&gt;&lt;/SPAN&gt; Thanks for your question. Do you have an example you can share? My experience in the community is that sharing links and screenshots when possible is always helpful for troubleshooting along with you. With more details, it may be possible for our community members to tell you if this is malleable or if it “working as designed” but not like you expect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Talk soon! — Jaycee&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jun 2025 15:07:19 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2025-06-12T15:07:19Z</dc:date>
    <item>
      <title>Order of modules in editor of custom blog template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Order-of-modules-in-editor-of-custom-blog-template/m-p/1163371#M43250</link>
      <description>&lt;P&gt;I have created a custom blog module for our client, which has a mixture of standard tags, static modules, 'hidden' standard tags, and the post_body all over the page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the editor, these modules are shown in a particular order:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;First the hidden tags&lt;/LI&gt;
&lt;LI&gt;Then the post_body with its modules&lt;/LI&gt;
&lt;LI&gt;Then all the static tags and modules&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My client remarks, which I think is fair, that this is not coherent with the order as they appear in the template, and thus confusing. Is there are way to show all these modules in the same order as they appear on the page? Or any other order?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 12:50:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Order-of-modules-in-editor-of-custom-blog-template/m-p/1163371#M43250</guid>
      <dc:creator>LvanAggelen</dc:creator>
      <dc:date>2025-06-11T12:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Order of modules in editor of custom blog template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Order-of-modules-in-editor-of-custom-blog-template/m-p/1163974#M43268</link>
      <description>&lt;P&gt;Hey, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/224375"&gt;@LvanAggelen&lt;/a&gt;&lt;/SPAN&gt; Thanks for your question. Do you have an example you can share? My experience in the community is that sharing links and screenshots when possible is always helpful for troubleshooting along with you. With more details, it may be possible for our community members to tell you if this is malleable or if it “working as designed” but not like you expect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Talk soon! — Jaycee&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 15:07:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Order-of-modules-in-editor-of-custom-blog-template/m-p/1163974#M43268</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2025-06-12T15:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Order of modules in editor of custom blog template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Order-of-modules-in-editor-of-custom-blog-template/m-p/1178815#M43612</link>
      <description>&lt;P&gt;Hi Jaycee,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apologies for the late reply. Kindly take this example:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;In the template I have the following items in order:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Inline widget - Image&lt;/LI&gt;
&lt;LI&gt;Module - USPs&lt;/LI&gt;
&lt;LI&gt;The post body (the blog content)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="template.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/151187i5FBF246035EC46A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="template.png" alt="template.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;In the back-end the order is completely random. The 'hidden' image is on top grouped with other 'hidden' modules. Below that comes the Blog post with its content. And below that come the modules. These are in order, but it starts with one that is placed in the header, and then all the others (that are all also before th Blog post). Not really workable IMO.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="back-end.png" style="width: 373px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/151188i805DDA89DA8AC0C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="back-end.png" alt="back-end.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is especially confusing if you want to create dynamic templates with a checkbox. E.g. there is a hidden module (checkbox) to hide or show a section (with static modules). The checkbox would be miles away from the actual section that you are hiding/showing.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If I were to make a suggestion, I would dispay all the modules exactly in order as they appear on the page, and behind the module name, just show the type of module.&lt;BR /&gt;&lt;BR /&gt;In my example template that I've sent, I would like to see:&lt;/P&gt;
&lt;P&gt;- Banner (Hidden module)&lt;/P&gt;
&lt;P&gt;- USPs (Static module)&lt;/P&gt;
&lt;P&gt;- Blogcontent (dropdown with all the modules)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this is a bit clearer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;BR /&gt;Luuk van Aggelen&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 09:48:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Order-of-modules-in-editor-of-custom-blog-template/m-p/1178815#M43612</guid>
      <dc:creator>LvanAggelen</dc:creator>
      <dc:date>2025-07-21T09:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Order of modules in editor of custom blog template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Order-of-modules-in-editor-of-custom-blog-template/m-p/1179570#M43625</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/224375"&gt;@LvanAggelen&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Let's invite some of our community experts to the converstaion. Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/53048"&gt;@evaldas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/321717"&gt;@MichaelMa&lt;/a&gt;&amp;nbsp;do you have any tips or next steps for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/224375"&gt;@LvanAggelen&lt;/a&gt;? — Jaycee&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 18:31:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Order-of-modules-in-editor-of-custom-blog-template/m-p/1179570#M43625</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2025-07-22T18:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Order of modules in editor of custom blog template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Order-of-modules-in-editor-of-custom-blog-template/m-p/1179808#M43637</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/224375"&gt;@LvanAggelen&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for the detailed information.&amp;nbsp;&lt;BR /&gt;Quick question - are you using the same base.html for the blog as for other pages like landing pages and does this base have static modules as well?&amp;nbsp;&lt;BR /&gt;Just asking because - if this is the case - what might be happening here is that some static modules are coming in from the base and getting mixed with the ones from the blog.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;First thing I would try is, creating a seperate base.html without the modules if they're not required or move them to the blog template if they're required and put them in the right order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for the hidden banner module:&lt;/P&gt;
&lt;P&gt;Why are you using a hubspot module/function for a static image? Wouldn't it be easier to simply hardcode it with an img-tag like&lt;EM&gt; &amp;lt;img src="PATH-TO-IMAGE" alt="ALT-OF-IMAGE"&amp;gt;?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This would reduce the module list while keeping the functionality.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for the "uitgelichte afbeelding" if-statement, unless you're using a different featured_image than the blog image, I would recommend to simply use the featured_image functionality of the blog post like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% if content.featured_image %}
&amp;lt;figure class=""&amp;gt;
   &amp;lt;img src="{{content.featured_image}}" alt="{{content.feature_image_alt_text}}" loading="lazy" class="hero-image"&amp;gt;
&amp;lt;/figure&amp;gt;

{# using the require_css inside the if-statement will load the css only if the statement is true and therefore increase performance. This is just an example #}
{% require_css %}
&amp;lt;style&amp;gt;
.hero-image{
width:1920px;
height:600px;
}
&amp;lt;/style&amp;gt;
{% end_require_css %}
{% endif %}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A few other thoughts:&lt;BR /&gt;If you're using individual booleans, choices and other HS functions inside a template, you could think about creating a "configuration module" that would contain all the different settings for each blog post, add it to the template, set the module to &lt;EM&gt;export_to_template_context=true &lt;/EM&gt;and access all the settings from the module accross the template. I think this would be easier in the future.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, do you mind sharing the whole template code? Maybe there are a few other topics&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Wed, 23 Jul 2025 09:00:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Order-of-modules-in-editor-of-custom-blog-template/m-p/1179808#M43637</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2025-07-23T09:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Order of modules in editor of custom blog template</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Order-of-modules-in-editor-of-custom-blog-template/m-p/1179823#M43638</link>
      <description>&lt;P&gt;Hi Anton,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply. The modules are indeed from the base template, but they are required. The thing is that they are indeed mixed up, because the module list in the back-end does not maintain a logical order. That's what I'm after, that the back-end can maintain the same order as the modules appear in the template; and not as they are now (grouped by type, placed wherever).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for the template suggestions; the image is not hardcoded, the URL shown there is my 'default' but can be overwritten when editing the image module. The standard blog image is indeed used elsewhere in the template, this is a seperate image that falls 'outside' the blogcontent section.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The configurator is not a bad suggestion, thanks. That will place them with the other modules, but honestly only fixes about 25% of the confusion. Thanks nonetheless.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To be fair, I think I'm probably making more of a 'feature suggestion' than reporting a bug by now. I figured by now this is how HubSpot does things. I just hope there will be a logical ordering (or an option for alternative ordering) at some point.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;BR /&gt;Luuk van Aggelen&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 09:34:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Order-of-modules-in-editor-of-custom-blog-template/m-p/1179823#M43638</guid>
      <dc:creator>LvanAggelen</dc:creator>
      <dc:date>2025-07-23T09:34:24Z</dc:date>
    </item>
  </channel>
</rss>

