PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Home Page search query fails to produce results

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Home Page search query fails to produce results

    I have created a website, and use Zoom Indexer 6 (build 1023) as the search engine. Here's the URL to the web site: http://www.wildbluetools.com/content/ZoomTest/installer.html

    I have a search box on this page, which I have embedded using this code:
    <div id="SearchBox">
    <form method="GET" action="search.html">
    <input size="40" id="zoom_query" type="text">
    <button type="submit" value></button>
    </form>
    </div><!--end of SearchBox-->


    On my search.html file, I have this code:
    <div id="MainContentArea">
    <script language="JavaScript">ZoomSearch();</script>
    <noscript>You must have JavaScript enabled to use this version of the search engine.</noscript>

    </div><!--end of Main-->


    The drop down menus have this same coding on their sub-pages. If you hover over one of the menu topics (like ODU), and click when it turns yellow, you'll see the search box. I've created the same zoom .zcfg files, allowing for the appropriate sub-directory changes, for all menu topics and the home page. I run the menu indexers before I run to root level indexer. The log files all look like I expect.

    The .zcfg files can be downloaded from http://www.wildbluetools.com/content/ZoomTest/Zoom_CDVersion/

    After indexing the whole site, and uploading all zoom*.* files, my home (root) index fails to produce any results. HOWEVER, if I go to a menu topic, the index WORKS ????? A good example keyword is VS1100.

    Can someone help me find my error??? I have a publishing deadline of August 26th, and I just can't see what I've done wrong. Thank you for any assistance offered.

    Warm regards,
    Karen Mallette (aka Drgnslyr)

  • #2
    Change "id" to "name"

    <input size="40" name="zoom_query" type="text">

    See, "Q. How do I add a simple search box to each page of my site?"

    Comment


    • #3
      I knew I wasn't seeing the forest for the trees! Thanks so much.

      Comment


      • #4
        Spoke too soon ... still not working

        I spoke too soon... changing id="zoom query" to name="zoom query" did not solve the problem.

        After changing the form code, I completely reindexed my site. I am still getting blank results pages from the 'home' page.

        Next idea?

        Comment


        • #5
          I am still seeing "id" when I view the source on the following URL, http://www.wildbluetools.com/content/ZoomTest/installer.html, did you update the page and make it live on your server?

          <div id="SearchBox">
          <form method="GET" action="search.html">
          <input size="40" id="zoom_query" type="text">
          <button type="submit" value></button>
          </form>
          </div><!--end of SearchBox-->

          Comment


          • #6
            As Richard noted, looking at the installer.html web page you quoted in your original post, select "View Source" in your browser. The form still has an id= attribute instead of a name= attribute.

            You might have made the change on a local copy of the page but did not upload it to your web server.

            The second problem is on your "search.html" file. You have switched the order of the .js files around.

            This is what you have:
            Code:
            <script language="JavaScript" src="search.js"></script>
            <script language="JavaScript" src="settings.js"></script>
            This is what you should have:
            Code:
            <script language="JavaScript" src="settings.js"></script>
            <script language="JavaScript" src="search.js"></script>
            --Ray
            Wrensoft Web Software
            Sydney, Australia
            Zoom Search Engine

            Comment


            • #7
              Fixed!

              Thank you!!

              Comment

              Working...
              X