[GeoNetwork-users] Browse by ......

Hi

<http://osgeo-org.1560.x6.nabble.com/file/n5220436/browse_by.jpg&gt;

I'm working with GN3 and want to change the frontpage that instead for
"Browse by topics" wil be "Browse by Categories". And then the categories
that I have put my data into comes up.
<http://osgeo-org.1560.x6.nabble.com/file/n5220436/categories.jpg&gt;

It must be possible to change that but I can't find it.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Browse-by-tp5220436.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hello everyone,
I have exactly the same "problem" and would be nice to read about a solution
or a useful idea. Does anyone can help us?

Nils

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Browse-by-tp5220436p5220944.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Someone please

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Browse-by-tp5220436p5229679.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi,

Try to uncomment this line maybe

Be sure to be in debug mode to see changes occur

On Tue, Oct 13, 2015 at 12:41 PM, hoddih <hoddi@anonymised.com> wrote:

Someone please

--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Browse-by-tp5220436p5229679.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at
GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

--
*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Florent Gravin*
0479444492

Hi Florent and thanks for your advice

Unfortunately that didn't do the job. Nothing happened :frowning:

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Browse-by-tp5220436p5229710.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Well,

You must be sure first that your change has been loaded in your browser.
If you are in prod mode, and minified javascript, then the code is not
updated.

You need to remove the wro4j cache, do you know about that ?

On Tue, Oct 13, 2015 at 2:05 PM, hoddih <hoddi@anonymised.com> wrote:

Hi Florent and thanks for your advice

Unfortunately that didn't do the job. Nothing happened :frowning:

--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Browse-by-tp5220436p5229710.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at
GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

--
*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Florent Gravin*
0479444492

Hi,

I'm trying the same thing (i.e., sostitute 'Browse by INSPIRE theme' with
the GN Category).
I read this email thread, but I currently solve the problem.
I'm using GN3.2.1 and following the suggestion from Florent Gravin I
modified the file:

/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/templates/home.html

Actually the L50 was not commented, but in the same place I modified the
file as follow:

Last login: Wed May 30 11:43:51 on ttys000
MacBook-Pro-di-Eugenio:~ eugenio$ ssh eugenio@anonymised.com
eugenio@anonymised.com's password:
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-93-generic x86_64)

* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage

57 pacchetti possono essere aggiornati.
12 sono aggiornamenti di sicurezza.

Last login: Wed May 30 11:44:12 2018 from 146.48.55.47
eugenio@anonymised.com:~$ sudo nano /var/lib/tomcat7/webapps/geonetwork/
catalog/ doc/ htmlCache/ loc/ modalbox.css
WEB-INF/ xsl/
conversion/ geonetwork.css images/ META-INF/ resources/
xml/ xslt/
eugenio@anonymised.com:~$ sudo nano /var/lib/tomcat7/webapps/geonetwork/WEB-INF/
classes/ config-portal.xml
mime-types.properties
config/ config-print/
node-utils/
config-csw.xml config.properties
oasis-catalog.xml
config-db/ config-security/
override_epsg.properties
config-export.xml config-solr.properties
overrides/
config-lucene.xml config-spring-env.xml
schemaplugin-uri-catalog.xml
config-metadata-experimental.xml config-spring-geonetwork-parent.xml
server.prop
config-metadata.xml config-spring-geonetwork.xml
spring-servlet.xml
config-node/ config-stats-params.xml
urlrewrite.xml
config-notifier.xml config-summary.xml
user-profiles.xml
config-oai-prefixes.xml config-versioning.xml
web.xml
config-overrides-dev.xml config.xml
wro.properties
config-overrides-inspire.xml data/
wro-sources.xml
config-overrides-prod.xml jetty-env.xml
wro-sources.xsd
config-overrides.xml lib/
eugenio@anonymised.com:~$ sudo nano
/var/lib/tomcat7/webapps/geonetwork/WEB-INF/config/config-
config-service-admin-csw.xml config-service-dcat-rdf.xml
config-service-admin-formatter.xml
config-service-inspireatom.xml
config-service-admin-geoserver-publication.xml
config-service-monitoring.xml
config-service-admin-harvesting.xml config-service-oai.xml
config-service-admin-index.xml config-service-pdf.xml
config-service-admin-io.xml config-service-region.xml
config-service-admin-logo.xml config-service-reports.xml
config-service-admin-notification.xml config-service-rss.xml
config-service-admin-schematron.xml config-service-search.xml
config-service-admin-schema.xml config-service-sitemap.xml
config-service-admin-transfert-privileges.xml config-service-sru.xml
config-service-admin-user-and-group.xml
config-service-statistics.xml
config-service-admin.xml
config-service-subtemplate.xml
config-service-batch.xml config-service-thesaurus.xml
config-service-crs.xml config-service-xml-api.xml
config-service-csv.xml config-ui-admin.xml
config-service-csw-virtual.xml config-ui-metadata.xml
config-service-csw.xml config-ui-search.xml
eugenio@anonymised.com:~$ sudo nano /var/lib/tomcat7/webapps/geonetwork/WEB-INF/
classes/ config-portal.xml
mime-types.properties
config/ config-print/
node-utils/
config-csw.xml config.properties
oasis-catalog.xml
config-db/ config-security/
override_epsg.properties
config-export.xml config-solr.properties
overrides/
config-lucene.xml config-spring-env.xml
schemaplugin-uri-catalog.xml
config-metadata-experimental.xml config-spring-geonetwork-parent.xml
server.prop
config-metadata.xml config-spring-geonetwork.xml
spring-servlet.xml
config-node/ config-stats-params.xml
urlrewrite.xml
config-notifier.xml config-summary.xml
user-profiles.xml
config-oai-prefixes.xml config-versioning.xml
web.xml
config-overrides-dev.xml config.xml
wro.properties
config-overrides-inspire.xml data/
wro-sources.xml
config-overrides-prod.xml jetty-env.xml
wro-sources.xsd
config-overrides.xml lib/
eugenio@anonymised.com:~$ sudo nano /var/lib/tomcat7/webapps/geonetwork/WEB-INF/
classes/ config-portal.xml
mime-types.properties
config/ config-print/
node-utils/
config-csw.xml config.properties
oasis-catalog.xml
config-db/ config-security/
override_epsg.properties
config-export.xml config-solr.properties
overrides/
config-lucene.xml config-spring-env.xml
schemaplugin-uri-catalog.xml
config-metadata-experimental.xml config-spring-geonetwork-parent.xml
server.prop
config-metadata.xml config-spring-geonetwork.xml
spring-servlet.xml
config-node/ config-stats-params.xml
urlrewrite.xml
config-notifier.xml config-summary.xml
user-profiles.xml
config-oai-prefixes.xml config-versioning.xml
web.xml
config-overrides-dev.xml config.xml
wro.properties
config-overrides-inspire.xml data/
wro-sources.xml
config-overrides-prod.xml jetty-env.xml
wro-sources.xsd
config-overrides.xml lib/
eugenio@anonymised.com:~$ sudo nano /var/lib/tomcat7/webapps/geonetwork/
packet_write_wait: Connection to 146.48.94.196 port 22: Broken pipe
MacBook-Pro-di-Eugenio:~ eugenio$ ssh eugenio@anonymised.com
eugenio@anonymised.com's password:
Welcome to Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-93-generic x86_64)

* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage

57 pacchetti possono essere aggiornati.
12 sono aggiornamenti di sicurezza.

Last login: Wed May 30 12:23:32 2018 from 146.48.55.47
eugenio@anonymised.com:~$ sudo apt-get update
[sudo] password for eugenio:
Trovato:1 http://it.archive.ubuntu.com/ubuntu xenial InRelease
Trovato:2 http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu xenial InRelease
Scaricamento di:3 http://security.ubuntu.com/ubuntu xenial-security
InRelease [107 kB]
Scaricamento di:4 http://it.archive.ubuntu.com/ubuntu xenial-updates
InRelease [109 kB]
Trovato:5 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
Trovato:6 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial InRelease
Scaricamento di:7 http://it.archive.ubuntu.com/ubuntu xenial-backports
InRelease [107 kB]
Scaricamento di:8 http://it.archive.ubuntu.com/ubuntu xenial-updates/main
amd64 Packages [783 kB]
Scaricamento di:9 http://security.ubuntu.com/ubuntu xenial-security/main
amd64 Packages [500 kB]
Scaricamento di:10 http://it.archive.ubuntu.com/ubuntu xenial-updates/main
i386 Packages [718 kB]
Scaricamento di:11 http://security.ubuntu.com/ubuntu xenial-security/main
i386 Packages [443 kB]
Scaricamento di:12 http://security.ubuntu.com/ubuntu
xenial-security/universe amd64 Packages [351 kB]
Scaricamento di:13 http://security.ubuntu.com/ubuntu
xenial-security/universe i386 Packages [301 kB]
Scaricamento di:14 http://it.archive.ubuntu.com/ubuntu
xenial-updates/universe amd64 Packages [631 kB]
Scaricamento di:15 http://it.archive.ubuntu.com/ubuntu
xenial-updates/universe i386 Packages [578 kB]
Recuperati 4.627 kB in 1s (2.447 kB/s)
Lettura elenco dei pacchetti... Fatto
eugenio@anonymised.com:~$ sudo apt-get upgrade
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Calcolo dell'aggiornamento... Fatto
I seguenti pacchetti sono stati mantenuti alla versione attuale:
  libapache2-mod-php libdrm-amdgpu1 libdrm2 libgl1-mesa-dri
libgraphicsmagick-q16-3 libwebp-dev libzmq5 linux-generic
  linux-headers-generic linux-image-generic mesa-vdpau-drivers open-vm-tools
php php-bz2 php-curl php-gd php-mbstring
  php-mysql php-pgsql php-xml php-zip
I seguenti pacchetti saranno aggiornati:
  ifupdown libplymouth4 libprocps4 linux-firmware plymouth
