<?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: Add a logo in the 'details' popup in a shortlist map in Classic Esri Story Maps Questions</title>
    <link>https://community.esri.com/t5/classic-esri-story-maps-questions/add-a-logo-in-the-details-popup-in-a-shortlist-map/m-p/692978#M7894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mark,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your fast answer! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It works just fine!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As my map is still a work in progress, here is a screenshot of what it looks like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]0[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just needed to add a &amp;lt;br /&amp;gt; on the previous line to avoid my logo to be stuck with the link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And as you can see, I added a second logo (almost) without troubles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matthieu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jun 2014 12:19:31 GMT</pubDate>
    <dc:creator>MatthieuDe_Boose</dc:creator>
    <dc:date>2014-06-11T12:19:31Z</dc:date>
    <item>
      <title>Add a logo in the 'details' popup in a shortlist map</title>
      <link>https://community.esri.com/t5/classic-esri-story-maps-questions/add-a-logo-in-the-details-popup-in-a-shortlist-map/m-p/692976#M7892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am making a map using the shortlist template that shows location of administrative buildings for a small town. I have no experience in coding so I am learning one step at the time, I am not sure of what is possible to do and ever so, if I???ll be able to do it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the ???details??? popup and I would like to add a logo in the popup, under the url. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to do it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matthieu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 11:53:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/classic-esri-story-maps-questions/add-a-logo-in-the-details-popup-in-a-shortlist-map/m-p/692976#M7892</guid>
      <dc:creator>MatthieuDe_Boose</dc:creator>
      <dc:date>2014-06-10T11:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add a logo in the 'details' popup in a shortlist map</title>
      <link>https://community.esri.com/t5/classic-esri-story-maps-questions/add-a-logo-in-the-details-popup-in-a-shortlist-map/m-p/692977#M7893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Matthieu,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is certainly doable, but would require adding a bit of javascript code to the main.js file.&amp;nbsp; Specifically, you would have to alter the showDetails function found around line 1153.&amp;nbsp; First, add an attribute (that is a url to the image of the logo(s) you are interested in displaying in the details panel) to each feature in your data.&amp;nbsp; Then, use similar code to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var logoDiv = $('&amp;lt;img src="'+graphic.attributes.getValueCI(FIELDNAME_LOGOURL)+'"&amp;gt;'); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; var logoFrame = $('&amp;lt;div class="logoFrame"&amp;gt;&amp;lt;/div&amp;gt;'); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; $(logoFrame).append(logoDiv);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; $(leftDiv).append(logoFrame);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and place it after line 1182 (after the website info is appended to the leftDiv).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will have to add whatever css rules you will want to apply in the style.css file to achieve your desired look and feel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 21:56:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/classic-esri-story-maps-questions/add-a-logo-in-the-details-popup-in-a-shortlist-map/m-p/692977#M7893</guid>
      <dc:creator>MarkCooney</dc:creator>
      <dc:date>2014-06-10T21:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Add a logo in the 'details' popup in a shortlist map</title>
      <link>https://community.esri.com/t5/classic-esri-story-maps-questions/add-a-logo-in-the-details-popup-in-a-shortlist-map/m-p/692978#M7894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mark,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your fast answer! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It works just fine!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As my map is still a work in progress, here is a screenshot of what it looks like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]0[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just needed to add a &amp;lt;br /&amp;gt; on the previous line to avoid my logo to be stuck with the link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And as you can see, I added a second logo (almost) without troubles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matthieu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 12:19:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/classic-esri-story-maps-questions/add-a-logo-in-the-details-popup-in-a-shortlist-map/m-p/692978#M7894</guid>
      <dc:creator>MatthieuDe_Boose</dc:creator>
      <dc:date>2014-06-11T12:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add a logo in the 'details' popup in a shortlist map</title>
      <link>https://community.esri.com/t5/classic-esri-story-maps-questions/add-a-logo-in-the-details-popup-in-a-shortlist-map/m-p/692979#M7895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I come back to you as it seems that some .js have changed in the shortlist template and it made my logos disappeared!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the previous code around the line 2110 of the new main.js but it is obviously not enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Thank you in advance&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Matthieu&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 14:12:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/classic-esri-story-maps-questions/add-a-logo-in-the-details-popup-in-a-shortlist-map/m-p/692979#M7895</guid>
      <dc:creator>MatthieuDe_Boose</dc:creator>
      <dc:date>2015-10-30T14:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add a logo in the 'details' popup in a shortlist map</title>
      <link>https://community.esri.com/t5/classic-esri-story-maps-questions/add-a-logo-in-the-details-popup-in-a-shortlist-map/m-p/692980#M7896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthieu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a link to your shortlist that we can take a look at?&amp;nbsp; Your custom code should work fine in the updated versions of Shortlist, but we can help you take a look and see whats going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 19:14:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/classic-esri-story-maps-questions/add-a-logo-in-the-details-popup-in-a-shortlist-map/m-p/692980#M7896</guid>
      <dc:creator>MarkCooney</dc:creator>
      <dc:date>2015-11-02T19:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Add a logo in the 'details' popup in a shortlist map</title>
      <link>https://community.esri.com/t5/classic-esri-story-maps-questions/add-a-logo-in-the-details-popup-in-a-shortlist-map/m-p/692981#M7897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sincerely sorry to say that I bothered you for nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code works perfectly fine, I made a mistake, I was working in a file and testing an other!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matthieu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 10:12:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/classic-esri-story-maps-questions/add-a-logo-in-the-details-popup-in-a-shortlist-map/m-p/692981#M7897</guid>
      <dc:creator>MatthieuDe_Boose</dc:creator>
      <dc:date>2015-11-06T10:12:11Z</dc:date>
    </item>
  </channel>
</rss>

