Old Release

This documentation relates to an old version of VIVO, version 1.10.x. Looking for another version? See all documentation.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Overview

VIVO uses Freemarker templates to create its web pages.  These templates can be modified to alter VIV's appearance.  Most VIVO sites alter VIVO's default appearance.  VIVO has a "Site Info" capability that allows a few presentation elements to be modified from the Site Admin menu.  Modifying other elements involves creating a theme and modifying that theme.  Here we describe simple modifications that most sites want to make before they go into production.  For a detailed description of theming and templates, see Creating a custom theme

Add Site Information

Using Site Admin → Site Information, you can:

  1. Set the site name (typically something like Scholars@Cornell or GWU Experts, or UF VIVO).  The site name is used on several pages when explaining the site to users.
  2. Contact Email address.  provide an email address that will receive contact info from VIVO.  Typically this is set to a generic email address or list that can be answered by the people responsible for user support.  Example: info@vivo.myschool.edu
  3. Set the theme.  See above.
  4. Copyright holder.  This is typically the name of your institution.  Example: George Washington University
  5. Copyright URL.  A URL that will be visited when a user clicks on the copyright link at the bottom of each VIVO page.

Site information is stored in the VIVO configuration triple store.

Create a Theme

VIVO comes with a standard theme, called wilma.  wilma is in the folder in vivo/installer/webapp/target/vivo/themes.  

To create a new theme, choose a name for your new theme.  In these examples below we will call the new theme fred.  

Copy the wilma directory and its contents to a new directory called fred.  fred must also be in vivo/installer/webapp/target/vivo/themes.

Your new theme will contain CSS files, image files, and Freemarker templates.

Run the Maven install to deploy your new theme to the Tomcat container. Restart the VIVO Tomcat process. You can then go to the Site Admin page and choose Site Information, to select your theme as the current one.

Modify Header with Logo

Modify Footer

Add Your Colors

Additional Theming

For more information on theming, see Creating a custom theme

  • No labels