plymouth-theme-ubuntu-text procps vlan
8 aggiornati, 0 installati, 0 da rimuovere e 21 non aggiornati.
È necessario scaricare 51,2 MB di archivi.
Dopo quest'operazione, verranno occupati 10,0 MB di spazio su disco.
Continuare? [S/n]
Scaricamento di:1 http://it.archive.ubuntu.com/ubuntu xenial-updates/main
amd64 libprocps4 amd64 2:3.3.10-4ubuntu2.4 [33,1 kB]
Scaricamento di:2 http://it.archive.ubuntu.com/ubuntu xenial-updates/main
amd64 procps amd64 2:3.3.10-4ubuntu2.4 [222 kB]
Scaricamento di:3 http://it.archive.ubuntu.com/ubuntu xenial-updates/main
amd64 ifupdown amd64 0.8.10ubuntu1.4 [54,9 kB]
Scaricamento di:4 http://it.archive.ubuntu.com/ubuntu xenial-updates/main
amd64 libplymouth4 amd64 0.9.2-3ubuntu13.5 [85,2 kB]
Scaricamento di:5 http://it.archive.ubuntu.com/ubuntu xenial-updates/main
amd64 plymouth amd64 0.9.2-3ubuntu13.5 [107 kB]
Scaricamento di:6 http://it.archive.ubuntu.com/ubuntu xenial-updates/main
amd64 plymouth-theme-ubuntu-text amd64 0.9.2-3ubuntu13.5 [9.090 B]
Scaricamento di:7 http://it.archive.ubuntu.com/ubuntu xenial-updates/main
amd64 linux-firmware all 1.157.19 [50,7 MB]
Scaricamento di:8 http://it.archive.ubuntu.com/ubuntu xenial-updates/main
amd64 vlan amd64 1.9-3.2ubuntu1.16.04.5 [30,7 kB]
Recuperati 51,2 MB in 4s (11,3 MB/s)
(Lettura del database... 137472 file e directory attualmente installati.)
Preparativi per estrarre .../libprocps4_2%3a3.3.10-4ubuntu2.4_amd64.deb...
Estrazione di libprocps4:amd64 (2:3.3.10-4ubuntu2.4) su
(2:3.3.10-4ubuntu2.3)...
Preparativi per estrarre .../procps_2%3a3.3.10-4ubuntu2.4_amd64.deb...
Estrazione di procps (2:3.3.10-4ubuntu2.4) su (2:3.3.10-4ubuntu2.3)...
Preparativi per estrarre .../ifupdown_0.8.10ubuntu1.4_amd64.deb...
Estrazione di ifupdown (0.8.10ubuntu1.4) su (0.8.10ubuntu1.3)...
Preparativi per estrarre .../libplymouth4_0.9.2-3ubuntu13.5_amd64.deb...
Estrazione di libplymouth4:amd64 (0.9.2-3ubuntu13.5) su
(0.9.2-3ubuntu13.4)...
Preparativi per estrarre .../plymouth_0.9.2-3ubuntu13.5_amd64.deb...
Estrazione di plymouth (0.9.2-3ubuntu13.5) su (0.9.2-3ubuntu13.4)...
Preparativi per estrarre
.../plymouth-theme-ubuntu-text_0.9.2-3ubuntu13.5_amd64.deb...
Estrazione di plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.5) su
(0.9.2-3ubuntu13.4)...
Preparativi per estrarre .../linux-firmware_1.157.19_all.deb...
Estrazione di linux-firmware (1.157.19) su (1.157.18)...
Preparativi per estrarre .../vlan_1.9-3.2ubuntu1.16.04.5_amd64.deb...
Estrazione di vlan (1.9-3.2ubuntu1.16.04.5) su (1.9-3.2ubuntu1.16.04.4)...
Elaborazione dei trigger per libc-bin (2.23-0ubuntu10)...
Elaborazione dei trigger per man-db (2.7.5-1)...
Elaborazione dei trigger per ureadahead (0.100.0-19)...
Elaborazione dei trigger per systemd (229-4ubuntu21.2)...
Configurazione di libprocps4:amd64 (2:3.3.10-4ubuntu2.4)...
Configurazione di procps (2:3.3.10-4ubuntu2.4)...
update-rc.d: warning: start and stop actions are no longer supported;
falling back to defaults
Configurazione di ifupdown (0.8.10ubuntu1.4)...
Configurazione di libplymouth4:amd64 (0.9.2-3ubuntu13.5)...
Configurazione di plymouth (0.9.2-3ubuntu13.5)...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported;
falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported;
falling back to defaults
Configurazione di plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.5)...
update-initramfs: deferring update (trigger activated)
Configurazione di linux-firmware (1.157.19)...
update-initramfs: Generating /boot/initrd.img-4.4.0-93-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.

update-initramfs: Generating /boot/initrd.img-4.4.0-62-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Configurazione di vlan (1.9-3.2ubuntu1.16.04.5)...
Installazione della nuova versione del file di configurazione
/etc/network/if-pre-up.d/vlan...
Elaborazione dei trigger per libc-bin (2.23-0ubuntu10)...
Elaborazione dei trigger per initramfs-tools (0.122ubuntu8.11)...
update-initramfs: Generating /boot/initrd.img-4.4.0-93-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
eugenio@anonymised.com:~$ sudo nano
/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/templates/home.html
eugenio@anonymised.com:~$ sudo nano
/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/templates/
home.html index.html map.html recordView.html
results.html searchForm.html
eugenio@anonymised.com:~$ sudo nano
/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/templates/index.html
eugenio@anonymised.com:~$ sudo nano
/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/
config.js directives/ images/ less/ module.js templates/
eugenio@anonymised.com:~$ sudo nano
/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/templates/home.html

  GNU nano 2.5.3 File:
/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/templates/home.html

       <label data-ng-show="searchInfo.facet['topicCats'].length > 0">
          <input type="radio" name="browse" value="topics"
data-ng-model="browse"/>
          topics
        </label>
       <label data-ng-show="searchInfo.facet['category'].length > 0">
          <input type="radio" name="browse" value="category"
data-ng-model="browse"/>
          categories
        </label>
      
      <label
        data-ng-show="searchInfo.facet['inspireThemes'].length > 0 &&
searchInfo.facet['topicCats'].length == 0">inspireThemes</label>
      <label
        data-ng-show="searchInfo.facet['topicCats'].length > 0 &&
searchInfo.facet['inspireThemes'].length == 0">topics</label>
      <label
        data-ng-show="searchInfo.facet['category'].length > 0 &&
searchInfo.facet['category'].length == 0">categories</label>

Then I reboot tomcat.
Unfortunately nothing changed in the home page.
Am I miss something important?

Thank you

Eugenio

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html

Hi everyone,

I would like to raise again the problem I have on changing in the home page
the option available with the radio button 'Browse by'. By default it is
available INSPIRE categories and Topic categories.
I want to change INSPIRE categories into Geonetwork Categories including
those created by me.
I googled with any reasonable results. The only item is this thread, however
without pointing out any solution.
I modified a bit the file:

/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/templates/home.html

