| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Button that use go.gif vs. ones that use bg1.gif,bg2.gif, .. | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi thanks for reading.
I'm trying to determine what causes some buttons to use the go.gif button and while others use the combination of but1, but2, and butbg gifs. I've created a custom button set using the but gifs and would like to use that for all the buttons on the site. Currently buttons like "update", "clear cart", "submit", "delete item", etc are using the go.gif image. I've looked at the .tpls for the specfic buttons and there doesn't seem to be any difference between the two types. In button.tpl it looks like there is some sort if / else statement that determines which buttons get which dressing. Unfortunately, I'm not versed well enough on the programming side of things to see exactly what's going on or what I would need to change to get the result I'm looking for. Thanks so much, JB |
|||||||
#2
|
|||||||||
|
|||||||||
![]() i often ponder this too
__________________
X-Cart 4.0.12 PHP 4.3.11 MySQL 4.0.23 Linux/Apache Net::SSLeay 1.25 libCURL libcurl/7.12.0 OpenSSL/0.9.7a zlib/1.1.4 www.ewdhosting.com |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() the test:
{if $style eq 'button' && ($config.Adaptives.platform ne 'MacPPC' || $config.Adaptives.browser ne 'NN')} looks at $style $config.Adaptives.platform $config.Adaptives.browser If your running a browser that thinks it's NOT Netscape Navagator or your NOT on the MacPPC platform AND $style is equal to button use the but buttons else use the go buttons We had to use custom GO buttones on a site, the customer insisted.
__________________
X-cart 3.3.1 ~ 4.0.18 4.1.1 PHP4/5 MySQL 4.1.10a/5.1 CENTOS 4.1 / SuSE 9.3 / MS Server Authorize.Net Partner |
|||||||||
#4
|
|||||||
|
|||||||
![]() Thanks for the Explanation kangus. It also seems like the Go Buttons call use JavaScript. Now for more questions. What is the reasoning behind all this? Obviously there is a reason to have things setup this way, I just don't understand it.
What would I need to change so that all the buttons on the site used the but .gifs or can this even be done? JB |
|||||||
|
|||
X-Cart forums © 2001-2020
|