<?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 HubDB - First row, last column result is not showing up in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/HubDB-First-row-last-column-result-is-not-showing-up/m-p/167342#M4388</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The results of my HubDB table are not showing up quite right. For some reason the first row, last&amp;nbsp;column&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is missing for all searched results. Example - if there are 7 results w/ 4 results per row, the&amp;nbsp;1st row will show 3 results and the 2nd row will show 4 results. The top row, last column is left blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a link to the page this is happening on...&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.alignex.com/training-classes" target="_blank"&gt;http://www.alignex.com/training-classes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone know why this is happening? Any help would be greatly appreciated!&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jan 2018 19:52:23 GMT</pubDate>
    <dc:creator>leckerman</dc:creator>
    <dc:date>2018-01-19T19:52:23Z</dc:date>
    <item>
      <title>HubDB - First row, last column result is not showing up</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-First-row-last-column-result-is-not-showing-up/m-p/167342#M4388</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The results of my HubDB table are not showing up quite right. For some reason the first row, last&amp;nbsp;column&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is missing for all searched results. Example - if there are 7 results w/ 4 results per row, the&amp;nbsp;1st row will show 3 results and the 2nd row will show 4 results. The top row, last column is left blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a link to the page this is happening on...&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.alignex.com/training-classes" target="_blank"&gt;http://www.alignex.com/training-classes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone know why this is happening? Any help would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 19:52:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-First-row-last-column-result-is-not-showing-up/m-p/167342#M4388</guid>
      <dc:creator>leckerman</dc:creator>
      <dc:date>2018-01-19T19:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: HubDB - First row, last column result is not showing up</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-First-row-last-column-result-is-not-showing-up/m-p/175458#M4488</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13654"&gt;@leckerman&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Would you be able to post here the part of your code where you show the results or do the loop from hubDB? It will be easier to help you that way.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 05:33:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-First-row-last-column-result-is-not-showing-up/m-p/175458#M4488</guid>
      <dc:creator>dsoto</dc:creator>
      <dc:date>2018-01-26T05:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: HubDB - First row, last column result is not showing up</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-First-row-last-column-result-is-not-showing-up/m-p/175496#M4498</link>
      <description>&lt;P&gt;Below is the code for the custom module on this page -&amp;nbsp;&lt;A href="https://www.alignex.com/training-classes" target="_self"&gt;https://www.alignex.com/training-classes&lt;/A&gt;. Is it possible its something in the .css doc that would be the problem? Thank you so much for taking a look. I am stumped.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{# Load Card Stylesheet #}&lt;BR /&gt;{{ require_css(Custom/page/css/resource-card.css) }}&lt;/P&gt;&lt;P&gt;&amp;lt;!-- set the filter by drop down, search bar, and submit button --&amp;gt;&lt;BR /&gt;&amp;lt;div&amp;gt;&lt;BR /&gt;&amp;lt;form id="form_id" method="get"&amp;gt;&lt;BR /&gt;&amp;lt;div&amp;gt;&lt;BR /&gt;&amp;lt;div class="filter span6"&amp;gt;&lt;BR /&gt;&amp;lt;h4&amp;gt;FILTER BY LOCATION:&amp;lt;/h4&amp;gt;&lt;BR /&gt;&amp;lt;select name="location" form="form_id" onChange="this.form.submit()"&amp;gt;&lt;BR /&gt;&amp;lt;option **bleep**="show-all"&amp;gt;Show All&amp;lt;/option&amp;gt;&lt;BR /&gt;{% set types = hubdb_table_column(674971, "location").options %}&lt;BR /&gt;{% for choice in types %}&lt;BR /&gt;{% set location_list = location_list~choice.id|list%}&lt;BR /&gt;{% if choice.id == request.query_dict.location%}&lt;BR /&gt;&amp;lt;option selected="selected" **bleep**="{{ choice.id }}"&amp;gt;{{ choice.name }}&amp;lt;/option&amp;gt;&lt;BR /&gt;{% else %}&lt;BR /&gt;&amp;lt;option **bleep**="{{ choice.id }}"&amp;gt;{{ choice.name }}&amp;lt;/option&amp;gt;&lt;BR /&gt;{% endif %}&lt;BR /&gt;{% endfor %}&lt;BR /&gt;&amp;lt;/select&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div class="filter span6"&amp;gt;&lt;BR /&gt;&amp;lt;h4&amp;gt;FILTER BY TYPE OF COURSE:&amp;lt;/h4&amp;gt;&lt;BR /&gt;&amp;lt;select name="type" form="form_id" onChange="this.form.submit()"&amp;gt;&lt;BR /&gt;&amp;lt;option **bleep**="show-all"&amp;gt;Show All&amp;lt;/option&amp;gt;&lt;BR /&gt;{% set types = hubdb_table_column(674971, "type").options %}&lt;BR /&gt;{% for choice in types %}&lt;BR /&gt;{% set type_list = type_list~choice.id|list%}&lt;BR /&gt;{% if choice.id == request.query_dict.type%}&lt;BR /&gt;&amp;lt;option selected="selected" **bleep**="{{ choice.id }}"&amp;gt;{{ choice.name }}&amp;lt;/option&amp;gt;&lt;BR /&gt;{% else %}&lt;BR /&gt;&amp;lt;option **bleep**="{{ choice.id }}"&amp;gt;{{ choice.name }}&amp;lt;/option&amp;gt;&lt;BR /&gt;{% endif %}&lt;BR /&gt;{% endfor %}&lt;BR /&gt;&amp;lt;/select&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/form&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;br&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- sets the different query parameters using submitted input for hubdb query --&amp;gt;&lt;BR /&gt;{% set locationquery = "&amp;amp;orderBy=-name" %}&lt;BR /&gt;{% if request.query_dict.location in ["1", "2", "3", "4", "5", "6"] %}&lt;BR /&gt;{% set locationquery = locationquery ~ "&amp;amp;location="~request.query_dict.location|urlencode %}&lt;BR /&gt;{% endif %}&lt;BR /&gt;{% if request.query_dict.location == "show-all" %}&lt;BR /&gt;{% set locationquery = locationquery %}&lt;BR /&gt;{% endif %}&lt;BR /&gt;{% set typequery = "" %}&lt;BR /&gt;{% if request.query_dict.type in ["1", "2", "3", "4", "5", "6"] %}&lt;BR /&gt;{% set typequery = typequery ~ "&amp;amp;type="~request.query_dict.type|urlencode %}&lt;BR /&gt;{% endif %}&lt;BR /&gt;{% if request.query_dict.type == "show-all" %}&lt;BR /&gt;{% set typequery = typequery %}&lt;BR /&gt;{% endif %}&lt;/P&gt;&lt;P&gt;{# Get Resource from HubDB #}&lt;BR /&gt;{% set table = hubdb_table_rows(674971, typequery + locationquery)%}&lt;/P&gt;&lt;P&gt;{% if table == [] %}&lt;BR /&gt;&amp;lt;p class='align-center'&amp;gt;Sorry, no listings found for that Search. Try changing your fiter and search again.&amp;lt;/p&amp;gt;&lt;BR /&gt;{% else %}&lt;BR /&gt;{% for row in table %}&lt;BR /&gt;&amp;lt;div class="resource-card-container {{ widget.cards_in_row }}"&amp;gt;&lt;BR /&gt;&amp;lt;div class="resource-card"&amp;gt;&lt;BR /&gt;&amp;lt;div class="image-container"&amp;gt;&lt;BR /&gt;&amp;lt;a href="{{ row["course_url"] }}"&amp;gt;&amp;lt;img src="{{ row.course_image }}" width="500" {% if row.image.width &amp;gt; row.image.height %}class="landscape"{% endif %} alt="{{ row.name }} Image"&amp;gt;&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div class="resource-info"&amp;gt;&lt;BR /&gt;&amp;lt;h3&amp;gt;{{ row.course_name }}&amp;lt;/h3&amp;gt;&lt;BR /&gt;&amp;lt;div class="resource-description"&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Location:&amp;lt;/strong&amp;gt; {{ row.class_location }}&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Length:&amp;lt;/strong&amp;gt; {{ row.length }} Days&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Date:&amp;lt;/strong&amp;gt; {{row.date|datetimeformat('%A, %B %e, %Y') }}&amp;lt;/p&amp;gt;&amp;lt;br&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;{{ row.description }}&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;div class="row-fluid "&amp;gt;&lt;BR /&gt;&amp;lt;div class="span6"&amp;gt;&amp;lt;h5&amp;gt;{{ row.hs_name }}&amp;lt;/h5&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div class="span6"&amp;gt;&amp;lt;span class="btn"&amp;gt;&amp;lt;a href="{{ row["course_url"] }}"&amp;gt;Details&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;{% endfor %}&lt;BR /&gt;{% endif %}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 14:11:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-First-row-last-column-result-is-not-showing-up/m-p/175496#M4498</guid>
      <dc:creator>leckerman</dc:creator>
      <dc:date>2018-01-26T14:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: HubDB - First row, last column result is not showing up</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-First-row-last-column-result-is-not-showing-up/m-p/175497#M4499</link>
      <description>&lt;P&gt;Here is the custom module code below that is shown on this page -&amp;nbsp;h&lt;A href="https://www.alignex.com/training-classes" target="_self"&gt;ttps://www.alignex.com/training-classes&lt;/A&gt;. Is it possible its something in the .css doc that is the issue? Thank you so much for taking a look. I am stumped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{# Load Card Stylesheet #}&lt;BR /&gt;{{ require_css(Custom/page/css/resource-card.css) }}&lt;/P&gt;&lt;P&gt;&amp;lt;!-- set the filter by drop down, search bar, and submit button --&amp;gt;&lt;BR /&gt;&amp;lt;div&amp;gt;&lt;BR /&gt;&amp;lt;form id="form_id" method="get"&amp;gt;&lt;BR /&gt;&amp;lt;div&amp;gt;&lt;BR /&gt;&amp;lt;div class="filter span6"&amp;gt;&lt;BR /&gt;&amp;lt;h4&amp;gt;FILTER BY LOCATION:&amp;lt;/h4&amp;gt;&lt;BR /&gt;&amp;lt;select name="location" form="form_id" onChange="this.form.submit()"&amp;gt;&lt;BR /&gt;&amp;lt;option **bleep**="show-all"&amp;gt;Show All&amp;lt;/option&amp;gt;&lt;BR /&gt;{% set types = hubdb_table_column(674971, "location").options %}&lt;BR /&gt;{% for choice in types %}&lt;BR /&gt;{% set location_list = location_list~choice.id|list%}&lt;BR /&gt;{% if choice.id == request.query_dict.location%}&lt;BR /&gt;&amp;lt;option selected="selected" **bleep**="{{ choice.id }}"&amp;gt;{{ choice.name }}&amp;lt;/option&amp;gt;&lt;BR /&gt;{% else %}&lt;BR /&gt;&amp;lt;option **bleep**="{{ choice.id }}"&amp;gt;{{ choice.name }}&amp;lt;/option&amp;gt;&lt;BR /&gt;{% endif %}&lt;BR /&gt;{% endfor %}&lt;BR /&gt;&amp;lt;/select&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div class="filter span6"&amp;gt;&lt;BR /&gt;&amp;lt;h4&amp;gt;FILTER BY TYPE OF COURSE:&amp;lt;/h4&amp;gt;&lt;BR /&gt;&amp;lt;select name="type" form="form_id" onChange="this.form.submit()"&amp;gt;&lt;BR /&gt;&amp;lt;option **bleep**="show-all"&amp;gt;Show All&amp;lt;/option&amp;gt;&lt;BR /&gt;{% set types = hubdb_table_column(674971, "type").options %}&lt;BR /&gt;{% for choice in types %}&lt;BR /&gt;{% set type_list = type_list~choice.id|list%}&lt;BR /&gt;{% if choice.id == request.query_dict.type%}&lt;BR /&gt;&amp;lt;option selected="selected" **bleep**="{{ choice.id }}"&amp;gt;{{ choice.name }}&amp;lt;/option&amp;gt;&lt;BR /&gt;{% else %}&lt;BR /&gt;&amp;lt;option **bleep**="{{ choice.id }}"&amp;gt;{{ choice.name }}&amp;lt;/option&amp;gt;&lt;BR /&gt;{% endif %}&lt;BR /&gt;{% endfor %}&lt;BR /&gt;&amp;lt;/select&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/form&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;br&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- sets the different query parameters using submitted input for hubdb query --&amp;gt;&lt;BR /&gt;{% set locationquery = "&amp;amp;orderBy=-name" %}&lt;BR /&gt;{% if request.query_dict.location in ["1", "2", "3", "4", "5", "6"] %}&lt;BR /&gt;{% set locationquery = locationquery ~ "&amp;amp;location="~request.query_dict.location|urlencode %}&lt;BR /&gt;{% endif %}&lt;BR /&gt;{% if request.query_dict.location == "show-all" %}&lt;BR /&gt;{% set locationquery = locationquery %}&lt;BR /&gt;{% endif %}&lt;BR /&gt;{% set typequery = "" %}&lt;BR /&gt;{% if request.query_dict.type in ["1", "2", "3", "4", "5", "6"] %}&lt;BR /&gt;{% set typequery = typequery ~ "&amp;amp;type="~request.query_dict.type|urlencode %}&lt;BR /&gt;{% endif %}&lt;BR /&gt;{% if request.query_dict.type == "show-all" %}&lt;BR /&gt;{% set typequery = typequery %}&lt;BR /&gt;{% endif %}&lt;/P&gt;&lt;P&gt;{# Get Resource from HubDB #}&lt;BR /&gt;{% set table = hubdb_table_rows(674971, typequery + locationquery)%}&lt;/P&gt;&lt;P&gt;{% if table == [] %}&lt;BR /&gt;&amp;lt;p class='align-center'&amp;gt;Sorry, no listings found for that Search. Try changing your fiter and search again.&amp;lt;/p&amp;gt;&lt;BR /&gt;{% else %}&lt;BR /&gt;{% for row in table %}&lt;BR /&gt;&amp;lt;div class="resource-card-container {{ widget.cards_in_row }}"&amp;gt;&lt;BR /&gt;&amp;lt;div class="resource-card"&amp;gt;&lt;BR /&gt;&amp;lt;div class="image-container"&amp;gt;&lt;BR /&gt;&amp;lt;a href="{{ row["course_url"] }}"&amp;gt;&amp;lt;img src="{{ row.course_image }}" width="500" {% if row.image.width &amp;gt; row.image.height %}class="landscape"{% endif %} alt="{{ row.name }} Image"&amp;gt;&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div class="resource-info"&amp;gt;&lt;BR /&gt;&amp;lt;h3&amp;gt;{{ row.course_name }}&amp;lt;/h3&amp;gt;&lt;BR /&gt;&amp;lt;div class="resource-description"&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Location:&amp;lt;/strong&amp;gt; {{ row.class_location }}&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Length:&amp;lt;/strong&amp;gt; {{ row.length }} Days&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&amp;lt;strong&amp;gt;Date:&amp;lt;/strong&amp;gt; {{row.date|datetimeformat('%A, %B %e, %Y') }}&amp;lt;/p&amp;gt;&amp;lt;br&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;{{ row.description }}&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;div class="row-fluid "&amp;gt;&lt;BR /&gt;&amp;lt;div class="span6"&amp;gt;&amp;lt;h5&amp;gt;{{ row.hs_name }}&amp;lt;/h5&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div class="span6"&amp;gt;&amp;lt;span class="btn"&amp;gt;&amp;lt;a href="{{ row["course_url"] }}"&amp;gt;Details&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;{% endfor %}&lt;BR /&gt;{% endif %}&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 14:19:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-First-row-last-column-result-is-not-showing-up/m-p/175497#M4499</guid>
      <dc:creator>leckerman</dc:creator>
      <dc:date>2018-01-26T14:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: HubDB - First row, last column result is not showing up</title>
      <link>https://community.hubspot.com/t5/CMS-Development/HubDB-First-row-last-column-result-is-not-showing-up/m-p/176313#M4577</link>
      <description>&lt;P&gt;UPDATE: Figured out what the error was... there was an extra &amp;lt;div&amp;gt; tag around the filter by drop down code that was making that happen.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 15:19:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/HubDB-First-row-last-column-result-is-not-showing-up/m-p/176313#M4577</guid>
      <dc:creator>leckerman</dc:creator>
      <dc:date>2018-02-08T15:19:09Z</dc:date>
    </item>
  </channel>
</rss>