as follow:

<div class="row" data-ng-show="searchInfo.count > 0">
    <div class="col-sm-8" data-ng-show="browse !== ''">
      browseBy
       0 && searchInfo.facet['topicCats'].length > 0">
        <label data-ng-show="searchInfo.facet['inspireThemes'].length > 0">
          <input type="radio" name="browse" value="inspire"
data-ng-model="browse"/>
          inspireThemes
        </label>
       
      <label data-ng-show="searchInfo.facet['categories'].length > 0">
          <input type="radio" name="browse" value="cat"
data-ng-model="browse"/>
          categories
        </label>
      
<label
        data-ng-show="searchInfo.facet['inspireThemes'].length > 0 &&
searchInfo.facet['topicCats'].length == 0">inspireThemes</label>
      
     <label
        data-ng-show="searchInfo.facet['categories'].length > 0 &&
searchInfo.facet['inspireTheme'].length == 0">categories</label>
      <div class="row">
        
            <div class="badge-icon">
               
                  //
                
            </div>
            <div class="badge-text">
               
                {{facet['@label']}}<br>
                {{facet['@count']}}
               
            </div>
        
            <div class="badge-icon col-xs-3">
               
                   //
                
            </div>
            <div class="badge-text col-xs-9">
               
                {{facet['@label']}}<br>
                {{facet['@count']}}
               
            </div>
        
</code>

Any hints are very welcome.

Eugenio

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html

Hi

I think the issue is that the current search summary doesn't return a facet
for the GeoNetwork categories, you'll need to update

https://github.com/geonetwork/core-geonetwork/blob/3.4.x/web/src/main/webapp/WEB-INF/config-summary.xml#L133

to add the category facet to that summary:

          <item dimension="category" plural="categories" indexKey="_cat"
max="45"

translator="db:org.fao.geonet.repository.MetadataCategoryRepository:findOneByName"/>

After that restart GeoNetwork (maybe is required also a reindex, but not
sure). You can check in the browser the following request that should be
the one send by the panel:

http://SERVER/geonetwork/srv/eng/qi?_content_type=json&summaryOnly=true

You should get a json with that has an element like this:

...
"categories": [

]
...

Then you can use in your code the categories element to use it in the panel.

Regards,
Jose García

On Tue, Jun 19, 2018 at 4:39 PM, frippe12573 <frippe12573@anonymised.com>
wrote:

Hi everyone,

I would like to raise again the problem I have on changing in the home page
the option available with the radio button 'Browse by'. By default it is
available INSPIRE categories and Topic categories.
I want to change INSPIRE categories into Geonetwork Categories including
those created by me.
I googled with any reasonable results. The only item is this thread,
however
without pointing out any solution.
I modified a bit the file:

/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/templates/home.html

as follow:

<div class="row" data-ng-show="searchInfo.count > 0">
    <div class="col-sm-8" data-ng-show="browse !== ''">
      browseBy
       0 && searchInfo.facet['topicCats'].length > 0">
        <label data-ng-show="searchInfo.facet['inspireThemes'].length >
0">
          <input type="radio" name="browse" value="inspire"
data-ng-model="browse"/>
          inspireThemes
        </label>

      <label data-ng-show="searchInfo.facet['categories'].length > 0">
          <input type="radio" name="browse" value="cat"
data-ng-model="browse"/>
          categories
        </label>

<label
        data-ng-show="searchInfo.facet['inspireThemes'].length > 0 &&
searchInfo.facet['topicCats'].length == 0">inspireThemes</label>

     <label
        data-ng-show="searchInfo.facet['categories'].length > 0 &&
searchInfo.facet['inspireTheme'].length == 0">categories</label>
      <div class="row">

            <div class="badge-icon">

                  //

            </div>
            <div class="badge-text">

                {{facet['@label']}}<br>
                {{facet['@count']}}

            </div>

            <div class="badge-icon col-xs-3">

                   //

            </div>
            <div class="badge-text col-xs-9">

                {{facet['@label']}}<br>
                {{facet['@count']}}

            </div>

</code>

Any hints are very welcome.

Eugenio

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-
f3860293.html

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

Dear Jose,

thank you very much for your input!

In my config-summary.xml there was already the facet 'category' since I added it to have in the search page the filter by category, and it works.

However, at the level <summaryType name="details" format="DIMENSION">

I have added the line you suggested:

<item dimension="category" plural="categories" indexKey="_cat" max="45" translator="db:org.fao.geonet.repository.MetadataCategoryRepository:findOneByName"/>

which is a bit different (see after item once I have dimension, once facet) from what I had already:

<item facet="category" max="99" sortBy="value" translator="db:org.fao.geonet.repository.MetadataCategoryRepository:findOneByName"/>

After the addiction of this line I restarted tomcat, but I had problems (fatal errors) and geonetwork didn't restart. Once I removed the line It started again.

I checked also the url you suggested me, which it gave me the json as you announced, without the categories statements.

Could you give me some more hints?

Best

Eugenio

________________________________
Da: Jose Garcia <jose.garcia@anonymised.com>
Inviato: mercoledì 20 giugno 2018 10:16
A: frippe12573
Cc: Geonetwork-Users@anonymised.com
Oggetto: Re: [GeoNetwork-users] Browse by category

Hi

I think the issue is that the current search summary doesn't return a facet
for the GeoNetwork categories, you'll need to update

