Option to use quicksearch on another database.

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Option to use quicksearch on another database.

Post by Don Chambers »

Let's say I have 2 s9y sites. Would it be possible to have the option (perhaps a radio button, like on a google search) that allows a visitor to search the current site, or my other s9y site (or perhaps both)????? Afterall, I have all the database credentials of both sites (user, password, table prefix, etc)????
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Option to use quicksearch on another database.

Post by garvinhicking »

Hi!

This could be done with a custom plugin, yes. But I doubt it will be generally useful for many users.

You could use a html nugget with a radio button and some javascript that changes the form.action to the other s9y site and jump to that, if you hit submit?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Would changing the form target work? There's no session on the second site.

I was about to completely agree with Garvin that this is not generally useful. Then I got to thinking about webrings, and link exchanges... this could be a social networking sort of tool. "Search this site" "Search all sites in the *** family of sites".

Just thinkin' out loud.
Judebert
---
Website | Wishlist | PayPal
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

judebert wrote:... this could be a social networking sort of tool. "Search this site" "Search all sites in the *** family of sites".
Exactly the scenario I had in mind!
=Don=
Post Reply