<?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 Filter Sidebar in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Filter-Sidebar/m-p/265856#M11932</link>
    <description>&lt;P&gt;I'm looking to create a filter sidebar for my field group items - similar to done on this page&amp;nbsp;&lt;A href="https://www.blueprintsys.com/resources" target="_blank"&gt;https://www.blueprintsys.com/resources&lt;/A&gt;. I have the items listed on this page&amp;nbsp;&lt;A href="https://www.ada.support/learning-centre" target="_blank"&gt;https://www.ada.support/learning-centre&lt;/A&gt;. I've added a 'choice' field to my field group so that for each item I can pick if it's an ebook/webinar/etc. Now I'm looking to create the filter sidebar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first instinct is to create a text repeater field which I would add all the types from the field group choice field to, then using jquery/css to hide and show items based on which text repeater item is selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This feels very hacky and I was wondering if there's a better way to achieve this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2019 17:47:54 GMT</pubDate>
    <dc:creator>MaximSiebert</dc:creator>
    <dc:date>2019-04-18T17:47:54Z</dc:date>
    <item>
      <title>Filter Sidebar</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Filter-Sidebar/m-p/265856#M11932</link>
      <description>&lt;P&gt;I'm looking to create a filter sidebar for my field group items - similar to done on this page&amp;nbsp;&lt;A href="https://www.blueprintsys.com/resources" target="_blank"&gt;https://www.blueprintsys.com/resources&lt;/A&gt;. I have the items listed on this page&amp;nbsp;&lt;A href="https://www.ada.support/learning-centre" target="_blank"&gt;https://www.ada.support/learning-centre&lt;/A&gt;. I've added a 'choice' field to my field group so that for each item I can pick if it's an ebook/webinar/etc. Now I'm looking to create the filter sidebar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first instinct is to create a text repeater field which I would add all the types from the field group choice field to, then using jquery/css to hide and show items based on which text repeater item is selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This feels very hacky and I was wondering if there's a better way to achieve this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 17:47:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Filter-Sidebar/m-p/265856#M11932</guid>
      <dc:creator>MaximSiebert</dc:creator>
      <dc:date>2019-04-18T17:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Sidebar</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Filter-Sidebar/m-p/267691#M12053</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/84457"&gt;@MaximSiebert&lt;/a&gt;&amp;nbsp;, do you have access to HubDB? If so, I'd say this would be quite easy to set up without the browser having to render all items, and hide them with CSS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This article (&lt;A href="https://designers.hubspot.com/docs/tutorials/how-to-build-a-real-estate-listing-with-hubdb" target="_blank"&gt;https://designers.hubspot.com/docs/tutorials/how-to-build-a-real-estate-listing-with-hubdb&lt;/A&gt;) has a really great example of filtering capabilities with HubDB.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your CSS/Jquery solution is definitely okay too, as long as the number of items doesn't get too large, and you don't have to render out a ton of things to the DOM initially&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 18:01:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Filter-Sidebar/m-p/267691#M12053</guid>
      <dc:creator>cbarley</dc:creator>
      <dc:date>2019-04-30T18:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Sidebar</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Filter-Sidebar/m-p/267915#M12080</link>
      <description>&lt;P&gt;The way you are filtering by type could be used top&amp;nbsp; filter by category as well. You would jiust have to check against both at the same time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a great and fast way to do it if there is not to many items. but if you have a larger selection it is better to use ajax.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a doc with the javascript connectors info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.google.com/document/d/e/2PACX-1vTuu12oFF4bQY1zVD2-WKFuM2dEDN81-fZRV1tGaCL5Z_OcjC-B6O3mHXR6chaq25BU1D2FuvKIjc49/pub" target="_blank"&gt;https://docs.google.com/document/d/e/2PACX-1vTuu12oFF4bQY1zVD2-WKFuM2dEDN81-fZRV1tGaCL5Z_OcjC-B6O3mHXR6chaq25BU1D2FuvKIjc49/pub&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 17:45:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Filter-Sidebar/m-p/267915#M12080</guid>
      <dc:creator>Adesignl</dc:creator>
      <dc:date>2019-05-01T17:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Sidebar</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Filter-Sidebar/m-p/268822#M12143</link>
      <description>&lt;P&gt;I ended up going with my CSS/jQuery solution for now, but I do agree - once the number of items gets a little too large I'll have to look into the HubDB solution you shared!&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 13:35:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Filter-Sidebar/m-p/268822#M12143</guid>
      <dc:creator>MaximSiebert</dc:creator>
      <dc:date>2019-05-07T13:35:52Z</dc:date>
    </item>
  </channel>
</rss>

