Thread: button graphics
View Single Post
  #31  
Old 01-02-2008, 01:18 AM
  hannahshandprints's Avatar 
hannahshandprints hannahshandprints is offline
 

Newbie
  
Join Date: Dec 2007
Posts: 2
 

Default Re: button graphics

Quote:
Originally Posted by retrtrtrytrutru
Another option you could use is to replace the graphics with the default form buttons... This way you don't have to create any new graphics and I personally feel that the default buttons are much more clear to unexperienced users.

How to do this; go to buttons\button.tpl and replace:

Code:
<table cellspacing="0" cellpadding="0" onclick="{$js_link}" class="ButtonTable"{if $title ne ''} title="{$title|escape}"{/if}> {strip} <tr> <td> <{$img_type} src="{$ImagesDir}/but1.gif" class="ButtonSide" alt="{$title|escape}" /> </td> <td class="Button"{$reading_direction_tag}> <font class="Button">{$button_title}</font> </td> <td> <img src="{$ImagesDir}/but2.gif" class="ButtonSide" alt="{$title|escape}" /> </td> </tr> {/strip} </table>
With this:

Code:
<input type="button" onclick="{$js_link}" value="{$button_title}">

I tried this and it worked but not for the "Continue shopping" and "Checkout" buttons. Does anyone know how change those to this standard form?
__________________
~Christina
www.hannahshandprints.com

X-cart Gold version 4.1.9
Reply With Quote