Hello everybody,
I'm working with GeoSource-2.9.1 but I think I might have more responses writing directly to this list instead of the one dedicated to french users of geonetwork so here I am. Consequently, please excuse my english if I'm writing it badly.
I'd like to implement the possibility for users to choose between two versions of a pdf export, the one already existing modulo some style modifications and another pdf version more complete that I'd customize myself. I managed to add a new button reproducing the way the original pdf export button works in geosource-2.9.1/web/geosource/apps/search/js/app-mini.js So naturally, the pdf files generated by the old button and the new one are the same.
Now I'd like for my new button to generate a different pdf and I'm wondering how I'm supposed to do it. I can't figure out how the connection between the function "metadataPrint" in app-mini.js and the different .xsl files that customize the pdf export works.
So, I think my real question here is : Is there someone who have already confronted to the same issue? Or at the very least, can someone explain to me how the pdf export really works in geonetwork? Please take in consideration that I've never worked with xslt before or geonetwork for that matter so any kind of help would be appreciated because I'm kind of stuck here.
Thanks by advance
Maxime