Hi Chopin,
I see 2 solutions, one simple, the other one more complicated. Depends if you want to compile your code or not.
- the templates are defined in apps/html5ui/js/Templates.js so you can change the content there, but for it to be effective, you'll have to recompile your code. So, not that simple
- simple solution : use CSS hacks : identify the elements you want to hide (firebug does it very well, for example), and then tweak the CSS file (or add your own one) and override some CSS properties. A display:none should do the work, basicly.
Finally, did you check the buttons just on the right of the 'sort by' combo ? They offer you 3 kinds of rendering, one seems to suit exactly your needs...
Cheers,
Jean
Le 04/11/2014 15:48, Chopin hu a écrit :
I am using html5ui widget (geonetwork/srv/eng/search?debug=true)
On Tuesday, November 4, 2014 5:40 AM, Jean Pommier <jean.pommier@anonymised.com> wrote:
Hi Chopin,
Depends on the UI you chose.
Which UI are you using ?
Jean
Le 31/10/2014 17:32, Chopin hu a écrit :
> Have been trying for a while, and but could not figure out clearly how to customize the display of the search result. what I am trying to do:1.) not to display the "Abstract" element from the response2.) not to display the thumb nail, even not a default one -- just want to keep the page clean.Which XSL stylesheet should I look into?
>
> Thank you very much.Chopin
> ------------------------------------------------------------------------------
> _______________________________________________
> GeoNetwork-users mailing list
> GeoNetwork-users@lists.sourceforge.net <mailto:GeoNetwork-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
--
*Jean Pommier -- pi-Geosolutions*
Ingénieur, consultant indépendant
Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com <mailto:jp@anonymised.com>
Web : www.pi-geosolutions.fr
------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net <mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
--
*Jean Pommier -- pi-Geosolutions*
Ingénieur, consultant indépendant
Tél. : (+33) 6 09 23 21 36
E-mail : jp@anonymised.com
Web : www.pi-geosolutions.fr