Hi,
I tried to comment the lines you highlighted, now I see the different topic categories instead gn categories.
Following the hints from José he gave me last year, I even tried this:
http://localhost:8080/geonetwork/srv/eng/q?_content_type=json&fast=index
The latter doesn't show the categories. It seems that the facet doesn't work. Should the category facet be activated in some way? Should I modify some other config file?
Cheers,
Eugenio
________________________________
Da: Nicolas De Ville de Goyet <ndeville@anonymised.com>
Inviato: mercoledì 20 febbraio 2019 16:47:45
A: Eugenio Trumpy
Oggetto: Re: R: [GeoNetwork-users] Browse by in GN3.6
Remove the part that you comment on line 102. You should not comment elements inside < > bracket as the html is not valid anymore (I was not clear enough on that).
Use an xml editor to have color code to help you!
also the span element from line 66 to 83 is useless
On 20/02/19 16:35, Eugenio Trumpy wrote:
Hi,
thank you for your prompt answer.
I remember very well my post and the answer from Josè Garcia.
I was in GN 3.2, now I'm trying it in GN 3.6 and seems that something could be different in the code.
I followed again the https://pastebin.com/sKfKS4PH codes: I modified config-summary.xml,
I have a facet named "category" and item "category" both in details and manager 'summary type'
and even in 'hits'.
My home.html is here: https://pastebin.com/sTVbCNzR
This is very similar to your home, but I still have the problem.
Where am I wrong?
Eugenio
________________________________
Da: Nicolas De Ville de Goyet <ndeville@anonymised.com><mailto:ndeville@anonymised.com…>
Inviato: mercoledì 20 febbraio 2019 15:35
A: frippe12573
Oggetto: Re: [GeoNetwork-users] Browse by in GN3.6
Hi,
If your are still willing to change the Inspire and topic categories by GN categories,
- adapt the code like here https://pastebin.com/sKfKS4PH to have the GN category "Browse by" button
- remove all the parts that are linked to Inspire and Topic
- remove the line data-ng-show='browse === "categories"
Attached is my current version (with keywords, not categories).
But I really followed what was suggested by Jose Garcia on your previous post to get things working
Nicolas
On 20/02/19 14:50, frippe12573 wrote:
Hi Ndeville,
actually I don't find the part of the code you highlighted:
data-ng-show='browse === "categories"
in the home.html code.
Here I paste my home.html that is the original version:
https://pastebin.com/RE209wRv
Maybe you meant to uncomment from line 79 to 81 but even to change
topicCats and topic in categories?
Am I right? In case of yes the line 82 should be commented?
Eugenio
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@anonymised.comforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
--
Nicolas de Ville
Belgian Marine Data Centre (BMDC)
OD-Nature, Royal Belgian Institute of Natural Sciences
02/627.42.79
www.bmdc.be<http://www.bmdc.be>
geonetwork.bmdc.be
--
Nicolas de Ville
Belgian Marine Data Centre (BMDC)
OD-Nature, Royal Belgian Institute of Natural Sciences
02/627.42.79
www.bmdc.be<http://www.bmdc.be>
geonetwork.bmdc.be