<?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: hubDB resources data not displaying in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/664766#M29485</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/124"&gt;@ashleyidesign&lt;/a&gt;&amp;nbsp;&amp;nbsp;Ashley,&lt;BR /&gt;&lt;BR /&gt;Thanks for replying, I decided to go a different route and coded something more simple.&lt;/P&gt;&lt;P&gt;So far, I got the data with some bugs; the &amp;lt;a&amp;gt; on line 32 does not expand to the full height of the &amp;lt;div&amp;gt;:&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="code-bug.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/70553i0E38628ED5DFDACC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="code-bug.png" alt="code-bug.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;div class="resource-cards-module"&amp;gt;
  {% if module.show_filters %}
  &amp;lt;div class="filters"&amp;gt;
    &amp;lt;div class="filter-by-type"&amp;gt;
      &amp;lt;select name="topic"&amp;gt;
        &amp;lt;option&amp;gt;View Resources By Type&amp;lt;/option&amp;gt;
        {% set resource_content_type = hubdb_table_rows(module.hubdbtable_field) %}
        {% for content_type in resource_content_type|map(attribute='content_type') %}
        &amp;lt;option&amp;gt;{{ content_type.name }}&amp;lt;/option&amp;gt;
        {% endfor %}
      &amp;lt;/select&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="filter-by-topic"&amp;gt;
      &amp;lt;select name="topic"&amp;gt;
        &amp;lt;option&amp;gt;View Resources By Topic&amp;lt;/option&amp;gt;
        {% set resource_tags = hubdb_table_rows(module.hubdbtable_field) %}
        {% for tag in resource_tags|map(attribute='topics') %}
        &amp;lt;option&amp;gt;{{ tag }}&amp;lt;/option&amp;gt;
        {% endfor %}
      &amp;lt;/select&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="search-articles"&amp;gt;
      {% icon name="search" style="SOLID" %}
      &amp;lt;input type="text" name="search" placeholder="Search Resources" value="" /&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
  {% endif %}
  {% if module.headline %}&amp;lt;h2 class="text-center light"&amp;gt;{{ module.headline }}&amp;lt;/h2&amp;gt;{% endif %}
  &amp;lt;div class="grid"&amp;gt;
    {% for row in hubdb_table_rows(module.hubdbtable_field,'&amp;amp;limit='~module.limit) %}
    &amp;lt;div class="grid-item"&amp;gt;
      &amp;lt;a href="{{ row.link }}" class="item-link"&amp;gt;&amp;lt;/a&amp;gt;
      &amp;lt;div class="item-image-wrapper"&amp;gt;&amp;lt;div class="item-image" style="background-image: url('{{ row.featured_image.url }}');"&amp;gt;
        &amp;lt;span&amp;gt;{{row.type.name}}&amp;lt;/span&amp;gt;
      &amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;
      &amp;lt;div class="item-content"&amp;gt;
        &amp;lt;h3&amp;gt;{{ row.name }}&amp;lt;/h3&amp;gt;
        {{ row.description|truncatehtml(150) }}
        &amp;lt;hr /&amp;gt;
        {% if row.content_type %}
        &amp;lt;div class="resource-topics"&amp;gt;
          {% for tag in row.content_type|split(',') %}
            &amp;lt;a class="resource-topic-link" href="{{module.resources_page_link.url.href}}?topic={{tag}}"&amp;gt;{{ tag }}&amp;lt;/a&amp;gt;{% if not loop.last %},{% endif %}
          {% endfor %}
        &amp;lt;/div&amp;gt;
        {% endif %}
      &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
    {% endfor %}
  &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any input will be appreciated!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jonathan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2022 20:38:34 GMT</pubDate>
    <dc:creator>jpineda91</dc:creator>
    <dc:date>2022-07-13T20:38:34Z</dc:date>
    <item>
      <title>hubDB resources data not displaying</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/664396#M29468</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm fairly new to Hubspot and was trying to implement this &lt;A href="https://github.com/katelynae/HubDB-Resource-Library" target="_blank" rel="noopener"&gt;hubDB resources library&lt;/A&gt;, but after adding the module and the CSS the data does not display on the page template. Any help will be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 12:37:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/664396#M29468</guid>
      <dc:creator>jpineda91</dc:creator>
      <dc:date>2022-07-13T12:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: hubDB resources data not displaying</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/664623#M29477</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would make sure you've 1 - published the HubSpot database and 2 - on the page itself, make sure you've selected which HubSpot database to use. Pictures of what you have so far would be helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Ashley&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.ashleyidesign.com" target="_blank" rel="noopener"&gt;www.ashleyidesign.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 17:10:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/664623#M29477</guid>
      <dc:creator>ashleyidesign</dc:creator>
      <dc:date>2022-07-13T17:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: hubDB resources data not displaying</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/664766#M29485</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/124"&gt;@ashleyidesign&lt;/a&gt;&amp;nbsp;&amp;nbsp;Ashley,&lt;BR /&gt;&lt;BR /&gt;Thanks for replying, I decided to go a different route and coded something more simple.&lt;/P&gt;&lt;P&gt;So far, I got the data with some bugs; the &amp;lt;a&amp;gt; on line 32 does not expand to the full height of the &amp;lt;div&amp;gt;:&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="code-bug.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/70553i0E38628ED5DFDACC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="code-bug.png" alt="code-bug.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;div class="resource-cards-module"&amp;gt;
  {% if module.show_filters %}
  &amp;lt;div class="filters"&amp;gt;
    &amp;lt;div class="filter-by-type"&amp;gt;
      &amp;lt;select name="topic"&amp;gt;
        &amp;lt;option&amp;gt;View Resources By Type&amp;lt;/option&amp;gt;
        {% set resource_content_type = hubdb_table_rows(module.hubdbtable_field) %}
        {% for content_type in resource_content_type|map(attribute='content_type') %}
        &amp;lt;option&amp;gt;{{ content_type.name }}&amp;lt;/option&amp;gt;
        {% endfor %}
      &amp;lt;/select&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="filter-by-topic"&amp;gt;
      &amp;lt;select name="topic"&amp;gt;
        &amp;lt;option&amp;gt;View Resources By Topic&amp;lt;/option&amp;gt;
        {% set resource_tags = hubdb_table_rows(module.hubdbtable_field) %}
        {% for tag in resource_tags|map(attribute='topics') %}
        &amp;lt;option&amp;gt;{{ tag }}&amp;lt;/option&amp;gt;
        {% endfor %}
      &amp;lt;/select&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="search-articles"&amp;gt;
      {% icon name="search" style="SOLID" %}
      &amp;lt;input type="text" name="search" placeholder="Search Resources" value="" /&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;
  {% endif %}
  {% if module.headline %}&amp;lt;h2 class="text-center light"&amp;gt;{{ module.headline }}&amp;lt;/h2&amp;gt;{% endif %}
  &amp;lt;div class="grid"&amp;gt;
    {% for row in hubdb_table_rows(module.hubdbtable_field,'&amp;amp;limit='~module.limit) %}
    &amp;lt;div class="grid-item"&amp;gt;
      &amp;lt;a href="{{ row.link }}" class="item-link"&amp;gt;&amp;lt;/a&amp;gt;
      &amp;lt;div class="item-image-wrapper"&amp;gt;&amp;lt;div class="item-image" style="background-image: url('{{ row.featured_image.url }}');"&amp;gt;
        &amp;lt;span&amp;gt;{{row.type.name}}&amp;lt;/span&amp;gt;
      &amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;
      &amp;lt;div class="item-content"&amp;gt;
        &amp;lt;h3&amp;gt;{{ row.name }}&amp;lt;/h3&amp;gt;
        {{ row.description|truncatehtml(150) }}
        &amp;lt;hr /&amp;gt;
        {% if row.content_type %}
        &amp;lt;div class="resource-topics"&amp;gt;
          {% for tag in row.content_type|split(',') %}
            &amp;lt;a class="resource-topic-link" href="{{module.resources_page_link.url.href}}?topic={{tag}}"&amp;gt;{{ tag }}&amp;lt;/a&amp;gt;{% if not loop.last %},{% endif %}
          {% endfor %}
        &amp;lt;/div&amp;gt;
        {% endif %}
      &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
    {% endfor %}
  &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any input will be appreciated!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jonathan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 20:38:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/664766#M29485</guid>
      <dc:creator>jpineda91</dc:creator>
      <dc:date>2022-07-13T20:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: hubDB resources data not displaying</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/664770#M29486</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/417137"&gt;@jpineda91&lt;/a&gt;&amp;nbsp;Do you have this on a test page you can share the link for?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 20:48:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/664770#M29486</guid>
      <dc:creator>ashleyidesign</dc:creator>
      <dc:date>2022-07-13T20:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: hubDB resources data not displaying</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/664778#M29487</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/124"&gt;@ashleyidesign&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, Here you go&amp;nbsp;&lt;A href="https://www.anjuna.io/-temporary-slug-29783b04-3f66-4463-a745-a089770828a0?hs_preview=mKsgOMQC-79046631177" target="_blank" rel="noopener"&gt;link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 20:55:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/664778#M29487</guid>
      <dc:creator>jpineda91</dc:creator>
      <dc:date>2022-07-13T20:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: hubDB resources data not displaying</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/665265#M29506</link>
      <description>&lt;P&gt;You have a lot of links in that code. For starters, there's no content inside the link on line 32, so nothing is going to be clickable to go to that link. I would suggest cleaning up any links that are irrelevant, especially if you just want one link for each resource item.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feel free to email me with other questions: ashley at ashleyidesign.com&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 15:01:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/665265#M29506</guid>
      <dc:creator>ashleyidesign</dc:creator>
      <dc:date>2022-07-14T15:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: hubDB resources data not displaying</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/665275#M29507</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/124"&gt;@ashleyidesign&lt;/a&gt;&amp;nbsp;Thanks for the feedback, I will update the &amp;lt;a&amp;gt;.&lt;BR /&gt;Do you know why the content_type is displaying like that? (line 41)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{ID=4, NAME='ANALYST REPORTS', ORDER=0}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 15:07:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/665275#M29507</guid>
      <dc:creator>jpineda91</dc:creator>
      <dc:date>2022-07-14T15:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: hubDB resources data not displaying</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/665287#M29508</link>
      <description>&lt;P&gt;I believe where it says&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{{ tag }}&lt;/LI-CODE&gt;&lt;P&gt;It should instead be&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{{ tag.name }}&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 14 Jul 2022 15:14:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/665287#M29508</guid>
      <dc:creator>ashleyidesign</dc:creator>
      <dc:date>2022-07-14T15:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: hubDB resources data not displaying</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/668130#M29618</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/124"&gt;@ashleyidesign&lt;/a&gt;&amp;nbsp;Thanks for your help, I got the tags to display properly.&lt;BR /&gt;I'm now working on the filters, but have some questions&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;select name="topic"&amp;gt;
  &amp;lt;option value=""&amp;gt;View Resources By Type&amp;lt;/option&amp;gt;
  {% for content_type in resource_content_type|map(attribute='content_type') %}
  {% set resource_content_type = hubdb_table_rows(module.hubdbtable_field) %}
  &amp;lt;option&amp;gt;{{ content_type.name }}&amp;lt;/option&amp;gt;
  {% endfor %}
&amp;lt;/select&amp;gt;
&amp;lt;script&amp;gt;
  jQuery('select[name=topic').on('change',function(){
    let topic = jQuery(this).val();
     if(topic !='') {
       document.location.href='{{ node.url }}/?topic='+topic;
     }   
  });
&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Above is my code for the content_type, but I'm not sure how to set the URL path. Any help will be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 12:13:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubDB-resources-data-not-displaying/m-p/668130#M29618</guid>
      <dc:creator>jpineda91</dc:creator>
      <dc:date>2022-07-20T12:13:41Z</dc:date>
    </item>
  </channel>
</rss>

