Opened 13 years ago
Closed 13 years ago
#710 closed task (fixed)
Widgets / Add latest news in home page
Reported by: | fxp | Owned by: | |
---|---|---|---|
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)
Change History (3)
by , 13 years ago
Attachment: | geonetwork-widget-home-with-last-updates.png added |
---|
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Committed revision 8527.