Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How do I display search options

Quote Reply
How do I display search options

I am trying to insert a search bar into my installation but for some reason the options to search this category or search all categories does not display on the screen. It is definitely there but just doesn't display.

Can anyone give me a pointer please, I am wondering if the if statements above it are totalising it.

Here is my code, its pretty standard stuff...

<form action="<%db_cgi_url%>/search.cgi" method="GET">
<table cellpadding=6 cellspacing=0 border=0 style="border-collapse: collapse" bordercolor="#111111">
<tr><td><%body_font%><p align="right">
<font size="1" face="Verdana" color="#000080">Search Again &gt;</font></font>
<input type="text" size=26 name="query" value="where are my search options">
<%if category_id%>
<input type="radio" name="catid" value=""> All regions<input type="radio" name="catid" value="<%category_id%>" checked> only <%name%></small></font>
<p align="right">
<input type=submit value="Products" style="font-size: 8pt; font-family: Verdana">

It is there but simply doesn't display and I am not quite sure what I have done here.
many thanks