PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Search Results on My Own Page

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

  • Search Results on My Own Page

    Using the following HTML from one of your documents, I've put a search form on a page of my own design, a page which has the overall look & feel of the website.

    Code:
    <form method="get" action="/search-index/search.asp">
              <input type="text" name="zoom_query" size="20" />
              <input type="submit" value="Search" />
              <small> Results per page: 
              <select name='zoom_per_page'>
                <option selected>10</option>
                <option>20</option>
                <option>100</option>
              </select>
              <br />
              <br />
              Match: 
              <input type="radio" name="zoom_and" value="0" checked />
              any search words 
              <input type="radio" name="zoom_and" value="1" />
              all search words </small> 
    </form>
    That works fine.

    But how do I get the results to also appear on that page, below the search form?

    Or even on another page, so long as it's one of my own design?

    I tried putting <!--ZOOMSEARCH--> below the above form, but that didn't work.

    The results are always shown on the plain search.asp page which is generated by Zoom.

    I don't (yet) want to modify the appearance/layout of the search results themselves. I just want the search results to appear within my own page, instead of displaying them on the search.asp page.

    Possible?

    TIA

    - Marteco

  • #2
    You need to customise the search_template.html file to match the look of you site.

    See also this FAQ
    Q. How do I customize the appearance of my search results with CSS?

    Comment


    • #3
      Originally posted by wrensoft View Post
      You need to customise the search_template.html file to match the look of you site.
      Is there any way I can have the search results displayed on an ASP page?

      My pages are all assembled using asp to insert headers, footers, menus, etc.

      Comment


      • #4
        Yes. Please see the FAQ:
        Q. How can I add headers & footers to the search template using SSIs or scripts?
        --Ray
        Wrensoft Web Software
        Sydney, Australia
        Zoom Search Engine

        Comment


        • #5
          Thanks Ray, that worked just fine.

          Comment

          Working...
          X