View Full Version : How to get the result page in a chosen table (td)
Anonymous
02-04-2005, 10:17 AM
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:
<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
wrensoft
02-05-2005, 08:11 PM
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
Anonymous
02-07-2005, 12:07 PM
Yeah i knew that allready, but i have no idea how to edit it the way i like it to see!
wrensoft
02-07-2005, 06:51 PM
You should be able to just add you table tags around the Zoom search tags to get something like this,
<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
Anonymous
02-08-2005, 03:36 PM
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>
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/faq_howto.html#searchform
Using the HTML form from the above link, you can do something like the following:
<table border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td valign="top">
Menu that's on the leftside
My search form goes here:
<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:
</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.
Anonymous
02-09-2005, 06:40 PM
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
Anonymous
02-09-2005, 07:02 PM
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
<table border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td valign="top">
Menu that's on the leftside
My search form goes here:
<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:
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>
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.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.