Look and Feel of the User Interface
Pages 202
- Home
- 2009 Esri Federal UC
- 2009 Esri International UC
- 2010 Esri Federal UC
- 2010 Esri International UC
- 2011 Esri Federal UC
- 2012 Esri Federal UC
- 2013 Esri Federal GIS Conference
- 2013 Esri International User Conference
- 2015 SDI Special Interest Group
- Add a Custom Profile
- Add an OpenSearch endpoint for Federated Search
- Add Another Tab to the Geoportal Interface
- Add Custom Link to a Search Result
- Add Custom Search Criteria
- Add the Geoportal Search to a List of Search Providers
- Add v1.1.1 FGDC editor to a previous Geoportal release
- AGP TO AGP Harvesting with the Geoportal
- AGS TO AGP Harvesting with the Geoportal
- All gpt.xml file settings
- An Introduction to vi
- Apache Tomcat geoportal logging
- Being a Good Robot
- Best Practice for Edits to JSP files
- Biological or Remote Sensing FGDC xsds
- Browse Tree
- Cart Processor
- Catalog Service
- Clear the Tomcat Work Folder
- Collections
- Common problems and solutions
- Communities and live examples
- Components
- Configure a Directory Server for the Geoportal
- Configure geoportal User and Schema in the PostgreSQL Database
- Configure Previewable Filetypes
- Configure Searching of YouTube
- Configure the gpt.xml File
- Configure Widgets
- Connecting to a User Directory
- Create a user account
- Create Relationships between Resources
- Customizations
- Customize DCAT output
- Customize Metadata Validation
- Database problems
- Database Tables
- DataDownload Tab
- Deploy and Configure the Geoportal Web Application in Tomcat
- Deploy and Configure the Servlet Web Application
- Deploy the Geoportal Web Application
- Details of Lucene Indexing in the Geoportal
- Development topics
- Discovering Resources
- Eclipse Project from Compiled WAR
- Eclipse Project from Source Code
- Enable Search Using an Ontology Service
- Error Messages in the Geoportal Web Application
- Esri Geoportal Server LiveDVD
- Extending the Web Harvester
- Federated Search in Portal for ArcGIS
- Feedback
- FGDC Biological Profile and Remote Sensing Extension
- FGDC Service Checker Integration
- Geoportal Clients for ArcGIS
- Geoportal CSW Clients
- Geoportal Facets using Apache Solr
- Geoportal genie
- Geoportal Project from Compiled WAR
- Geoportal Publish Client
- Geoportal Server 1.2.5 What's New
- Geoportal Server 1.2.6 What's New
- Geoportal Server 1.2.7 What's New
- Geoportal server as a broker
- Geoportal Server Downloads
- Geoportal Server v 1.0 What's New
- Geoportal Server v 1.1 What's New
- Geoportal Server v 1.1.1 What's New
- Geoportal Server v 1.2 What's New
- Geoportal Server v 1.2.2 What's New
- Geoportal Server v 1.2.4 What's New
- Geoportal SPARQL Sample
- Geoportal User Interface Components
- Geoportal Web Application File Organization
- Geoportal XML Editor
- Get Assistance with an Implementation
- GXE Concepts
- GXE Crash Course
- GXE Structure
- GXE Workflow
- High Availability and Large Number of Records
- How to Browse for Resources
- How to Create and Manage My Profile
- How to find all documents of a particular metadata standard
- How to Leave a Resource Review
- How to Login and Manage my Password
- How to Manage and Edit Resources
- How to Publish Resources
- How to Restrict Access to Resources
- How to Search for Resources
- How to Search with an Ontology Service
- How to Set Up an Esri Geoportal Server on Linux
- How to Use Search Page Results
- How to Use the Data Download Feature
- How to View Resource Relationships
- IDE Topics
- Identity Components LDAP and Single Sign On
- Index All Metadata Content
- Indexing and Searching the Time Period of the Content
- Install Apache Tomcat 6
- Install Desktop Tools
- Install Esri Geoportal Server
- Install PostgreSQL 9.1.2
- Install the JDBC .jar Files
- Installation
- Installation Version 1.0
- Installation Version 1.1
- Installation Version 1.2
- Installation Version 1.2.2
- Installation Version 1.2.4
- Installation Version 1.2.5
- Installation Version 1.2.6
- Installation Version 1.2.7
- Installation Version 1.2.8
- Integrate with a Content Management System
- Integrate with the con terra Security Solution
- Localization
- Log In to the Geoportal
- Logging
- Look and Feel of the User Interface
- Main Page
- Map LDAP Attributes on the Registration Page
- Map Viewer
- Online form editing for all publication methods
- Open source acknowledgements
- Oracle WebLogic geoportal logging
- Orientation to the Create Metadata Page
- Perform Preinstallation Computer Setup
- Portal for ArcGIS Integration
- Post Deployment Actions
- Preinstallation
- Preinstallation 0.9
- Preinstallation 1.0 and 1.1.x
- Preinstallation 1.2
- Preinstallation 1.2.2
- Preinstallation 1.2.4
- Preinstallation 1.2.5
- Preinstallation 1.2.6
- Preinstallation 1.2.7
- Preinstallation 1.2.8
- Preview Function
- Publication Components
- Ratings and Comments for Search Results
- Register ArcGIS for Server with the Geoportal
- Release notes
- REST API Syntax
- Sample FGDC metadata.xml
- Scheduled tasks
- Search Components
- Search Map
- Search Widget for Flex
- Search Widget for HTML
- Search Widget for Silverlight
- Security Concepts
- Set Up Systemwide Environment Variables
- Set up the Geoportal Database
- Share Link
- Single Sign On
- Smoketest the Geoportal
- Standards Support
- Supported CSW Profiles for Synchronization
- Theme Library
- Troubleshooting
- Troubleshooting Tips
- Two geoportals on the same server
- Upgrade 1.x to 1.2 database
- Upgrading file system approach
- Upgrading Read This Overview
- Upgrading SVN approach
- Url filter customization
- Use an XSLT to Render the Details Page
- Use Ant to build Geoportal
- User Functions and Roles
- User Management Interface
- Using a geoportal
- Using Lucene Search Text Queries
- Version 0.9
- Version 1.0
- Version 1.1
- Version 1.1.1
- Version 1.2
- Version 1.2.2
- Version 1.2.4
- Version 1.2.5
- Version 1.2.6
- Version 1.2.7
- Version 1.2.8
- What is a geoportal and the geoportal server
- What is the esri geoportal server
- What's New
- wiki template
- WMC Client
- Show 187 more pages…
Clone this wiki locally
An easy way to customize your geoportal is to change its text, graphics, and color scheme. Instructions are in the sections below
Customize the geoportal interface text
Most of the text for the geoportal interface is managed in the gpt.properties file in the \\geoportal\WEB-INF\classes\gpt\resources folder. The text seen on the interface is associated with a unique identifying 'bean', which maps it to a resource key in gpt.properties. It is important to review the text in gpt.properties and update it according to your organization's geoportal implementation. To find out what text in the interface is mapped to what resource key in gpt.properties, do the following:
- Open the body.jsp file associated with the web page that you want to change. These files are stored in \\geoportal\catalog\content. In this example, we will open the aboutBody.jsp file and alter text on the About page.
- Notice where the bean text is located. It is often indicated by a preceding 'value="#{gptMsg' string. In aboutBody.jsp, there are two beans referenced. In this example, the second one will be updated. This resource key (catalog.content.about.statement), contains text that will display on the About page describing your organization's geoportal implementation.
- Navigate to \\geoportal\WEB-INF\classes\gpt\resources and open gpt.properties.
- Search for the resource key catalog.content.about.statement. You should see an entry like the following:
catalog.content.about.statement = \
\<p>
\customize this text to describe your organization's geoportal implementation
\</p>
- Change the text after the = sign to include appropriate text for your organization's geoportal.
- Save gpt.properties.
- Refresh the web page, click on the About link at the top, and see that the page has been updated. If other jsp pages referenced the resource key catalog.content.about.statement, those pages would be updated with your new text in the geoportal interface as well. The bean references are useful for quickly updating text used throughout the geoportal user interface.
- Verify that you have updated text associated with the Privacy, and Disclaimer pages. These pages are easy to overlook.
Change the default color theme to another pre-defined one
The \\geoportal\catalog\skins\themes directory contains 2 sub-folders: blue and red. Note, you can also access additional themes from other users in the Theme Library. The active color theme is referenced in \\geoportal\catalog\skins\lookAndFeel.jsp. By default, the active theme is the red theme. The simplest customization is to change from one pre-defined color theme to another - for example, from the red theme to the blue one.
- Navigate to \\geoportal\catalog\skins.
- Open lookAndFeel.jsp.
- Notice there are three <link rel="stylesheet" ...> tags.
- The first (...\tundra.css) defines the stylesheet reference for the Browse tab and some other functionalities within the geoportal web application. There is no need to alter this \tundra.css location
- The second <link rel="stylesheet" ...> tag sets the location of the main.css, which defines the color scheme for the geoportal interface.
- The third <link rel="stylesheet" ...> tag sets the location of the preview.css, defining the color scheme for the Preview functionality.
- By default, the main and preview stylesheets are set to reference stylesheets in the red theme folder. When you change these to reference the blue folder, the geoportal interface and Preview function will be displayed according to styles in the blue theme folder. Change these references to point to the blue folder, as shown below:
<link rel="stylesheet" type="text/css"
href="<%=request.getContextPath()%>/catalog/skins/themes/blue/main.css"/>
<link rel="stylesheet" type="text/css"
href="<%=request.getContextPath()%>/catalog/skins/themes/blue/preview.css"/>
- Save the lookAndFeel.jsp file.
- Restart the geoportal web application for your changes to take effect.
Create a custom theme
The simplest way to create your own color theme is to use one of the pre-defined themes as a base and edit it. Make a copy of one of the pre-defined themes that are available out-of-the-box and modify its images and class definitions, as described in the steps below.
- Navigate to the \\geoportal\catalog\skins\themes folder.
- Copy the red folder into the same directory, giving it a new name (e.g., "green")
- In your newly named folder, open main.css and modify it to define new styling
- Open the preview.css and modify it as well to define styling. This preview.css file defines styles for the geoportal live services previewing page.
- Open the images directory in your new folder, and replace any of the images with your own.
To change the banner, you can do either of the following:
- Name your banner image 'banner.jpg', and copy it into this image folder, thus overwriting the default banner.jpg file.
- If your banner image has a different name, you can find the reference to the banner.jpg file in the main.css file, and change it to match the name of your banner image.
- Follow the steps in the Change the default color theme to another pre-defined one topic above to reference your new theme in lookAndFeel.jsp.
- (Optional) Contribute your customized theme to the Theme Library if you'd like other users to be able to build from your work.
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 \\geoportal\catalog\skins and open lookAndFeel.jsp.
- 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 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 \\geoportal\catalog\images.
- 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.
Add a clickable icon to the banner
Perhaps you'd like users to be able to click on your geoportal's banner and be directed to another page - for example, the homepage for your sponsoring organization. Follow instructions below:
- Open the \\geoportal\catalog\skins\tiles\banner.jsp file
- Find the div tag with the id="gptTitle"
- Add an href and an img just after this div as shown below, but updating the href,id, and src values to the URL of interest, a unique id of your choosing, and an image URL that is accessible to your geoportal web application:
<a href="http://www.esri.com"><img id="bannerclick" src="http://web-accessible-location/imagename.png" /></a>
- Note that you may have to adjust or delete the tag that calls the text that displays over the geoportal banner.
- Save the banner.jsp file.
- Restart your geoportal web application. Now, you should see your image overlaid on the banner, and it should be clickable for your URL.
Back to Customizations