https://github.com/geonetwork/core-geonetwork/blob/3.4.x/web/src/main/webapp/WEB-INF/config-summary.xml#L133
[https://avatars3.githubusercontent.com/u/1842442?s=400&v=4]<https://github.com/geonetwork/core-geonetwork/blob/3.4.x/web/src/main/webapp/WEB-INF/config-summary.xml#L133&gt;

geonetwork/core-geonetwork<https://github.com/geonetwork/core-geonetwork/blob/3.4.x/web/src/main/webapp/WEB-INF/config-summary.xml#L133&gt;
github.com
core-geonetwork - GeoNetwork repository

to add the category facet to that summary:

          <item dimension="category" plural="categories" indexKey="_cat"
max="45"

translator="db:org.fao.geonet.repository.MetadataCategoryRepository:findOneByName"/>

After that restart GeoNetwork (maybe is required also a reindex, but not
sure). You can check in the browser the following request that should be
the one send by the panel:

http://SERVER/geonetwork/srv/eng/qi?_content_type=json&summaryOnly=true

You should get a json with that has an element like this:

...
"categories": [

]
...

Then you can use in your code the categories element to use it in the panel.

Regards,
Jose García

On Tue, Jun 19, 2018 at 4:39 PM, frippe12573 <frippe12573@anonymised.com>
wrote:

Hi everyone,

I would like to raise again the problem I have on changing in the home page
the option available with the radio button 'Browse by'. By default it is
available INSPIRE categories and Topic categories.
I want to change INSPIRE categories into Geonetwork Categories including
those created by me.
I googled with any reasonable results. The only item is this thread,
however
without pointing out any solution.
I modified a bit the file:

/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/templates/home.html

as follow:

<div class="row" data-ng-show="searchInfo.count > 0">
    <div class="col-sm-8" data-ng-show="browse !== ''">
      browseBy
       0 && searchInfo.facet['topicCats'].length > 0">
        <label data-ng-show="searchInfo.facet['inspireThemes'].length >
0">
          <input type="radio" name="browse" value="inspire"
data-ng-model="browse"/>
          inspireThemes
        </label>

      <label data-ng-show="searchInfo.facet['categories'].length > 0">
          <input type="radio" name="browse" value="cat"
data-ng-model="browse"/>
          categories
        </label>

<label
        data-ng-show="searchInfo.facet['inspireThemes'].length > 0 &&
searchInfo.facet['topicCats'].length == 0">inspireThemes</label>

     <label
        data-ng-show="searchInfo.facet['categories'].length > 0 &&
searchInfo.facet['inspireTheme'].length == 0">categories</label>
      <div class="row">

            <div class="badge-icon">

                  //

            </div>
            <div class="badge-text">

                {{facet['@label']}}<br>
                {{facet['@count']}}

            </div>

            <div class="badge-icon col-xs-3">

                   //

            </div>
            <div class="badge-text col-xs-9">

                {{facet['@label']}}<br>
                {{facet['@count']}}

            </div>

</code>

Any hints are very welcome.

Eugenio

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-
f3860293.html

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

Dear Jose and all,

unfortunately I'm not yet able to change INSPIRE themes and topic categories
with Categories from the 'Browse by' in the home page.
As I said I'm using GN 3.2.1, and here <https://pastebin.com/smbezkPG&gt; the
code I modified to such aim in
/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/templates/home.html
from line 41 to 98;
and here <https://pastebin.com/gFhfTbgV&gt; the code modified in
/var/lib/tomcat7/webapps/geonetwork/WEB-INF/config-summary.xml at line 33

Could anyone help me?
Any hint is very appreciated!

Eugenio

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html

Hi

I haven't try the changes, but I see this:

   <label data-ng-show="searchInfo.facet['category'].length > 0">

From config-summary.xml:

<facet name="category" indexKey="_cat" label="categories" localized="true"/>

I think you need to use searchInfo.facet['categories']

You can check in this request the name of the facet:
http://localhost:8080/geonetwork/srv/eng/q?_content_type=json&fast=index

Regards,
Jose García

On Fri, Jun 22, 2018 at 2:20 PM, frippe12573 <frippe12573@anonymised.com>
wrote:

Dear Jose and all,

unfortunately I'm not yet able to change INSPIRE themes and topic
categories
with Categories from the 'Browse by' in the home page.
As I said I'm using GN 3.2.1, and here <https://pastebin.com/smbezkPG&gt;
the
code I modified to such aim in
/var/lib/tomcat7/webapps/geonetwork/catalog/views/
default/templates/home.html
from line 41 to 98;
and here <https://pastebin.com/gFhfTbgV&gt; the code modified in
/var/lib/tomcat7/webapps/geonetwork/WEB-INF/config-summary.xml at line 33

Could anyone help me?
Any hint is very appreciated!

Eugenio

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-
f3860293.html

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

Dear Josè,

thank you for your input.

I changed in home.html category with categories in each searchInfo.facet['category'].

Unfortunately after a tomcat restart, index rebuilt and clear browse cache nothing change.

I then checked the URL (http://localhost:8080/geonetwork/srv/eng/q?_content_type=json&fast=index) to see the name of the facet,

I only find out 'category' among the metadata's items: see here: https://pastebin.com/rUYu4B7g (last line).

Other helps?

Eugenio

[https://pastebin.com/i/facebook.png\]<https://pastebin.com/rUYu4B7g&gt;

{ "@from": "1", "@to": "182", "@selected": "0", "summary": { - Pastebin.com<https://pastebin.com/rUYu4B7g&gt;
pastebin.com

________________________________
Da: Jose Garcia <jose.garcia@anonymised.com>
Inviato: lunedì 25 giugno 2018 09:27
A: frippe12573
Cc: Geonetwork-Users@anonymised.com
Oggetto: Re: [GeoNetwork-users] Browse by category

Hi

I haven't try the changes, but I see this:

   <label data-ng-show="searchInfo.facet['category'].length > 0">

From config-summary.xml:

<facet name="category" indexKey="_cat" label="categories" localized="true"/>

I think you need to use searchInfo.facet['categories']

You can check in this request the name of the facet: http://localhost:8080/geonetwork/srv/eng/q?_content_type=json&fast=index

Regards,
Jose García

On Fri, Jun 22, 2018 at 2:20 PM, frippe12573 <frippe12573@anonymised.com<mailto:frippe12573@anonymised.com>> wrote:
Dear Jose and all,

unfortunately I'm not yet able to change INSPIRE themes and topic categories
with Categories from the 'Browse by' in the home page.
As I said I'm using GN 3.2.1, and here <https://pastebin.com/smbezkPG&gt; the
code I modified to such aim in
/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/templates/home.html
from line 41 to 98;
and here <https://pastebin.com/gFhfTbgV&gt; the code modified in
/var/lib/tomcat7/webapps/geonetwork/WEB-INF/config-summary.xml at line 33

Could anyone help me?
Any hint is very appreciated!

Eugenio

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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

--
Vriendelijke groeten / Kind regards,

Jose García

[https://www.geocat.net/wp-content/uploads/2015/07/GeoCat_small1.png\]<http://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664<tel:+31318416664>

[https://www.geocat.net/wp-content/uploads/2015/07/facebook_24.png\]<https://www.facebook.com/geocatbv&gt; [https://www.geocat.net/wp-content/uploads/2015/07/Twitter_icon.png\] <https://twitter.com/geocat_bv&gt; [https://www.geocat.net/wp-content/uploads/2015/07/Google-plus-icon.png\] <https://plus.google.com/u/1/+GeocatNetbv/posts&gt;

Please consider the environment before printing this email.

Hi Eugenio

Check these changes: https://pastebin.com/sKfKS4PH

I have tried them with 3.2.1 and works for me.

Note that probably you'll need a reindex and restart Geonetwork.

Regards,
Jose García

On Mon, Jun 25, 2018 at 9:58 AM, Eugenio Trumpy <frippe12573@anonymised.com>
wrote:

Dear Josè,

thank you for your input.

I changed in home.html category with categories in each
searchInfo.facet['category'].

Unfortunately after a tomcat restart, index rebuilt and clear browse cache
nothing change.

I then checked the URL (http://localhost:8080/geonetw
ork/srv/eng/q?_content_type=json&fast=index) to see the name of the facet,

I only find out 'category' among the metadata's items: see here:
https://pastebin.com/rUYu4B7g (last line).

Other helps?

Eugenio
<https://pastebin.com/rUYu4B7g&gt;
{ "@from": "1", "@to": "182", "@selected": "0", "summary": { - Pastebin.com
<https://pastebin.com/rUYu4B7g&gt;
pastebin.com

------------------------------
*Da:* Jose Garcia <jose.garcia@anonymised.com>
*Inviato:* lunedì 25 giugno 2018 09:27
*A:* frippe12573
*Cc:* Geonetwork-Users@anonymised.com
*Oggetto:* Re: [GeoNetwork-users] Browse by category

Hi

I haven't try the changes, but I see this:

   <label data-ng-show="searchInfo.facet['category'].length > 0">

From config-summary.xml:

<facet name="category" indexKey="_cat" label="categories"
localized="true"/>

I think you need to use searchInfo.facet['categories']

You can check in this request the name of the facet:
http://localhost:8080/geonetwork/srv/eng/q?_content_type=json&fast=index

Regards,
Jose García

On Fri, Jun 22, 2018 at 2:20 PM, frippe12573 <frippe12573@anonymised.com>
wrote:

Dear Jose and all,

unfortunately I'm not yet able to change INSPIRE themes and topic
categories
with Categories from the 'Browse by' in the home page.
As I said I'm using GN 3.2.1, and here <https://pastebin.com/smbezkPG&gt;
the
code I modified to such aim in
/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/te
mplates/home.html
from line 41 to 98;
and here <https://pastebin.com/gFhfTbgV&gt; the code modified in
/var/lib/tomcat7/webapps/geonetwork/WEB-INF/config-summary.xml at line 33

Could anyone help me?
Any hint is very appreciated!

Eugenio

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f386029
3.html

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/project
s/geonetwork

--

* Vriendelijke groeten / Kind regards, Jose García
<http://www.geocat.net/&gt; Veenderweg 13
<https://maps.google.com/?q=Veenderweg+13+ +6721+WD+Bennekom+ +The+Netherlands&entry=gmail&source=g&gt;
6721 WD Bennekom
<https://maps.google.com/?q=Veenderweg+13+ +6721+WD+Bennekom+ +The+Netherlands&entry=gmail&source=g&gt;
The Netherlands
<https://maps.google.com/?q=Veenderweg+13+ +6721+WD+Bennekom+ +The+Netherlands&entry=gmail&source=g&gt;
T: +31 (0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt; Please consider the
environment before printing this email. *

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

Hi Jose,

thank you very much! It works fine also with me!!!

Cheers

Eugenio

________________________________
Da: Jose Garcia <jose.garcia@anonymised.com>
Inviato: lunedì 25 giugno 2018 19:09
A: Eugenio Trumpy
Cc: Geonetwork-Users@anonymised.com
Oggetto: Re: [GeoNetwork-users] Browse by category

Hi Eugenio

Check these changes: https://pastebin.com/sKfKS4PH
[https://pastebin.com/i/facebook.png\]<https://pastebin.com/sKfKS4PH&gt;

GeoNetwork 3.2.1 filter by categories in home page ============================ - Pastebin.com<https://pastebin.com/sKfKS4PH&gt;
pastebin.com

I have tried them with 3.2.1 and works for me.

Note that probably you'll need a reindex and restart Geonetwork.

Regards,
Jose García

On Mon, Jun 25, 2018 at 9:58 AM, Eugenio Trumpy <frippe12573@anonymised.com<mailto:frippe12573@anonymised.com>> wrote:

Dear Josè,

thank you for your input.

I changed in home.html category with categories in each searchInfo.facet['category'].

Unfortunately after a tomcat restart, index rebuilt and clear browse cache nothing change.

I then checked the URL (http://localhost:8080/geonetwork/srv/eng/q?_content_type=json&fast=index) to see the name of the facet,

I only find out 'category' among the metadata's items: see here: https://pastebin.com/rUYu4B7g (last line).

Other helps?

Eugenio

[https://pastebin.com/i/facebook.png\]<https://pastebin.com/rUYu4B7g&gt;

{ "@from": "1", "@to": "182", "@selected": "0", "summary": { - Pastebin.com<https://pastebin.com/rUYu4B7g&gt;
pastebin.com<http://pastebin.com>

________________________________
Da: Jose Garcia <jose.garcia@anonymised.com<mailto:jose.garcia@anonymised.com>>
Inviato: lunedì 25 giugno 2018 09:27
A: frippe12573
Cc: Geonetwork-Users@anonymised.com<mailto:Geonetwork-Users@anonymised.com>
Oggetto: Re: [GeoNetwork-users] Browse by category

Hi

I haven't try the changes, but I see this:

   <label data-ng-show="searchInfo.facet['category'].length > 0">

From config-summary.xml:

<facet name="category" indexKey="_cat" label="categories" localized="true"/>

I think you need to use searchInfo.facet['categories']

You can check in this request the name of the facet: http://localhost:8080/geonetwork/srv/eng/q?_content_type=json&fast=index

Regards,
Jose García

On Fri, Jun 22, 2018 at 2:20 PM, frippe12573 <frippe12573@anonymised.com<mailto:frippe12573@anonymised.com>> wrote:
Dear Jose and all,

unfortunately I'm not yet able to change INSPIRE themes and topic categories
with Categories from the 'Browse by' in the home page.
As I said I'm using GN 3.2.1, and here <https://pastebin.com/smbezkPG&gt; the
code I modified to such aim in
/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/templates/home.html
from line 41 to 98;
and here <https://pastebin.com/gFhfTbgV&gt; the code modified in
/var/lib/tomcat7/webapps/geonetwork/WEB-INF/config-summary.xml at line 33

Could anyone help me?
Any hint is very appreciated!

Eugenio

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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

--
Vriendelijke groeten / Kind regards,

Jose García

[https://www.geocat.net/wp-content/uploads/2015/07/GeoCat_small1.png\]<http://www.geocat.net/&gt;
Veenderweg 13<https://maps.google.com/?q=Veenderweg+13+ +6721+WD+Bennekom+ +The+Netherlands&entry=gmail&source=g&gt;
6721 WD Bennekom<https://maps.google.com/?q=Veenderweg+13+ +6721+WD+Bennekom+ +The+Netherlands&entry=gmail&source=g&gt;
The Netherlands<https://maps.google.com/?q=Veenderweg+13+ +6721+WD+Bennekom+ +The+Netherlands&entry=gmail&source=g&gt;
T: +31 (0)318 416664<tel:+31318416664>

[https://www.geocat.net/wp-content/uploads/2015/07/facebook_24.png\]<https://www.facebook.com/geocatbv&gt; [https://www.geocat.net/wp-content/uploads/2015/07/Twitter_icon.png\] <https://twitter.com/geocat_bv&gt; [https://www.geocat.net/wp-content/uploads/2015/07/Google-plus-icon.png\] <https://plus.google.com/u/1/+GeocatNetbv/posts&gt;

Please consider the environment before printing this email.

--
Vriendelijke groeten / Kind regards,

Jose García

[https://www.geocat.net/wp-content/uploads/2015/07/GeoCat_small1.png\]<http://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664<tel:+31318416664>

[https://www.geocat.net/wp-content/uploads/2015/07/facebook_24.png\]<https://www.facebook.com/geocatbv&gt; [https://www.geocat.net/wp-content/uploads/2015/07/Twitter_icon.png\] <https://twitter.com/geocat_bv&gt; [https://www.geocat.net/wp-content/uploads/2015/07/Google-plus-icon.png\] <https://plus.google.com/u/1/+GeocatNetbv/posts&gt;

Please consider the environment before printing this email.

Dear Garcia and all,

I wonder if it is possible to change the default position of the radio button of the 'Browse by'.

Eugenio

________________________________
Da: Jose Garcia <jose.garcia@anonymised.com>
Inviato: lunedì 25 giugno 2018 19:09
A: Eugenio Trumpy
Cc: Geonetwork-Users@anonymised.com
Oggetto: Re: [GeoNetwork-users] Browse by category

Hi Eugenio

Check these changes: https://pastebin.com/sKfKS4PH
[https://pastebin.com/i/facebook.png\]<https://pastebin.com/sKfKS4PH&gt;

GeoNetwork 3.2.1 filter by categories in home page ============================ - Pastebin.com<https://pastebin.com/sKfKS4PH&gt;
pastebin.com

I have tried them with 3.2.1 and works for me.

Note that probably you'll need a reindex and restart Geonetwork.

Regards,
Jose García

On Mon, Jun 25, 2018 at 9:58 AM, Eugenio Trumpy <frippe12573@anonymised.com<mailto:frippe12573@anonymised.com>> wrote:

Dear Josè,

thank you for your input.

I changed in home.html category with categories in each searchInfo.facet['category'].

Unfortunately after a tomcat restart, index rebuilt and clear browse cache nothing change.

I then checked the URL (http://localhost:8080/geonetwork/srv/eng/q?_content_type=json&fast=index) to see the name of the facet,

I only find out 'category' among the metadata's items: see here: https://pastebin.com/rUYu4B7g (last line).

Other helps?

Eugenio

[https://pastebin.com/i/facebook.png\]<https://pastebin.com/rUYu4B7g&gt;

{ "@from": "1", "@to": "182", "@selected": "0", "summary": { - Pastebin.com<https://pastebin.com/rUYu4B7g&gt;
pastebin.com<http://pastebin.com>

________________________________
Da: Jose Garcia <jose.garcia@anonymised.com<mailto:jose.garcia@anonymised.com>>
Inviato: lunedì 25 giugno 2018 09:27
A: frippe12573
Cc: Geonetwork-Users@anonymised.com<mailto:Geonetwork-Users@anonymised.com>
Oggetto: Re: [GeoNetwork-users] Browse by category

Hi

I haven't try the changes, but I see this:

   <label data-ng-show="searchInfo.facet['category'].length > 0">

From config-summary.xml:

<facet name="category" indexKey="_cat" label="categories" localized="true"/>

I think you need to use searchInfo.facet['categories']

You can check in this request the name of the facet: http://localhost:8080/geonetwork/srv/eng/q?_content_type=json&fast=index

Regards,
Jose García

On Fri, Jun 22, 2018 at 2:20 PM, frippe12573 <frippe12573@anonymised.com<mailto:frippe12573@anonymised.com>> wrote:
Dear Jose and all,

unfortunately I'm not yet able to change INSPIRE themes and topic categories
with Categories from the 'Browse by' in the home page.
As I said I'm using GN 3.2.1, and here <https://pastebin.com/smbezkPG&gt; the
code I modified to such aim in
/var/lib/tomcat7/webapps/geonetwork/catalog/views/default/templates/home.html
from line 41 to 98;
and here <https://pastebin.com/gFhfTbgV&gt; the code modified in
/var/lib/tomcat7/webapps/geonetwork/WEB-INF/config-summary.xml at line 33

Could anyone help me?
Any hint is very appreciated!

Eugenio

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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

--
Vriendelijke groeten / Kind regards,

Jose García

[https://www.geocat.net/wp-content/uploads/2015/07/GeoCat_small1.png\]<http://www.geocat.net/&gt;
Veenderweg 13<https://maps.google.com/?q=Veenderweg+13+ +6721+WD+Bennekom+ +The+Netherlands&entry=gmail&source=g&gt;
6721 WD Bennekom<https://maps.google.com/?q=Veenderweg+13+ +6721+WD+Bennekom+ +The+Netherlands&entry=gmail&source=g&gt;
The Netherlands<https://maps.google.com/?q=Veenderweg+13+ +6721+WD+Bennekom+ +The+Netherlands&entry=gmail&source=g&gt;
T: +31 (0)318 416664<tel:+31318416664>

[https://www.geocat.net/wp-content/uploads/2015/07/facebook_24.png\]<https://www.facebook.com/geocatbv&gt; [https://www.geocat.net/wp-content/uploads/2015/07/Twitter_icon.png\] <https://twitter.com/geocat_bv&gt; [https://www.geocat.net/wp-content/uploads/2015/07/Google-plus-icon.png\] <https://plus.google.com/u/1/+GeocatNetbv/posts&gt;

Please consider the environment before printing this email.

--
Vriendelijke groeten / Kind regards,

Jose García

[https://www.geocat.net/wp-content/uploads/2015/07/GeoCat_small1.png\]<http://www.geocat.net/&gt;
Veenderweg 13
6721 WD Bennekom
The Netherlands
T: +31 (0)318 416664<tel:+31318416664>

[https://www.geocat.net/wp-content/uploads/2015/07/facebook_24.png\]<https://www.facebook.com/geocatbv&gt; [https://www.geocat.net/wp-content/uploads/2015/07/Twitter_icon.png\] <https://twitter.com/geocat_bv&gt; [https://www.geocat.net/wp-content/uploads/2015/07/Google-plus-icon.png\] <https://plus.google.com/u/1/+GeocatNetbv/posts&gt;

Please consider the environment before printing this email.

Dear Garcia,

Thanks to your input I was able to visualize also the Geonetwork Categories
in the 'Browse by' existing in the home page.
Now I need to modify a bit the page: I would like to remove the inspireTheme
and topics and leave there only GN Categories. To do this I commented some
lines as you can see in the file:

https://pastebin.com/Kn0P6HtU

I would expect to have the radio button selected on 'Categories', whilst I
have an empty radio button for 'Categories' and only after a click on the
radio button the categories appear. I tried also to inserti in the html code
'checked', but doesn't work.

Could you give me an hint?

Eugenio

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html

Hello Frippe12573 and others,

I'm also working on the home template of Geonetwork. Thanks to this post I
was able to add a "keywords" button in the "Browse By" section of the home
page.
(see https://pastebin.com/sKfKS4PH). Instead of using categories as shown in
the example I used the keyword values.

Now, I'm trying to limit the keywords shown to a few selected values.

In catalog/views/default/templates/home.html, I guess I need to modify the
data-ng-repeat or the data-ng-show element.

E.g. I tried:

span id="chips-card" data-ng-repeat="(key, facet) in
searchInfo.facet['keywords'].name == 'Some.Specific.keyword'"
              class="col-xs-6 col-sm-4 col-lg-3" data-ng-show="browse ===
'keywords'">
            <div class="badge-icon">

But no results so far. Any idea how I could choose which keywords are
shown?!

Thanks for your help,

Nicolas de Ville

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html

Hello again,

For the record, to select which categories (or keywords) are to be selected,
simply forget the "data-ng-repeat" approach and create manually a element
for each category you need.
Edit the link, the picture/logo, title and label and you're good to go!
Cheers,
Nicolas

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html