VIVO Documentation
Page History
Table of Contents |
---|
Introduction
Making changes to VIVO
...
As with the RDF files, you should favor new files over changes to existing files. This will make it easier to carry your changes to a new release.
A third tier
The discussion of VIVO and Vitro shows how the two code bases are combined during the build process. Some VIVO sites keep their local modifications in a third layer. This layer (or tier) is combined with VIVO and Vitro during the build.
The three-tier approach is a little harder to set up than the standard build, but it has the advantage of keeping all of your local modifications separate from the VIVO distribution. When the time comes to upgrade to a new release, there is no question about what files contain your local changes.
The two-tier build is fine, if your changes are limited to:
- Annotations on the ontology
- A custom theme
- Page management
- Language support
Three-tiers might be better if you will be using
- Custom list views
- Custom short views
- Custom entry forms
- Java changes
The VIVO Installation Instructions contain more details about how to set three tiers and there is a Git project template available.
Tool summary
Required skills
...
What does it do? | How? | Required skills | |
---|---|---|---|
Creating a custom theme | Create your own "brand" for VIVO.
| CSS files, JavaScript files, and templates for HTML. | Web development |
Annotations on the ontology | Control how data is displayed.
| Interactive. | Basic |
Home page customizations | Choose from home page options.
| Edit your home page template to include a selection of sub-templates. | Web development |
Menu and Page page management | Add new pages to VIVO.
| Interactive. | Web development, optional SPARQL |
Profiles for classes | Use one type of profile page for people and another for organizations. | Create page templates. Configure VIVO to associate them with classes. | Web development, RDF |
Multiple profile types for foaf:Person | Provide a choice of formats for profile pages.
| Edit page templates. Perhaps connect to a Website image capture service. | Web development |
Enriching profile pages with SPARQL queries | Display additional data on a profile page. | Write a SPARQL query. Create a template to display the results. Configure VIVO to use it. | Web development, SPARQL, RDF |
Enhancing page templates with SPARQL queries | Display additional data in any page template. | Write a SPARQL query. Modify a template to display the results. Configure VIVO to use it. | Web development, SPARQL, RDF |
Custom list views | Change how certain properties are displayed
| Write a SPARQL query. Create a template to display the results. Configure VIVO to use it. | Web development, SPARQL, RDF |
Custom short views | Change how search results are displayed
Also change display on index pages and browse pages. | Write a SPARQL query. Create a template to display the results. Configure VIVO to use it. | Web development, SPARQL, RDF |
Custom entry forms | Create data entry forms
| Write a generator class in Java. Create a template for the editing form. | Web development, SPARQL, RDF, Java |
Using Open Social Gadgets | Create optional content for profile pages.
| Create gadgets from JavaScript, or install existing gadgets. | Web development, OpenSocial |
Language support | Languages other than English
| Create files of phrases in the desired language, or install existing files. | Basic |
...