Opened 13 years ago

Closed 13 years ago

#710 closed task (fixed)

Widgets / Add latest news in home page

Reported by: fxp Owned by: geonetwork-devel@…
Priority: minor Milestone: v2.7.0
Component: General Version:
Keywords: Cc:

Description

Add a custom MetadataResultsView to show latest news for the catalogue in the home page.

Latest news widget is populated using a search query where user could define custom criteria (eg. only local node updates) and sort results by change date in order to get the latest only.

2 parameters are defined:

  • latestQuery: The query to use (including number of items)
  • latestTpl: The template to use (default is thumbnail view)

Sample configuration:

GeoNetwork.Settings.latestQuery = "from=1&to=5&sortBy=changeDate&fast=index";
GeoNetwork.Settings.latestTpl = GeoNetwork.Templates.THUMBNAIL;

Attachments (1)

geonetwork-widget-home-with-last-updates.png (82.4 KB ) - added by fxp 13 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by fxp, 13 years ago

Committed revision 8527.

comment:2 by fxp, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.