Announcement

Collapse
No announcement yet.

Simple search just takes me to Store Top

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Simple search just takes me to Store Top

    Hi

    Having a problem with the simple search facility.

    I have a search bar on every page by having NETQUOTEVAR:SIMPLESEARCH in Act_Primary.html. But when I use the search bar, it just takes me back to the Store Top with no search results.

    Can anyone help? I have changed stuff around a few times, but I'm sure this is something simple. But now I can't see the wood for the trees. I have tried a full site refresh.

    My Act_SimpleSearch.html looks like this:

    <!-- SIMPLESEARCH HTML BEGIN -->

    <head>
    </head>

    <table cellspacing=0 cellpadding=0 border=0 height="14">
    <tr>
    <form name=simplesearch action="NETQUOTEVAR:SEARCHCGIURL" METHOD="NETQUOTEVAR:CGIMETHOD">
    <td valign=bottom align=right>
    <input style="font-size: 8pt; font-family: Arial; font-weight: bold" name="SS" size="10" maxsize="50" value="QuickSearch">&nbsp;
    </td>
    <td valign=bottom align=left>
    <input type=SUBMIT name=ACTION value="NETQUOTEVAR:QUICKSEARCHBUTTONTEXT" style="font-family: Arial; font-size: 8pt; font-weight: bold">
    <input TYPE=HIDDEN NAME="PR" VALUE="-1">
    <input TYPE=HIDDEN NAME="TB" VALUE="A">
    <input TYPE=HIDDEN NAME="SHOP" VALUE="NETQUOTEVAR:SHOPID">

    </td>
    </form>
    </tr>
    </table>
    <!-- Not Used -->
    <!--
    NETQUOTEVAR:PRICERANGECONTROL
    NETQUOTEVAR:SEARCHANDSTRING
    NETQUOTEVAR:SEARCHORSTRING
    NETQUOTEVAR:SEARCHCOMBINEINFO
    -->
    <!-- SIMPLESEARCH HTML END -->

    Any ideas?
    Cheers
    Jon

    #2
    This is a completely clean simple search html page

    <!-- SIMPLESEARCH HTML BEGIN -->
    <table cellspacing=0 cellpadding=0 border=0 height="37" align="center">
    <form name=simplesearch action="NETQUOTEVAR:SEARCHCGIURL" METHOD="NETQUOTEVAR:CGIMETHOD">
    <tr valign="middle">
    <td align="center" noWrap><input type="TEXT" name="SS" size="15" maxsize="125" value="NETQUOTEVAR:QUICKSEARCHLABEL" onFocus="this.value='';this.style.background='#FFFFFF'">
    </td>
    <td align="center" noWrap><input name="ACTION" type="image" id="ACTION" src="quicksearch.gif" width="49" height="19" border="0">
    <input type=HIDDEN name="PR" value="-1"> <input type=HIDDEN name="TB" value="A">
    <input type=HIDDEN name="SHOP" value="NETQUOTEVAR:SHOPID"></td>
    </tr>
    </form>
    </table>
    <!-- SIMPLESEARCH HTML END -->


    ____________________________________

    I would copy a clean version of the file from a backup or use the code above. See if that works....

    One thing I notice with your code is the <head> </head> tags

    Comment


      #3
      Thanks Jo

      Will give it a go

      Cheers
      Jon

      Comment

      Working...
      X