<?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 How can display a Tag name with is link base on Tag ID in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/How-can-display-a-Tag-name-with-is-link-base-on-Tag-ID/m-p/356966#M17696</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I create a module with on repeatable field base on Tag Selector field. It retrun me a array with tags ID.&lt;BR /&gt;I need to display the tag name with tag link base on this ID, how can i do?&lt;BR /&gt;&lt;STRONG&gt;tag.filter_tag_name&lt;/STRONG&gt; --&amp;gt; return a id like&amp;nbsp;&lt;STRONG&gt;5751176252&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need the &lt;STRONG&gt;name&lt;/STRONG&gt; and the &lt;STRONG&gt;slug&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{% for tag in module.tags_group %}
  &amp;lt;div class="filter-wrapper2"&amp;gt;
    &amp;lt;label class="abc-filter"&amp;gt;
      &amp;lt;input type="checkbox" id="input-{{ tag.filter_tag_name.slug }}" &amp;gt;
      &amp;lt;span class="label-text"&amp;gt;{{ tag.filter_tag_name }}&amp;lt;/span&amp;gt;
   &amp;lt;/label&amp;gt;
{% endfor %}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jul 2020 21:22:14 GMT</pubDate>
    <dc:creator>jc_at_dfuse</dc:creator>
    <dc:date>2020-07-23T21:22:14Z</dc:date>
    <item>
      <title>How can display a Tag name with is link base on Tag ID</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-can-display-a-Tag-name-with-is-link-base-on-Tag-ID/m-p/356966#M17696</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I create a module with on repeatable field base on Tag Selector field. It retrun me a array with tags ID.&lt;BR /&gt;I need to display the tag name with tag link base on this ID, how can i do?&lt;BR /&gt;&lt;STRONG&gt;tag.filter_tag_name&lt;/STRONG&gt; --&amp;gt; return a id like&amp;nbsp;&lt;STRONG&gt;5751176252&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need the &lt;STRONG&gt;name&lt;/STRONG&gt; and the &lt;STRONG&gt;slug&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{% for tag in module.tags_group %}
  &amp;lt;div class="filter-wrapper2"&amp;gt;
    &amp;lt;label class="abc-filter"&amp;gt;
      &amp;lt;input type="checkbox" id="input-{{ tag.filter_tag_name.slug }}" &amp;gt;
      &amp;lt;span class="label-text"&amp;gt;{{ tag.filter_tag_name }}&amp;lt;/span&amp;gt;
   &amp;lt;/label&amp;gt;
{% endfor %}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 21:22:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-can-display-a-Tag-name-with-is-link-base-on-Tag-ID/m-p/356966#M17696</guid>
      <dc:creator>jc_at_dfuse</dc:creator>
      <dc:date>2020-07-23T21:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can display a Tag name with is link base on Tag ID</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-can-display-a-Tag-name-with-is-link-base-on-Tag-ID/m-p/357384#M17717</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/139714"&gt;@jc_at_dfuse&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for the information provided. I'll tag a few experts. &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/103660"&gt;@piersg&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/133469"&gt;@Chris-M&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;&amp;nbsp;what would you advise in this case? &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sharon&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 08:16:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-can-display-a-Tag-name-with-is-link-base-on-Tag-ID/m-p/357384#M17717</guid>
      <dc:creator>sharonlicari</dc:creator>
      <dc:date>2020-07-27T08:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can display a Tag name with is link base on Tag ID</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-can-display-a-Tag-name-with-is-link-base-on-Tag-ID/m-p/357420#M17723</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/139714"&gt;@jc_at_dfuse&lt;/a&gt;&amp;nbsp;(thanks for the tag&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/21301"&gt;@sharonlicari&lt;/a&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can do this:&lt;/P&gt;
&lt;PRE&gt;{% set all_tags = blog_tags('default', 250) %}&lt;BR /&gt;{% for tag in module.tag_field %}&lt;BR /&gt;  {% for item in all_tags %}&lt;BR /&gt;    {% if item.slug == tag %}&lt;BR /&gt;      Name = {{ item }}&lt;BR /&gt;      Slug = {{ tag }}&lt;BR /&gt;      Full URL = {{ blog_tag_url(group.id, tag) }}&lt;BR /&gt;    {% endif %}&lt;BR /&gt;  {% endfor %}&lt;BR /&gt;{% endfor %}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you have to set the value type to return to "Name" instead of "id" in the tag field&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-07-27 at 10.36.24.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/29648i54580E6F48D86144/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2020-07-27 at 10.36.24.png" alt="Screenshot 2020-07-27 at 10.36.24.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So for you:&lt;/P&gt;
&lt;PRE&gt;{% set all_tags = blog_tags('default', 250) %}&lt;BR /&gt;{% for tag in module.tag_field %}&lt;BR /&gt;  {% for item in all_tags %}&lt;BR /&gt;    {% if item.slug == tag %}&lt;BR /&gt;    &amp;lt;div class="filter-wrapper2"&amp;gt;&lt;BR /&gt;      &amp;lt;label class="abc-filter"&amp;gt;&lt;BR /&gt;        &amp;lt;input type="checkbox" id="input-{{ tag }}" &amp;gt;&lt;BR /&gt;        &amp;lt;span class="label-text"&amp;gt;{{ item }}&amp;lt;/span&amp;gt;&lt;BR /&gt;      &amp;lt;/label&amp;gt;&lt;BR /&gt;    &amp;lt;/div&amp;gt;&lt;BR /&gt;    {% endif %}&lt;BR /&gt;  {% endfor %}&lt;BR /&gt;{% endfor %}&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Jul 2020 10:21:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-can-display-a-Tag-name-with-is-link-base-on-Tag-ID/m-p/357420#M17723</guid>
      <dc:creator>piersg</dc:creator>
      <dc:date>2020-07-27T10:21:46Z</dc:date>
    </item>
  </channel>
</rss>

