Forum Support

Shape 5
March 28, 2024, 02:33:12 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Changing search engine(s) used in S5 Search  (Read 620 times)
apty
Jr. Member
**
Offline Offline

Posts: 2



« on: 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.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: 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.

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

and

Code:
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,
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
apty
Jr. Member
**
Offline Offline

Posts: 2



« Reply #2 on: January 27, 2009, 04:57:25 PM »

Thank you for your help. 
Much appreciated.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.