[GeoNetwork-users] To Enable Show Advanced Options by Default

I have GN set up, and looking working. My question here is how I can enable the "Show Advanced options" to show by default so that end users can enter inputs.

Thanks.

Hi,

For GN v2.10.2 HTML5UI I have made the below changes to show the advanced
options by default in the home and catalog tabs (probably not the most
elegant approach but it works).

Commented out hideAdvancedSearch(); in App.js
(https://github.com/geonetwork/core-geonetwork/blob/2.10.2/web-client/src/main/resources/apps/html5ui/js/App.js#L673)

And added showAdvancedSearch(); at end of onReady
(https://github.com/geonetwork/core-geonetwork/blob/2.10.2/web-client/src/main/resources/apps/html5ui/js/App.js#L762)

Changed hideAdvancedSearch(); to showAdvancedSearch(); in GlobalFunctions.js
showBrowse
(https://github.com/geonetwork/core-geonetwork/blob/2.10.2/web-client/src/main/resources/apps/html5ui/js/GlobalFunctions.js#L74)

And added showAdvancedSearch(); at end of showSearch
(https://github.com/geonetwork/core-geonetwork/blob/2.10.2/web-client/src/main/resources/apps/html5ui/js/GlobalFunctions.js#L148)

I hope this helps.

Kind regards

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/To-Enable-Show-Advanced-Options-by-Default-tp5156276p5156497.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

It works beautiful. Shireeb. Thank you so much.

On Thursday, August 14, 2014 10:26 PM, shireeb <s.brockie@anonymised.com> wrote:

Hi,

For GN v2.10.2 HTML5UI I have made the below changes to show the advanced
options by default in the home and catalog tabs (probably not the most
elegant approach but it works).

Commented out hideAdvancedSearch(); in App.js
(https://github.com/geonetwork/core-geonetwork/blob/2.10.2/web-client/src/main/resources/apps/html5ui/js/App.js#L673)

And added showAdvancedSearch(); at end of onReady
(https://github.com/geonetwork/core-geonetwork/blob/2.10.2/web-client/src/main/resources/apps/html5ui/js/App.js#L762)

Changed hideAdvancedSearch(); to showAdvancedSearch(); in GlobalFunctions.js
showBrowse
(https://github.com/geonetwork/core-geonetwork/blob/2.10.2/web-client/src/main/resources/apps/html5ui/js/GlobalFunctions.js#L74)

And added showAdvancedSearch(); at end of showSearch
(https://github.com/geonetwork/core-geonetwork/blob/2.10.2/web-client/src/main/resources/apps/html5ui/js/GlobalFunctions.js#L148)

I hope this helps.

Kind regards

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/To-Enable-Show-Advanced-Options-by-Default-tp5156276p5156497.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
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