I really like this module's ability to search different engines from one search field. However, when I search using an external engine, the results populate in the same page/tab rather than opening a new one. I would like my users to stay within the drupal site if and open external search results in different windows.

I was wondering if this was a feature coming down the pipe and if not, is there a way I may be able to make a modification and make this work? My coding experience is light, but I may be able to get it figured out with some starting help.

Great module, though, and I thank you for any information you can provide.

Comments

ConnorK’s picture

Status: Active » Postponed

From what I can tell, the only way to achieve this with the current module setup is going to be through JavaScript. I'll look into how to get that working for you, but I may not be able to get around to doing so for a short while due to other projects that I am currently working on.

ConnorK’s picture

Category: task » feature

From looking through everything, I could not locate a very simple fix for this query. I thought that maybe using JavaScript I could get the functionality you wanted but I ran into problems each time I tried a different approach. The end result is that with the current module setup, it just cannot be done easily.

However, a solution for this would be for a node to be added as part of the module that loads the search results in an iframe. This would allow your users to do searches on sites external to your Drupal site while still staying on the actual site. Next chance I get to work on the module, I can build in that feature for you. I cannot promise that it will be anytime soon though as I am currently bogged down in another project that is leeching all of my time away from all my other work. However, I will get back to you on this and get the functionality you want.

ConnorK’s picture

Status: Postponed » Fixed

After finally taking a lot of time to look over it and come up with a solution, I was able to write in some JavaScript into the module that gives you the ability to open searches to external sites in a new window. All searches whose URL does not begin with a "/" will open in a new window if you check the new configuration option labeled "Open External Searches In A New Window".

This new feature can be found in the new releases 6.x-1.3 and 5.x-1.3. I hope this helps!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.