Searching a category

Post Reply
greglp
Posts: 17
Joined: Thu Jul 07, 2005 5:10 pm

Searching a category

Post by greglp »

I am using the following code in my web page to search a category
<form method="get" action="/cgi-bin/texis/webinator/search">
<p>
<INPUT TYPE=hidden NAME=pr VALUE="default">

<INPUT TYPE=hidden NAME=prox VALUE="page">
<INPUT TYPE=hidden NAME=rorder VALUE="500">
<INPUT TYPE=hidden NAME=rprox VALUE="500">
<INPUT TYPE=hidden NAME=rdfreq VALUE="500">
<INPUT TYPE=hidden NAME=rwfreq VALUE="500">
<INPUT TYPE=hidden NAME=rlead VALUE="500">
<INPUT TYPE=hidden NAME=sufs VALUE="0">
<label for="query"></label>
<label for="query"><strong><font size="2" face="Arial"><br>

Search by keyword(s):</font></strong></label>
<font size="2"> <font face="Arial"> </font></font>
<INPUT SIZE=20 name=query value="">
<select name=cq>
<option value="">All SERV
<option value=1 selected >Only NSHE
</select>
<INPUT TYPE=submit name=submit VALUE="Search">
<br>

<br>
<input type=submit name=cmd value="Advanced search">
<br>
</form>
If I search on the category NSHE I get "no document march the query" however if I do a similar advance search the results are in the category url that was specified in the walk. Is my code correct or my walk did not collect the NSHE category information?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Searching a category

Post by mark »

That appears to be the correct form. If in doubt just compare it to the default form generated by search.

Use List/Edit urls to see if the urls you expect are in the database and if you used the proper pattern to match the category.
greglp
Posts: 17
Joined: Thu Jul 07, 2005 5:10 pm

Searching a category

Post by greglp »

Thanks Mark
Instead of refreshing the walk, I built a new work and it is working now with the code above. However my 2nd category in the list is giving me the same error message. I checked the list/edit and the second category is not listed in the database.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Searching a category

Post by mark »

Then you specified the pattern wrong in the category settings. Delete that category. Then use list/edit urls to determine the correct pattern and create the category.
Post Reply