| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Button.tpl is tearing me up!!! | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Can someone please break down the file button.tpl to idiot level. I swear, I go cross-eyed every time I look at it. I just want a standard button throughout the site! Well, maybe 2 buttons.
Last time I messed with that file, I broke it a good dozen times and never could figure out how to get it to be what I wanted. Finally left it and just gave up. Or... does anyone have a better button setup that works? TIA!!!
__________________
- - Versions: 4.1.10 and 4.3.0 (see post for which cart) "Until man duplicates a blade of grass, nature can laugh at his so-called scientific knowledge." - Thomas Edison "Never doubt that a small group of thoughtful, committed citizens can change the world; indeed, it is the only thing that ever has." - Margaret Mead (1901-197 ![]() "Water is the best of all things." - Pindar (c. 522 BC - c. 438 BC), Olympian Odes |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Quote:
file - "button/button.tpl" PHP Code:
When using a graphical button uses the following construction (for support "If Javascript is enabled in your browser click here" option): PHP Code:
|
|||||||||
#3
|
|||||||
|
|||||||
![]() So I can use simply
<input type="submit" value="{$lng.lbl_log_in|escape}" /> And not have to worry about using the javascript?
__________________
- - Versions: 4.1.10 and 4.3.0 (see post for which cart) "Until man duplicates a blade of grass, nature can laugh at his so-called scientific knowledge." - Thomas Edison "Never doubt that a small group of thoughtful, committed citizens can change the world; indeed, it is the only thing that ever has." - Margaret Mead (1901-197 ![]() "Water is the best of all things." - Pindar (c. 522 BC - c. 438 BC), Olympian Odes |
|||||||
#4
|
|||||||
|
|||||||
![]() I tend to just make a new button.tpl file with the images that I want. Works great and pretty easy
__________________
X-Cart Pro 4.1.9 PHP5.2.5 MySQL 5.0.54 IIS/Apache/NGINX Webservers |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Quote:
Yes, but not for all the buttons. |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() You can try this hack (replace the table based buttons with pure css):
http://forum.x-cart.com/showthread.php?p=162540 |
|||||||||
#7
|
|||||||
|
|||||||
![]() I really want that darn image button gone! No images! None!
Where are all the images at? Particularly that darn Go button!
__________________
- - Versions: 4.1.10 and 4.3.0 (see post for which cart) "Until man duplicates a blade of grass, nature can laugh at his so-called scientific knowledge." - Thomas Edison "Never doubt that a small group of thoughtful, committed citizens can change the world; indeed, it is the only thing that ever has." - Margaret Mead (1901-197 ![]() "Water is the best of all things." - Pindar (c. 522 BC - c. 438 BC), Olympian Odes |
|||||||
|
|||
X-Cart forums © 2001-2020
|