Dear All,
I would like to load the "Advanced Search Options" directly
and hide the standard search Options (incl. GeoRSS and Categories)
completely.
Can someone tell me if there is an easy way to so and
where to find the "template" for the website.
Thanks in advance
Till
--
Johann Heinrich von Thünen-Institut
Bundesforschungsinstitut für Ländliche Räume, Wald und Fischerei
- Institut für Waldökologie und Waldinventuren Eberswalde -
Alfred-Möller-Straße 1
16225 Eberswalde
Deutschland
Telefon/Mailbox: +49 (0)3334 65-310
E-Mail: till.kirchner@anonymised.com
http://www.vti.bund.de
The control over the simple search or advanced search is set by a cookie.
This is initiated to simplesearch in the main-page.xsl file on load.
Unfortunately, there is no config setting to fix this to advanced as default
- it is hard coded in this file. The good news is that this change is easy
to implement.
Find these lines in your xsl/main-page.xsl file: (lines 334 - 337 in
GN2.6.4)
// Initialize small maps for search
initMapsSearch();
showSimpleSearch();
Comment out the "showSimpleSearch();" and replace it with
"showAdvancedSearch();" like this:
// Initialize small maps for search
initMapsSearch();
showAdvancedSearch();
//showSimpleSearch();
This will set the "search" cookie to advanced on init and display the
advanced search interface.
Cheers,
Byron
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Show-Advanced-Search-Options-as-default-tp6710357p6713062.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.