![]() |
fearnothing can you tell us where and what code you added to get this look. I have been looking at trying to do this myself.
Thank you! |
Quote:
its a security thing... there is a list of trusted variables / scripts etc if you add this to that list you should be ok. the same thing would strip html from various other forms not sure where the post is youll have to have a hunt around |
Hmmm.
Thanks for that Shan. I have searched the forum using 'trusted variables', and there are few posts but mostly relating to using markup in 'Extra Fields'. It's at this point where I have to admit that I'm getting out of my depth. I think the relevant PHP file is admin/payment_methods.php but beyond that I cannot see what needs to be done to add this variable to the trusted list. The field that needs to be freed up to accept HTML is 'payment_details' within the 'payment_methods' table (cwill2200 - this is where I added the <IMG> tag to get the CC logos to appear using PHPMyAdmin). If no-one comes up with an answer in the next few days I'll use up a few support points and ask the X-Cart crew. |
What a great mod... the old checkout page to new is incomparable. I did make a few changes, though...
The changes: 1- Add personal details 2- "Americanize" the address, bringing city/state/zip onto one line Here's how it looks: http://www.moderncoinmart.com/skin1/images/checkout.jpg Here's the new, full code for sexy-customer-details.tpl: Code:
{* $Id: sexy_customer_details.tpl,v 1 2006/06/01 15:15:52 max Exp $ *} Again, thanks so much for the great mod! |
Love this, thank you! If the gray doesn't match our site would there be a way to edit the colors or would I need to just redo images and replace them in the code?
|
Quote:
Jeremy |
An update to the images in the Payment Methods fields in admin, courtesy of our good friends the X-Cart Men:
Code:
If you would like to add HTML tags to the "payment_details" field you should open admin/payment_methods.php file and It works a treat, and the descriptors in 'Payment Methods' now accept HTML. So you would need to add this into the field before any text: [img]../yourlocation/skin1/images/payment_xxxx.gif[/img] (I Haven't tried using the Image Location variable, but this works and keeps the SSL intact) You'll obviously need some GIF files - the ones I have used in my store (with white background, not transparent) are available here: Visa and Mastercard Amex and Diners Paypal Cheque (Check) And if you prefer to mess around with them yourself, this should do the trick: Photoshop PSD file in layers I've updated the screen shots in the earlier posts to reflect exactly how it looks as of now. |
Wow nice fix fearnothing :lol:
What really does the trick if this thing will accept language variables. Then you can place your html tags into the language variables, and also your payments methods descriptions are multilanguage. Thanks for the fix anyway, it gives me an idea where to start. Using language variables wouldn't mess up all the code of html and normal text. And also the imagedir variable works etc. |
Quote:
I just did this, excellent mod, Thanks a lot for the update! |
Quote:
I am not sure where the above line is supposed to be inserted? Is it to go into my line "Visa or Mastercard" in the Payment method screen in Admin? |
All times are GMT -8. The time now is 01:42 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.