Re: A simple fix to pretty the checkout up a little
Ok I have read this post twice now, and still having no luck in getting the Credit Card gifs to show up on the payment field. All I get is the Text it self.
I replaced this line
require "./auth.php"; with
define('USE_TRUSTED_POST_VARIABLES',1);
$trusted_post_variables = array("posted_data");
require "./auth.php";
in the file "admin/payment_methods.php"
Then I added this line to my "payment methods/ Special instructions box
[img]../xcart/skin1/images/payment_visa.gif[/img]
all by its self. All I get on the payment page is
"[img]../yourlocation/skin1/images/payment_xxxx.gif[/img]"
What am I doing wrong? Is it different on Xcart 4.19?
Any help would be great. I would like to use these same images in the Welcome Text on the Front page too. Thanks
Michael
Edit:
Ok I got it to work, but I had to change the code a bit. I changes this.
[img]../yourlocation/skin1/images/payment_xxxx.gif[/img]
To this
<img src='/yourlocation/skin1/images/payment_xxxx.gif' /img>
After I did this it all worked great. Also get it om my Front page Welcome Screen the same way.
Haven't tried the mod to pretty up the checkout page.
Nortonz
__________________
X-Cart 4.5.4
Linux CentOS 5.8 Apache 2.2.3 PHP 5.2.17
MySQL 5.0.95
CDSEOPro 1.8.8 xCMS 1.31 Easyupsale 2.3
|