VIVO Documentation
Page History
...
Your new theme will contain CSS files, image files, and Freemarker templates.
Run the Ant build 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.
The structure of pages in VIVO
...
Like adding templates, overriding templates is simplified. You can override a file in vitro-core/webapp/web/templates/freemarker
, or one of its sub-directories, by creating a file with the same name and path under vivo/productMods/templates/freemarker
.
But VIVO treats all available Freemarker templates as belonging to the same flat namespace, whether they are in the theme directory or in the templates/freemarker
directory, or one of its sub-directories. So a file named vitro-core/webapp/web/templates/freemarker/page/partials/footer.ftl
can be overridden by a file called footer.ftl
in the theme directory.
...