Gossamer Forum
Home : Products : Gossamer Links : Pre Sales :

Re: Adding additional field to the search results?

Quote Reply
Re: Adding additional field to the search results? In reply to
If you want a different view of links in your search result page than what is in the category pages....You will have to do the following:

1) Replace all occurrences of &site_html_link in the search.cgi with sub site_html_search_link.

2) Then create a new subroutine in the HTML_Templates.pm file called sub site_html_search_link. Don't forget to add &site_html_search_link at the top GLOBALS section of the file. This new subroutine should be a copy of sub site_html_link but you will load searchlink.html rather than link.html file.

3) Then create a new file called searchlink.html and put it in your templates directory. Make sure that you change the permission (chmod) of this file to 666 (rw-rw-rw-).

That should do it.

Regards,

Eliot Lee

Subject Author Views Date
Thread Adding additional field to the search results? TB2 3063 Sep 1, 2000, 9:09 AM
Thread Re: Adding additional field to the search results?
Stealth 3000 Sep 1, 2000, 11:02 AM
Thread Re: Adding additional field to the search results?
TB2 2981 Sep 1, 2000, 12:34 PM
Post Re: Adding additional field to the search results?
Stealth 2978 Sep 1, 2000, 6:30 PM