Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

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.

Copy the vivo/installer/home/target/vivo/rdf/i18n/en_US/interface-i18n/firsttime/vivo_UiLabel_wilma.ttl into vivo/installer/home/target/vivo/rdf/i18n/en_US/interface-i18n/firsttime/vivo_UiLabel_fred.ttl, and substitute (find and replace) the term wilma with the term fred inside the new file. The previous example is working for English (en_US) user interface, the same action should be done for other languages used in the VIVO instance. 

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.

...