Webmastersite.net
Register Log In

Problem implementing meta search
Integrating a meta search query in wrapper.tpl

Comments on Problem implementing meta search

rodzi
Beginner

Usergroup: Customer
Joined: Dec 10, 2004

Total Topics: 4
Total Comments: 8
rodzi
Posted Oct 16, 2005 - 10:20 PM:

Recently I add a "meta search box" in the "wrapper.tpl" so as to enable my site to handle two types of search: "directory searching" (using WSNLink) and "meta searching" (using meta search script). The meta search script are in a separate folder (wsnlink/search). When implementing it, I encounter some serious problem:

(a) When querying from WSNLink search box, WSNLink script will query the "meta search script" and not querying the wsnlink/search.php

(b) All php files in WSNLink with a form are disfunctioned. All "send" function (for eg. in add category, edit category, etc) will query the "metasearch script" and not the WSNLink script.

The following is the sample "meta search" query code:

<form action="search/search.php" method="get">
<input name="qry_str" type="text" size="60">
<input type="hidden" name="extra_qry" value="">
<input type="hidden" name="per_page" value="10">
<select name="category" class="font4">
<option value="web" selected>entire web</option>
<option value="web2">directories</option>
<option value="web3">news</option>
<option value="web4">e-buying</option>
<option value="web5">kids</option>
</select>
<input name="submit" type=image value="submit" src="https://www.webmastersite.net/forums/search/templates/images/go.gif" width="19" height="19">

Please help me.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 18, 2005 - 6:15 PM:

When you never close a form tag, every subsequent form is considered part of your original form until finally some later form has a closing tag.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.