<?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: Custom Module not appearing in certain templates in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52051#M3897</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/14520"&gt;@Nikki_ROBIN&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We think the issue is due to the filter you applied, Instead of '&lt;SPAN&gt;Kort nieuws' you may need to&amp;nbsp;replace with the blog&amp;nbsp;ID of that blog.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can select your blog from:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Content &amp;gt; Blog &amp;gt; Select your particular blog from dropdown&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is attached screenshot where blog ID is highlighted from where you got your blog id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/6620i285F5448D6601937/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We hope it works for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Team TRooInbound.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2017 14:59:21 GMT</pubDate>
    <dc:creator>TRooInbound</dc:creator>
    <dc:date>2017-11-27T14:59:21Z</dc:date>
    <item>
      <title>Custom Module not appearing in certain templates</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/51916#M3887</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've made a custom module for my blog pages, which shows the most recent page containing a certain topic. I have two templates in which this custom module is shown, the blog post template and the blog template itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The custom module looks great in the blog post template, but it doesn't appear in the blog template. I don't know if this is enough info, but below you can see the template with the custom module (postlisting (kort nieuws)).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Template Blog Post (working)" style="width: 985px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/6610i122C9EC649F9C13C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Schermafbeelding 2017-11-27 om 11.20.05.png" alt="Template Blog Post (working)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Template Blog Post (working)&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Template Blog (not working)" style="width: 967px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/6611iA34A39F9AF4EDC52/image-size/large?v=v2&amp;amp;px=999" role="button" title="Schermafbeelding 2017-11-27 om 11.19.57.png" alt="Template Blog (not working)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Template Blog (not working)&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 10:22:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/51916#M3887</guid>
      <dc:creator>Nikki_ROBIN</dc:creator>
      <dc:date>2017-11-27T10:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module not appearing in certain templates</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52017#M3894</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/14520"&gt;@Nikki_ROBIN&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As&amp;nbsp;blog structure contains HubL code which is not displayed right now, so we can't figure out&amp;nbsp;the issue, can you provide limited access/scrren share, so we can look into it and resolve issue as soon as possible. or you can mail us on&amp;nbsp;&lt;STRONG&gt;hello@trooinbound.com.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Team TRooInbound!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 14:36:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52017#M3894</guid>
      <dc:creator>TRooInbound</dc:creator>
      <dc:date>2017-11-27T14:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module not appearing in certain templates</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52019#M3895</link>
      <description>&lt;P&gt;Hi there, thanks so much for your reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code inside the custom module. Does that help?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{% if content.topic_list %}&lt;BR /&gt;&amp;lt;h3&amp;gt;Kort nieuws&amp;lt;/h3&amp;gt;&lt;BR /&gt;{% for topic in content.topic_list %}&lt;BR /&gt;{% if loop.first %}&lt;BR /&gt;{% set related_posts = blog_recent_topic_posts('Kort nieuws', topic.slug, 5 ) %}&lt;BR /&gt;{% for post in related_posts %}&lt;BR /&gt;{% unless content.absolute_url == post.absolute_url %}&lt;BR /&gt;&amp;lt;ul class="related-post-item"&amp;gt;&lt;BR /&gt;&amp;lt;li class="related-title"&amp;gt;&amp;lt;a href="{{post.absolute_url}}"&amp;gt;{{ post.name}}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;BR /&gt;&amp;lt;/ul&amp;gt;&lt;BR /&gt;{% endunless %}&lt;BR /&gt;{% endfor %}&lt;BR /&gt;{% endif %}&lt;BR /&gt;{% endfor %}&lt;BR /&gt;{% endif %}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 14:38:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52019#M3895</guid>
      <dc:creator>Nikki_ROBIN</dc:creator>
      <dc:date>2017-11-27T14:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module not appearing in certain templates</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52051#M3897</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/14520"&gt;@Nikki_ROBIN&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We think the issue is due to the filter you applied, Instead of '&lt;SPAN&gt;Kort nieuws' you may need to&amp;nbsp;replace with the blog&amp;nbsp;ID of that blog.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can select your blog from:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Content &amp;gt; Blog &amp;gt; Select your particular blog from dropdown&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is attached screenshot where blog ID is highlighted from where you got your blog id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/6620i285F5448D6601937/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We hope it works for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Team TRooInbound.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 14:59:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52051#M3897</guid>
      <dc:creator>TRooInbound</dc:creator>
      <dc:date>2017-11-27T14:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module not appearing in certain templates</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52063#M3898</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the suggestion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried it, but it unfortunately doesn't work. The filter 'kort nieuws' is by the way rather important, because those are the only blogs that are supposed to be listed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 15:08:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52063#M3898</guid>
      <dc:creator>Nikki_ROBIN</dc:creator>
      <dc:date>2017-11-27T15:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module not appearing in certain templates</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52075#M3899</link>
      <description>&lt;P&gt;To be honest, I think it's just not possible this way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created this custom module with this guide:&amp;nbsp;&lt;A href="http://designers.hubspot.com/tutorials/creating-a-related-post-section-with-hubl&amp;nbsp;" target="_blank"&gt;http://designers.hubspot.com/tutorials/creating-a-related-post-section-with-hubl&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And in this guide it specifically says 'related blog posts for inside you blog post template'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that's why it doesn't work on my blog template.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone's knows a way to create a blog listing module, filtered to show only blogs with a certain topic, I'd love to hear it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 15:19:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52075#M3899</guid>
      <dc:creator>Nikki_ROBIN</dc:creator>
      <dc:date>2017-11-27T15:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module not appearing in certain templates</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52126#M3900</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/14520"&gt;@Nikki_ROBIN&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, We are just trying that out. On blog posting, there is no meaning of the related post. It is relevant to blog posting page only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We think you are looking for the filtering post items in post&amp;nbsp;listing page, you need to add your&amp;nbsp;&lt;SPAN&gt;topic name as a second option in&amp;nbsp;&lt;STRONG&gt;blog_recent_topic_posts &lt;/STRONG&gt;method as per below code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{% set topic_posts = blog_recent_topic_posts('default', 'your-topic', 5) %}
{% for topic_post in topic_posts %}
    &amp;lt;div class="post-title"&amp;gt;{{ topic_post.name }}&amp;lt;/div&amp;gt;
{% endfor %}&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Note:&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;It&amp;nbsp;&lt;SPAN&gt;accepts a lowercase hyphenated name.&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN&gt;For eg. topic name is lead generation then need to add parameter as 'lead generation'.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We hope it works for you.&lt;/P&gt;&lt;P&gt;Team TRooInbound!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 15:44:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52126#M3900</guid>
      <dc:creator>TRooInbound</dc:creator>
      <dc:date>2017-11-27T15:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Module not appearing in certain templates</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52127#M3901</link>
      <description>&lt;P&gt;Thank you for helping me!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I actually fixed it with a different solution. I created a specific tag (kort nieuws) RSS feed and that solved it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 15:45:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Custom-Module-not-appearing-in-certain-templates/m-p/52127#M3901</guid>
      <dc:creator>Nikki_ROBIN</dc:creator>
      <dc:date>2017-11-27T15:45:31Z</dc:date>
    </item>
  </channel>
</rss>

