Shape 5

Joomla Templates => City Portal - January - Club => : apty January 24, 2009, 03:20:47 PM



: Changing search engine(s) used in S5 Search
: apty January 24, 2009, 03:20:47 PM
Hello,
Is there a way to change the search engine(s) used within S5 Search?
By default, Google and Yahoo are listed as choices via buttons.
Thanks in advance for your help.


: Re: Changing search engine(s) used in S5 Search
: jonahh January 26, 2009, 11:44:01 AM
Hello,

Yes you can, for example if you take the "google.php" file located in the modules/mod search folder you will notice two lines that control what search engine is used.

:
<iframe id="s5frame" name="s5iframe" src ="http://www.google.com/search?hl=&q=" width="100%" height="300px" frameborder="0">

and

:
document.all.s5frame.src="http://www.google.com/search?hl=&q=" +delineate(text); 

You would have to change these and replace with whatever search engine you want to use.

Regards,


: Re: Changing search engine(s) used in S5 Search
: apty January 27, 2009, 04:57:25 PM
Thank you for your help. 
Much appreciated.