Switch the Default Favicon
A favicon allows users to quickly distinguish the geoportal web page from other webpages in a list of favorites or tabs they may have open in a browser. Most web browsers will use a favicon, and where it is displayed may vary depending on the browser.
By default, the geoportal uses a favicon that looks like the ESRI globe logo. Likely, your organization will want to implement its own favicon. The steps to switch the favicon to one that better suits your organization are described below.
- Navigate to the \\geoportal\catalog\skins directory and open the lookAndFeel.jsp in a text editor.
- There are two parameters that define the favicon in this file, both shown below. You do not need to alter these lines, but do note that the geoportal is looking for a favicon called 'favicon.ico'. If your new favicon image has a different name, you can either change the name of your image to favicon.ico, or alter the lookAndFeel.jsp with the name of your image.
-
<link rel="icon" type="image/x-icon"
href="<%=request.getContextPath()%>/catalog/images/favicon.ico" />
-
<link rel="shortcut icon" type="image/x-icon"
href="<%=request.getContextPath()%>/catalog/images/favicon.ico" />
- Navigate to the \\geoportal\catalog\images folder.
- Replace the favicon.ico file in this folder with your image.
- Restart your geoportal web application.
- Most browsers keep favicons in a cache. Users will have to clear their browser cache to see the new favicon.