PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

How to get the result page in a chosen table (td)

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

  • How to get the result page in a chosen table (td)

    I've been working with zoom for a few hours now and i really love it!

    It's fast, it's accurate! It's really awsome....

    But to really get it into my layout as i like to see it...

    I'm using Tables for my site as folowing:
    Code:
    <table border="0" cellpadding="0" cellspacing="0">
    <tr valign="top">
      <td valign="top">
      Menu that's on the leftside	
      </td>
      <td valign="top">
    TEXT TEXT TEXT TEXT TEXT
      </td>
    </tr>
    </table>
    This shows the main page on wich the TEXT TEXT part is where the content goes, i've put the search bar underneath the Menu on the leftside and like to get the result page in the TEXT TEXT area....

    Please help me? :P

  • #2
    You should edit the search_template.html file with your favorite HTML editor. You can open this file from Zoom using the menu option.
    Templates / Customize search page appearance.

    This file contains the HTML code,

    Which is where the search form and results will be placed on the page.

    This is also documented in the users guide,
    http://www.wrensoft.com/zoom/usersguide.html

    -----
    David

    Comment


    • #3
      Yeah i knew that allready, but i have no idea how to edit it the way i like it to see!

      Comment


      • #4
        You should be able to just add you table tags around the Zoom search tags to get something like this,

        Code:
        <table border="0" cellpadding="0" cellspacing="0"> 
        <tr valign="top"> 
          <td valign="top"> 
          Menu that's on the leftside    
          </td> 
          <td valign="top"> 
         
          </td> 
        </tr> 
        </table>
        Obviously you'll still need to keep the rest of the template, (the <head> tags, style sheet,etc..)

        -----
        David

        Comment


        • #5
          i've got the zoomsearch on the left side, but i need to get the results on the right side

          <td>zoomsearch</td>
          <td>rightside... results?</td>

          Comment


          • #6
            If you need to seperate the search form from the search results, you will need to define your own search form in HTML. See this FAQ:
            http://www.wrensoft.com/zoom/support...tml#searchform

            Using the HTML form from the above link, you can do something like the following:

            Code:
            <table border="0" cellpadding="0" cellspacing="0"> 
            <tr valign="top"> 
              <td valign="top"> 
              Menu that's on the leftside
              My search form goes here&#58;
              <form method="GET" action="search.php">
                <input type="text" name="zoom_query" size="20">
                <input type="submit" value="Search">
              </form>
              </td> 
              <td valign="top"> 
              My search results will appear here&#58;
              
              </td> 
            </tr> 
            </table>
            In addition to this, you will need to disable the search form that normally appears directly above your search results (where the ZOOMSEARCH keyword is). See the FAQ linked above for more information.
            --Ray
            Wrensoft Web Software
            Sydney, Australia
            Zoom Search Engine

            Comment


            • #7
              Doesn't seem to work, the resultpage opens in a new one (not _blank) not a new window, same window, but opens as a new page

              Comment


              • #8
                nevermind that, i had tot change the settings.php

                the only thing missing right now is a way to clear out that text that is in the <td></td> table right now...

                as following

                Code:
                <table border="0" cellpadding="0" cellspacing="0"> 
                <tr valign="top"> 
                  <td valign="top"> 
                  Menu that's on the leftside 
                  My search form goes here&#58; 
                  <form method="GET" action="search.php"> 
                    <input type="text" name="zoom_query" size="20"> 
                    <input type="submit" value="Search"> 
                  </form> 
                  </td> 
                  <td valign="top"> 
                  My search results will appear here&#58; 
                   
                
                HERE IS SOME TEXT THAT'S ALLREADY THERE... THAT NEEDS TO DISAPPEAR WHEN THE ZOOMSEARCH RESULTS ARE THERE, SOMETHING LIKE CLEARSCREEN OR SOMETHING
                  </td> 
                </tr> 
                </table>

                Comment


                • #9
                  OK at this point, it is more of a web design issue. There are many ways to achieve something like this, eg. with a bit of Javascript (called by the form onSubmit=) to change the CSS for that line of text to the visibility:hidden attribute. Another approach is to split the page into frames and have that as a different page all together.
                  --Ray
                  Wrensoft Web Software
                  Sydney, Australia
                  Zoom Search Engine

                  Comment

                  Working...
                  X