BUY NOW
 

Go Back   Website Builder Community Forum > Soholaunch Pro Edition v4.9 > Soholaunch 'How do I' Questions


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.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-12-2010, 04:25 PM
 
Join Date: Apr 2007
Location: Ste-Marthe-sur-le-lac, QC
Posts: 184
PaulCroubalian is on a distinguished road
Default Adding a product seach below a vert menu

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-12-2010, 04:38 PM
 
Join Date: Apr 2007
Location: Ste-Marthe-sur-le-lac, QC
Posts: 184
PaulCroubalian is on a distinguished road
Default

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>&nbsp; </th>
</tr>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-12-2010, 06:57 PM
 
Join Date: Sep 2006
Location: southampton, england
Posts: 345
kyle04 is on a distinguished road
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-15-2010, 12:40 PM
 
Join Date: Apr 2007
Location: Ste-Marthe-sur-le-lac, QC
Posts: 184
PaulCroubalian is on a distinguished road
Default

Good catch


Fixed

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:36 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.1
Soholaunch inc.