Results 1 to 9 of 9

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

  1. #1
    Join Date
    Dec 2004
    Posts
    617

    Default 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. #2
    Join Date
    Dec 2004
    Location
    Sydney
    Posts
    4,157

    Default

    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

  3. #3
    Join Date
    Dec 2004
    Posts
    617

    Default

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

  4. #4
    Join Date
    Dec 2004
    Location
    Sydney
    Posts
    4,157

    Default

    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

  5. #5
    Join Date
    Dec 2004
    Posts
    617

    Default

    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>

  6. #6
    Join Date
    Dec 2004
    Location
    Sydney, Australia
    Posts
    3,585

    Default

    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

  7. #7
    Join Date
    Dec 2004
    Posts
    617

    Default

    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

  8. #8
    Join Date
    Dec 2004
    Posts
    617

    Default

    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>

  9. #9
    Join Date
    Dec 2004
    Location
    Sydney, Australia
    Posts
    3,585

    Default

    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

Similar Threads

  1. <!--ZOOMSEARCH--> inside a table not working
    By DiveNSail in forum Zoom Search Engine V4 (Old Version)
    Replies: 1
    Last Post: 07-06-2006, 03:48 AM
  2. The search box in result page.
    By lai in forum Zoom Search Engine V4 (Old Version)
    Replies: 4
    Last Post: 01-19-2006, 10:28 PM
  3. Javascript error on result page
    By Bernhard in forum Zoom Search Engine V4 (Old Version)
    Replies: 1
    Last Post: 06-22-2005, 04:10 AM
  4. creating a custom result page
    By Philipp in forum Zoom Search Engine V4 (Old Version)
    Replies: 2
    Last Post: 05-06-2005, 03:27 PM
  5. Indexing web with layout tables and table borders?
    By jebueno99 in forum Zoom Search Engine V4 (Old Version)
    Replies: 1
    Last Post: 03-14-2005, 08:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •