33db6013f1b84f1ff59b285aec3a54414e928ad0
max
  Mon Oct 11 06:26:58 2021 -0700
removing the hg.conf dependency and changing "examples" help text to Jim's suggested text, refs #28072

diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index 74c60a8..b87999f 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -8047,33 +8047,33 @@
     hPrintf("<A HREF=\"%s\" title=\"%s\">", url, dyStringCannibalize(&dsMouseOver));
 
     freeMem(url);
     freeMem(longLabel);
     }
 
 hPrintf("%s", track->shortLabel);
 if (track->hasUi)
     hPrintf("</A>");
 hPrintf("<BR>");
 }
 
 void printSearchHelpLink()
 /* print the little search help link next to the go button */
 {
-char *url = cfgOption("searchHelpUrl");
-char *label = cfgOptionDefault("searchHelpLabel", "Search Help");
-if (!url)
+char *url = cfgOptionDefault("searchHelpUrl","../goldenPath/help/query.html");
+char *label = cfgOptionDefault("searchHelpLabel", "examples");
+if (!url || isEmpty(url))
     return;
 
 printf("<div id='searchHelp'><a target=_blank title='Documentation on what you can enter into the Genome Browser search box' href='%s'>%s</a></div>", url, label);
 }
 
 void doTrackForm(char *psOutput, struct tempName *ideoTn)
 /* Make the tracks display form with the zoom/scroll buttons and the active
  * image.  If the ideoTn parameter is not NULL, it is filled in if the
  * ideogram is created.  */
 {
 struct group *group;
 struct track *track;
 char *freezeName = NULL;
 boolean hideAll = cgiVarExists("hgt.hideAll");
 boolean hideTracks = cgiOptionalString( "hideTracks") != NULL;