Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [MJ_] Related search on two Gossamer Links: Edit Log

Here is the list of edits for this post
Re: [MJ_] Related search on two Gossamer Links
Hi Mick,

In general I think this is not too difficult. As Andy said you could do this with a script neatly but as a start you could try the following:

Get Andys ULTRAGlobals Plugin and install it for installation 1
Add a new template set for installation 2 e.g. "raw". You only need to edit the search_results.html and links.html the way you want to have it included in site 1.

Then in installation 1 in category.html you could include:
<%Plugins::ULTRAGlobals::Get_URL("http://www.site2.domain/cgi-bin/search.cgi?mh=5&t=raw&query=$category_short")%>
- mh should Limit the results to 5 and if you cleaned up search_results.html there is no link to the next results
- t=raw should call your cleaned up template
- query is your search term
- maybe escape_html makes sense for your query

Not tested, probably needs some fine tuning, not sure with the variable names but could lead to a solution.

Regards

n||i||k||o

Last edited by:

el noe: Aug 29, 2014, 2:54 AM

Edit Log: