<?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: Sort blog tags with latin characters in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Sort-blog-tags-with-latin-characters/m-p/379741#M19174</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/148508"&gt;@BnO-Dev&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can do this. simly create a new module with following base code(you can add styling elements as you want/need):&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{{ blog_tags('module.blog_selector',250) }}
{% set custom_tag_filter = blog_tags|sort(False, False, 'name')%}

&amp;lt;ul&amp;gt;
   {% for tag in custom_tag_filter %} 
      &amp;lt;li&amp;gt;{{tag.name}}&amp;lt;/li&amp;gt;
   {% endfor%}
&amp;lt;/ul&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;I've added a blog selector called "blog selector" so you and/or your users can select blog specific tags without changing a single line of code.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="blog-selector.PNG" style="width: 303px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/33190i48ABE3872C2FA714/image-size/large?v=v2&amp;amp;px=999" role="button" title="blog-selector.PNG" alt="blog-selector.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is also great if you want to display tags outside of your blog. But if you have only one blog you can change&amp;nbsp;&lt;BR /&gt;"module.blog_selector" from line 1 to "default".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Oct 2020 09:57:35 GMT</pubDate>
    <dc:creator>Anton</dc:creator>
    <dc:date>2020-10-19T09:57:35Z</dc:date>
    <item>
      <title>Sort blog tags with latin characters</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Sort-blog-tags-with-latin-characters/m-p/379451#M19160</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been developing in hubspot for a few months and I'm trying to sort a blog tags list but i'm getting an "error" due to language, i have some tags that start with an accented letter, i know it's not the same character and the ascii value of the character is bigger, but it's the same letter, so the word "Ética" should be between "Emprendimiento" and "Evaluación", any ideas of how can i achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2020-10-16 at 11.46.10.png" style="width: 224px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/33146i42C43F2B0AFB6BE7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2020-10-16 at 11.46.10.png" alt="Screen Shot 2020-10-16 at 11.46.10.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 16:50:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Sort-blog-tags-with-latin-characters/m-p/379451#M19160</guid>
      <dc:creator>BnO-Dev</dc:creator>
      <dc:date>2020-10-16T16:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sort blog tags with latin characters</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Sort-blog-tags-with-latin-characters/m-p/379741#M19174</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/148508"&gt;@BnO-Dev&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can do this. simly create a new module with following base code(you can add styling elements as you want/need):&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{{ blog_tags('module.blog_selector',250) }}
{% set custom_tag_filter = blog_tags|sort(False, False, 'name')%}

&amp;lt;ul&amp;gt;
   {% for tag in custom_tag_filter %} 
      &amp;lt;li&amp;gt;{{tag.name}}&amp;lt;/li&amp;gt;
   {% endfor%}
&amp;lt;/ul&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;I've added a blog selector called "blog selector" so you and/or your users can select blog specific tags without changing a single line of code.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="blog-selector.PNG" style="width: 303px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/33190i48ABE3872C2FA714/image-size/large?v=v2&amp;amp;px=999" role="button" title="blog-selector.PNG" alt="blog-selector.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is also great if you want to display tags outside of your blog. But if you have only one blog you can change&amp;nbsp;&lt;BR /&gt;"module.blog_selector" from line 1 to "default".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 09:57:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Sort-blog-tags-with-latin-characters/m-p/379741#M19174</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2020-10-19T09:57:35Z</dc:date>
    </item>
  </channel>
</rss>

