<?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: Trying to Use a Boolean to Give the Option to hide a Button in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Trying-to-Use-a-Boolean-to-Give-the-Option-to-hide-a-Button/m-p/185338#M5570</link>
    <description>&lt;P&gt;Just to be sure, check out the Developer Info&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and see if "&lt;SPAN&gt;widget_data.show_primary_cta_logo.value" is the right "path".. In the past this often has been my problem, that sometimes for some reason the path is different like it's not value but body.value.. So best check the Developer Info.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://designers.hubspot.com/docs/hubl/how-to-use-developer-info-on-cos-pages" target="_blank"&gt;https://designers.hubspot.com/docs/hubl/how-to-use-developer-info-on-cos-pages&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 17:27:48 GMT</pubDate>
    <dc:creator>benvanlooy</dc:creator>
    <dc:date>2018-04-10T17:27:48Z</dc:date>
    <item>
      <title>Trying to Use a Boolean to Give the Option to hide a Button</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Trying-to-Use-a-Boolean-to-Give-the-Option-to-hide-a-Button/m-p/185326#M5565</link>
      <description>&lt;P&gt;{% boolean "show_primary_cta_logo" label='Show Primary CTA?' value="true" no_wrapper=True, export_to_template_context=True %} {% if widget_data.show_primary_cta_logo.value == 'true' %}&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;A href="{{ widget.button_link }}" target="_blank"&gt;{{ widget.button_text }}&lt;/A&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;{% endif %}&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 16:45:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Trying-to-Use-a-Boolean-to-Give-the-Option-to-hide-a-Button/m-p/185326#M5565</guid>
      <dc:creator>dmsacco</dc:creator>
      <dc:date>2018-04-10T16:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Use a Boolean to Give the Option to hide a Button</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Trying-to-Use-a-Boolean-to-Give-the-Option-to-hide-a-Button/m-p/185328#M5566</link>
      <description>&lt;P&gt;I am not sure if I am missing something in my code, but the button isn't showing up on either toggle option.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 16:47:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Trying-to-Use-a-Boolean-to-Give-the-Option-to-hide-a-Button/m-p/185328#M5566</guid>
      <dc:creator>dmsacco</dc:creator>
      <dc:date>2018-04-10T16:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to Use a Boolean to Give the Option to hide a Button</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Trying-to-Use-a-Boolean-to-Give-the-Option-to-hide-a-Button/m-p/185338#M5570</link>
      <description>&lt;P&gt;Just to be sure, check out the Developer Info&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and see if "&lt;SPAN&gt;widget_data.show_primary_cta_logo.value" is the right "path".. In the past this often has been my problem, that sometimes for some reason the path is different like it's not value but body.value.. So best check the Developer Info.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://designers.hubspot.com/docs/hubl/how-to-use-developer-info-on-cos-pages" target="_blank"&gt;https://designers.hubspot.com/docs/hubl/how-to-use-developer-info-on-cos-pages&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 17:27:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Trying-to-Use-a-Boolean-to-Give-the-Option-to-hide-a-Button/m-p/185338#M5570</guid>
      <dc:creator>benvanlooy</dc:creator>
      <dc:date>2018-04-10T17:27:48Z</dc:date>
    </item>
  </channel>
</rss>

