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

Custom Search input

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-21-2012, 09:15 AM
 
aitek aitek is offline
 

Advanced Member
  
Join Date: Jul 2010
Posts: 77
 

Default Custom Search input

Hey Guys,
Wanna move my search bar around and change the look of it, making it have a different image for the button. Now I know there is a gnarly customer/buttons/button.tpl file for all the input buttons, but I want to take the js code and just insert it into an onClick in an <img> tag. anyone done this before? Or is it easier to make another image if statement in the button.tpl file for my custom graphic?

Thanks
Chris
__________________
X-Cart DB Version: 4.4.4 GOLD Addons:Feature Comparison (enabled);Magnifier (enabled); Product Configurator (enabled); Special Offers (enabled); Survey (enabled); XAffiliate (enabled);
Reply With Quote
  #2  
Old 02-23-2012, 02:21 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Custom Search input

It sounds like you'd be better off avoiding the button and just insert your own image into the search template. I wouldn't modify button.tpl.
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
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 06:58 AM.

   

 
X-Cart forums © 2001-2020