Hi Sergio
Related to your question: The categories list is rendered in the file INSTALL_DIR/xsl/main-page.xsl, at the end of the file there’s a template: <xsl:template name=“categories”> that manages to render the categories. You can change it to use an accordion or other type of rendering.
Not sure if you’re working with installer version or you downloaded the source code. For xsl changes (GeoNetwork uses xsl to create html) no need of source code, but if you need to change javascript probably you’ll want to download the sources as javascript is minified, so any change you add in javascript files is not taken unless you use in url this param ?debug=true.
Note that GeoNetwork caches xslt for performance, but this is not nice while programming, you can change the file INSTALL_DIR/WEB-INF/classes/META-INF/services/javax.xml.transform.TransformerFactory to have this value:
net.sf.saxon.TransformerFactoryImpl
and avoid caching of xslt.
A good place to check about development is: http://geonetwork-opensource.org/manuals/trunk/eng/developer/index.html
Please for messages in GeoNetwork devel list use english. There’s also an specific spanish users list for GeoNetwork available.
Thanks and regards,
Jose García
2013/2/15 Sergio Cabrera <ccheco25@anonymised.com>
Buen dia,
En mi empresa queremos modificar el codigo fuente del geonetwork. Es en la seccion busqueda por categorias (parte izquierda inferior de la pagina del geonetwork). Queremos colocar otro tipo de listado (tipo acordeon)…pero no se si sea muy complicado hacerlo. Quisiera que alguien pudiera orientarme acerca de esto. De antemano muchas gracias.
Sergio
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
–
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net