Gossamer Forum
Home : Products : Links 2.0 : Customization :

Search Results - Page Layout

Quote Reply
Search Results - Page Layout
Hi All.

I, was well as oldmoney, was fooling around with my search.cgi script lastnight. (strange Wink )

Anyway, here should be a fairly easy question to answer. (I got tired of guessing wrong....)

My search results are printed in default method. Such as:

Quote:
Celtic Construction - General Contracting Company.(707)786-9935. Ferndale. (Hits: 0) [Visit Site]

However, I would like to have a <br> command *after* the company name/link.

So, the end result would be:

Quote:
Celtic Construction
General Contracting Company.(707)786-9935. Ferndale. (Hits: 0) [Visit Site]


Any enlightenments for me?

As Alwasy, Thanks!

------------------
John B. Abela
Owner, 4CM
www.4cm.com/
support@4cm.com

Presently working on:
www.humbee.com/buzz/



[This message has been edited by Yokhannan (edited January 26, 2000).]
Quote Reply
Re: Search Results - Page Layout In reply to
Do you want only search results to be formatted this way, as opposed to your general links.html? You could try to regex the output since this is fairly minor change, but in general, find this line in search.cgi...
Code:
$link_output{$setoflinks} .= &site_html_link (%tmp) . "\n";
change it to point to a new sub in site_html_templates, like site_search_link... duplicate sub site_html_link and rename to site_search_link... point it to a new template here...
Code:
return &load_template ('link.html', {

You get the idea...

------------------
The Immuatable Order of Modding
-=-=-=-=-=-=-=-
1. Read the FAQ, 2. Search the board, 2a. Search the board again, 3. ask the question, 4. back-up, 5. experiment, 6. rephrase question (or better yet, post solution to original question)
Quote Reply
Re: Search Results - Page Layout In reply to
Hi oldmoney.


Yep... that's what I was after!

But little did I know it was going to be SO easy! :0

Well, I guess I'll have to put some work into that one!

Thanks oldmoney!

JbA