1
Catanik
How i can modify search.php
  • 2007/12/23 11:23

  • Catanik

  • Just popping in

  • Posts: 9

  • Since: 2007/11/15


i want to modify search.php to add a line ,and whit that line i want to search to another site. How i can do this.

2
Catanik
Re: How i can modify search.php
  • 2007/12/24 9:12

  • Catanik

  • Just popping in

  • Posts: 9

  • Since: 2007/11/15


Nobody can do that ?

3
mjoel
Re: How i can modify search.php
  • 2007/12/24 10:38

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


you have to edit include/searchform.php or search.php

4
mboyden
Re: How i can modify search.php
  • 2007/12/24 14:58

  • mboyden

  • Moderator

  • Posts: 484

  • Since: 2005/3/9 1


You might want to rephrase your question with more details so that we can provide a cogent reply. As mjoel said, the search feature is in the files (from x.root) search.php and include/searchform.php. However, it sounds like you're trying to figure out how to include search results of another site in your search page. That might not be so simple. It won't be just a one-line solution. However, there is a module called SnX MetaSEarch that searches several search engines at once and returns results that might help, and there is an RSS module called RSS Center which might allow you to grab the other site's contents and make them searchable on your site. There is also Happy Search module which searches your site and Google. And XoopsAddOns has a Google Ajax Search embedded in their search pages, so they may have some thoughts on how to do this as well.

Good luck, and share the results once you figure it out.
Pessimists see difficulty in opportunity; Optimists see opportunity in difficulty. --W Churchill

XOOPS: Latest | Debug | Hosting and Web Development

Login

Who's Online

159 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 159


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits