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

orange default search bar

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 03-15-2009, 11:32 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: orange default search bar

If you are going to design your store you really need to dig around and get used to the .tpl structure.

These are pretty basic questions and if you are having problems with this, you really have alot of learning to do.

Read the template editing guide and the thread about things asked a million times. It will save you and me a lot of head ache
__________________
xcart 5.1.2
Reply With Quote
  #12  
Old 03-15-2009, 01:49 PM
 
Panther Panther is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Re: orange default search bar

Ok well please forgive me for asking a freakin' question!!!
__________________
Panther
X-Cart Pro v4.4.4
Reply With Quote
  #13  
Old 03-15-2009, 02:00 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

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

Default Re: orange default search bar

Sorry, wasn't trying to be rude. It's pretty easy to figure out if you understand the file structure.

Both bits are located in customer/head.tpl

this is the code for the search bar.

<div class="search">
<div class="valign-middle">
<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_descr]" value="Y" />
<input type="hidden" name="posted_data[by_sku]" value="Y" />
<input type="hidden" name="posted_data[search_in_subcategories]" value="Y" />
<input type="hidden" name="posted_data[including]" value="all" />

{strip}

<span class="search">{$lng.lbl_search}:</span>
<input type="text" name="posted_data[substring]" size="16" value="{$search_prefilled.substring|escape}" />
{include file="customer/buttons/button.tpl" type="input" style="image"}
<a href="search.php" class="search">{$lng.lbl_advanced_search}</a>
{/strip}

</form>

</div>
</div>

This si the code for the speed bar

{if $speed_bar}
<div class="tabs">
<ul>

{foreach from=$speed_bar item=sb}
<li><a href="{$sb.link|amp}">{$sb.title}</a></li>
{/foreach}

</ul>
</div>
{/if}

experiment with moving it around a bit, and see hwat you can do.
__________________
xcart 5.1.2
Reply With Quote
  #14  
Old 03-15-2009, 03:29 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: orange default search bar

Panther, we aren't trying to be jerks, but you need to help yourself a bit here and not use the forum as a help desk. The template editing guide I have linked to you multiple times explains how to find templates, edit them and navigate through them. You really need to spend the time to learn it and not just ask people to give you a step by step guide each time you have a question. There is a steep learning curve with X-Cart, but once you get the hang of it you will save yourself countless hours of headaches trying to change simple things. Take a few hours and read read read - and then try try try. If you are still having problems after that, come back and let us know how we can help.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
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 07:10 AM.

   

 
X-Cart forums © 2001-2020