Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Search "Go Button"

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 07-12-2010, 10:38 AM
 
daron daron is offline
 

Member
  
Join Date: May 2010
Posts: 14
 

Default Re: Search "Go Button"

This may be of better use.

{* $Id: search.tpl,v 1.9 2005/11/17 06:55:37 max Exp $ *}
<div class="menu-dialog menu-special">
<div class="title-bar valign-middle">
<img src="skin1/images/spacer.gif" alt="Search" />Search
</div>
<div class="content">
<form method="post" action="search.php" name="productsearchform">
<input type="hidden" name="simple_search" value="Y" />
<input type="hidden" name="mode" value="search" />
<input type="hidden" name="posted_data[by_title]" value="Y" />
<input type="hidden" name="posted_data[by_shortdescr]" value="Y" />
<input type="hidden" name="posted_data[by_fulldescr]" value="Y" />
<table cellpadding="0" cellspacing="0">
<tr>
{* <tr class="TopLabel" style="padding-left: 20px; padding-right: 5px;"><a href="javascript: document.productsearchform.submit();">{$lng.lbl_se arch}:</a></tr> *}
<td valign="middle"><input type="text" name="posted_data[substring]" size="16" value="{$search_prefilled.substring|escape}" /></td>
</tr><tr valign="middle" style="padding-left: 5px; padding-right: 20px;">{* {include file="buttons/search_head.tpl"} *}</tr>
{*<td><a href="search.php"><u>{$lng.lbl_advanced_search}</u></a></td> *}
</tr>
</table>
</form>
</div>
</div>
__________________
4.2
Reply With Quote
  #12  
Old 07-12-2010, 10:48 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Search "Go Button"

The search button is commented out. Uncomment (remove the {* *}) from this line
{* {include file="buttons/search_head.tpl"} *}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #13  
Old 07-12-2010, 10:49 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Search "Go Button"

this

{* {include file="buttons/search_head.tpl"} *}

should be

{include file="buttons/search_head.tpl"}



just un-comment button
__________________
xcart 5.1.2
Reply With Quote

The following user thanks ARW VISIONS for this useful post:
daron (07-12-2010)
  #14  
Old 07-12-2010, 11:00 AM
 
daron daron is offline
 

Member
  
Join Date: May 2010
Posts: 14
 

Default Re: Search "Go Button"

You're awesome, Ashely Thank you. Now I just need to figure how to align it correctly.
__________________
4.2
Reply With Quote
  #15  
Old 07-12-2010, 11:20 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Search "Go Button"

make sure to hit the little thanks button, so I can win my visa gift card

seriously your welcome
__________________
xcart 5.1.2
Reply With Quote

The following user thanks ARW VISIONS for this useful post:
daron (07-12-2010)
  #16  
Old 07-12-2010, 11:51 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Search "Go Button"

tis whole thing

<tr>
{* <tr class="TopLabel" style="padding-left: 20px; padding-right: 5px;"><a href="javascript: document.productsearchform.submit();">{$lng.lbl_se arch}:</a></tr> *}
<td valign="middle"><input type="text" name="posted_data[substring]" size="16" value="{$search_prefilled.substring|escape}" /></td>
</tr><tr valign="middle" style="padding-left: 5px; padding-right: 20px;">{* {include file="buttons/search_head.tpl"} *}</tr>
{*<td><a href="search.php"><u>{$lng.lbl_advanced_search}</u></a></td> *}
</tr>

shoud read like this

<tr>
{* <tr class="TopLabel" style="padding-left: 20px; padding-right: 5px;"><a href="javascript: document.productsearchform.submit();">{$lng.lbl_se arch}:</a></tr> *}
<td valign="middle"><input type="text" name="posted_data[substring]" size="16" value="{$search_prefilled.substring|escape}" /></td>
<td>{include file="buttons/search_head.tpl"}</td>
</tr>
<tr valign="middle" style="padding-left: 5px; padding-right: 20px;">
<td colspan="2"><a href="search.php"><u>{$lng.lbl_advanced_search}</u></a></td>
</tr>
__________________
xcart 5.1.2
Reply With Quote

The following user thanks ARW VISIONS for this useful post:
daron (07-12-2010)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:16 AM.

   

 
X-Cart forums © 2001-2020