<?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 Creating a Manageable List of Old External Links in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Creating-a-Manageable-List-of-Old-External-Links/m-p/993718#M39554</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm thinking of creating a page that would list all old topic links (inside rich text module) that I removed from my main page. This links are all external links and will be redirected to another page once clicked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using the rich text editor to just list all of the links in it but I thought that it will get very long and will be hard to maintain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a better way of doing this?&amp;nbsp; I was thinking of something like the blog listing page, but instead of the blog posts hosted by HubSpot, it'll just be simple clickable links (Like search result) that would redirect the user to the external website.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2024 10:15:24 GMT</pubDate>
    <dc:creator>dtg001</dc:creator>
    <dc:date>2024-06-18T10:15:24Z</dc:date>
    <item>
      <title>Creating a Manageable List of Old External Links</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Creating-a-Manageable-List-of-Old-External-Links/m-p/993718#M39554</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm thinking of creating a page that would list all old topic links (inside rich text module) that I removed from my main page. This links are all external links and will be redirected to another page once clicked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using the rich text editor to just list all of the links in it but I thought that it will get very long and will be hard to maintain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a better way of doing this?&amp;nbsp; I was thinking of something like the blog listing page, but instead of the blog posts hosted by HubSpot, it'll just be simple clickable links (Like search result) that would redirect the user to the external website.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 10:15:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Creating-a-Manageable-List-of-Old-External-Links/m-p/993718#M39554</guid>
      <dc:creator>dtg001</dc:creator>
      <dc:date>2024-06-18T10:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Manageable List of Old External Links</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Creating-a-Manageable-List-of-Old-External-Links/m-p/993777#M39555</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/754603"&gt;@dtg001&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the easiest way would be to create a custom module with a &lt;A href="https://developers.hubspot.com/docs/cms/hubl/for-loops" target="_blank" rel="noopener"&gt;for-loop&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you've created a custom module add a text (not rich-text) and a link field to the right sidebar like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2024-06-18 um 14.55.28.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/119950i31216D755CCAA75A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bildschirmfoto 2024-06-18 um 14.55.28.png" alt="Bildschirmfoto 2024-06-18 um 14.55.28.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;group them like this(click on actions and select "group") and type in a name you'd like to be displayed for the content editor while editing the module&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2024-06-18 um 14.58.54.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/119952i04E1B9D465BDA094/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bildschirmfoto 2024-06-18 um 14.58.54.png" alt="Bildschirmfoto 2024-06-18 um 14.58.54.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the most important part: While you're in the group scroll down to the very bottom of the right sidebar,  enable the repeater option and select a sorting label(this is optional but recommended)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2024-06-18 um 15.00.11.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/119953i96DB27C9DB48BCAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bildschirmfoto 2024-06-18 um 15.00.11.png" alt="Bildschirmfoto 2024-06-18 um 15.00.11.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Now write something like this in the module.html area of the module:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2024-06-18 um 15.03.11.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/119954iE22BA7F334BC09AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bildschirmfoto 2024-06-18 um 15.03.11.png" alt="Bildschirmfoto 2024-06-18 um 15.03.11.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(here's the code for easier use)&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;div class="custom-list-wrapper"&amp;gt;
	&amp;lt;ul class="custom-list"&amp;gt;
		{% for single_item in module.list_items %}
			{% set href = item.link.url.href %}
			{% if item.link.url.type is equalto "EMAIL_ADDRESS" %}
				{% set href = "mailto:" + href %}
			{% endif %}
		    &amp;lt;li&amp;gt;
				&amp;lt;a href="{{ href }}" {% if item.link.open_in_new_tab %}target="_blank"{% endif %} {% if item.link.rel %}rel="{{ item.link.rel|escape_attr }}"{% endif %}&amp;gt;
				    {{ single_item.headline }}
			    &amp;lt;/a&amp;gt;
		    &amp;lt;/li&amp;gt;
		{% endfor %}
	&amp;lt;/ul&amp;gt;
&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;The (unstyled) result of the module and "editor experience" will look like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2024-06-18 um 15.06.43.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/119955iC324EA3DA9316809/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bildschirmfoto 2024-06-18 um 15.06.43.png" alt="Bildschirmfoto 2024-06-18 um 15.06.43.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2024-06-18 um 15.07.07.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/119956iD83FCEC13F7D61CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bildschirmfoto 2024-06-18 um 15.07.07.png" alt="Bildschirmfoto 2024-06-18 um 15.07.07.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;A tip that might save you some time: If you want to display the same content on several pages over and over again -&amp;gt; make sure to select "global module" during the intial creation of the module (when you type in the name of it)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Tue, 18 Jun 2024 13:13:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Creating-a-Manageable-List-of-Old-External-Links/m-p/993777#M39555</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2024-06-18T13:13:19Z</dc:date>
    </item>
  </channel>
</rss>

