Gossamer Forum
Home : Products : DBMan : Customization :

Customization of Search Results?

Quote Reply
Customization of Search Results?
Just a quick question - I've done this before with the script, but lost all data involved. Let's say I have a page template with a table right in the middle and I want the search results to be displayed within the table. Where _exactly_ do I edit and add the template information? Also, if possible, I would like the search results to create their own table with 3 rows, each containing a different piece of information about a certain record. Let's see if I can do this code stuff:
Code:
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" align="left"><u>Title</u></td>
<td width="33%" align="center"><u>Rating</u></td>
<td width="34%" align="center"><u>Date Posted</u></td>
</tr>
<tr>
<td width="33%" align="left">Record Title 1</td>
<td width="33%" align="center">Record Rating 1</td>
<td width="34%" align="center">Record Date 1</td>
</tr>
<tr>
<td width="33%" align="left">Record Title 2</td>
<td width="33%" align="center">Record Rating 2</td>
<td width="34%" align="center">Record Date 2</td>
</tr>
</table>
This table can be viewed at:
http://www.movielocity.com/testtable.htm
Comprende? I have this post set up to e-mail replies, so I'll be able to answer questions posted here relatively fast.

Also, my HTML.pl file (renamed) can be viewed here, in it's mutilated entirety:
http://www.movielocity.com/m/xweb_pl.txt

=Blake Kunisch=
http://www.movielocity.com/
Quote Reply
Re: Customization of Search Results? In reply to
Just one quick bump - if no one bites within a couple of days, I'll have to resort to even more mass customization and tinkering. Just was hoping for a quick answer that would save me a couple of hours.

Get well JPD.
=Blake=

Quote Reply
Re: Customization of Search Results? In reply to
Hello Blake, I had went and looked at your files a couple days ago when you posted. The usual reply for formatting the result display sure didn't work because you already have extensive formatting in the files.

I'm guessing you might look at the 'Database Output Format' mod listed in the Resource center (link at top of page) If you implement portions of that mod into your scripts as a new sub template_display and have the new sub before other search results, you maybe able to get the functionality you'd like.

Like I said, I'm guessing you don't want to redo all the formatting you've already got in your db displays.

Quote Reply
Re: Customization of Search Results? In reply to
Thanks - I'll check out the mod - also, I'll probably start playing around with the html.pl file later today coming up with something that might work for what I want. Essentially, when people search here:
http://www.movielocity.com/m/search.htm

I want the results to be displayed within the same page structure, rather than how they are displayed now and was just wondering where exactly I edit (under which sub ...).

=Blake Kunisch=
http://www.movielocity.com/