osgeonl / geonetwork-dutch-skin

Dutch styles GeoNetwork
4 stars 5 forks source link

A custom view for GeoNetwork 4.2.x: 'Dutch Government Skin'

This project contains a skin for the GeoNetwork Opensource project at https://github.com/geonetwork. A skin generally consists of a number of overrides for templates (html), styles (less) and scripts (js). The skin can be added to a GeoNetwork core sources as a git submodule or as a zipfile to a pre-build WAR.

Version 4.2 is rebuilt from the ground up. It's closely matched with the version 4.2.x of GeoNetwork OpenSource (main branch).

This version replaces version 4.0.

Homepage

Features:

This work has been started by PDOK and is further maintained by the GeoNetwork Usergroup Netherlands. If you find any issues, use the Github issue tracker here https://github.com/osgeonl/geonetwork-dutch-skin/issues.

A preconfigured skin is available as Docker image at https://hub.docker.com/r/geocat/geonetwork-nl/

The license of the project is GPLv2.

Installation instructions

If at build time (mvn install)

git submodule add -b 4.2.x https://github.com/osgeonl/geonetwork-dutch-skin.git web-ui/src/main/resources/catalog/views/dutch
git submodule init

If at run time (WAR)

Settings

Then do some additional settings on the main project:

General

Set custom search list items

In Admin > Settings > User Interface select the option to show the logo in the Header.

Layout width

Change the width of the page to a fixed width:

Do not change:

Custom background layers for the Map

On Admin > Settings and Admin > Settings > User Interface set the default map to load to use the thematic map with pdok-backgrounds at ../../catalog/views/dutch/config-nl-viewer.xml

Tabbed interface for related elements

The content and layout of the related elements (links, downloads, etc) can be changed in the admin interface. In order to change it, go to Admin > Settings > User Interface > Record View and look for the distribution configuration, this is a JSON file where default the "layout" is left empty, but when you enter tabset, tabs are being used. Like this: "layout": "tabset",

Tabbed interface

How to add facets?

Go to Admin > Settings > User Interface > Display filter tags in the search results and select the option, and unselect the optiopn if you don't want the facets on the search results.

Finally