|
|||||||
| Soholaunch 'How do I' Questions Trying to do something and not sure what built-in features are available to help you do it? Post here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi
I'm trying to put a standard product search/browse box under the vertical menu on a template that I modified (cosmetically only). Searching the forums led me to this: <form action="start.php" method="post"> <input type="hidden" name="find" value="1"> <input type="text" name="searchfor" size="15" maxlength="15"> Search </form> Adding this snippet below the #VMENU section and above the #BOX section of ACTIVE05-Extras Red template creates a search box, but not to the shopping cart. I am including it as a seperate <td> and between <tr> </tr> </td> tags Am I missing something? The Url is Welcome to www.itoverstock.net Paul |
|
|||
|
NM
After a little more thought and a lot more digging, I found this solution <tr> <th> <form action="shopping/start.php" method="post"> <input type="hidden" name="find" value="1"> Search Products<br/> <input type="text" class="text" style='width: 140px;' name="searchfor" size="15" maxlength="15"> <img src="spacer.gif" border="0" width="140" HEIGHT="2"><br/><input type="submit" value="Find Now" class="FormLt1"> </form> <!-- This is where your form closing tag should be --> </th> </tr> <tr> <th align="center" valign="middle"> </form> </th> </tr> |
|
|||
|
In actual fact, the form misdirects when you are in the shopping area of the site.
The correct form action should read : <form action="../shopping/start.php" method="post"> which avoids the url becoming : http://www.itoverstock.net/shopping/shopping/start.php when posting the form from the /shopping path. AndyP |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|