PassMark Logo
Home » Forum

Error Customizing Search_Template.html

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pab1953
    Junior Member
    • Mar 2009
    • 11

    #1

    Error Customizing Search_Template.html

    I've attempted to customize search_template.html but I must have made a mistake somewhere because it's not producing any results. Before I customized it it was working fine.

    What I did was take a file from my site -- which has a header, footer, sidebar, main content area and links -- and add in the content from the search_template file.

    I put the meta info in the <head> and added the css to some other <style>s I'm using.

    I then added the "onload" line to the <body> tag.

    Finally, I added the "Search this site" text to a DIV.

    Then, I renamed the file and put it back on the server.

    But when I run a search, all I get is the "Search this site" text, no results.

    Thanks to anyone who can shed some light.
  • David
    Administrator
    • Dec 2004
    • 4714

    #2
    Can you post the URL to the search function so that we can take a look.

    Comment

    • Ray
      Administrator
      • Dec 2004
      • 4357

      #3
      Did you forget to put the <!--ZOOMSEARCH--> tag in the file or somehow removed it? That's the most important thing, as it tells the script where to show the results, etc.

      See chapter 6 in the Users Guide for more information.
      --Ray
      Wrensoft Web Software
      Sydney, Australia
      Zoom Search Engine

      Comment

      • pab1953
        Junior Member
        • Mar 2009
        • 11

        #4
        Two months later I get around to working on the search function again -- and leaving out the <!--ZOOMSEARCH--> tag was the problem.

        I'm sure I'll have plenty more questions for you now that search is on the front burner, but thanks for your help with this.

        Comment

        Working...