View Single Post
  #146  
Old 02-27-2009, 08:34 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Pure CSS Rounded Boxes! (no images, no tables)

Quote:
Originally Posted by lewaff
with v4.2 could not use dialog.tpl
as it it crashes out the checkout register page
lewis

Ok, a simple fix here use this mod with Fast Lane Checkout for x-cart version 4.2...

Open skin1_original/customer/dialog.tpl and edit the title to say...
$Id: checkout-dialog.tpl,v 1.8 2008/11/26 06:31:47 cray Exp $

Then save as to skin1/customer/checkout-dialog.tpl
(note: this is a different folder than skin1_original)

Open skin1/modules/Fast_Lane_Checkout/checkout_0_enter.tpl
and find....
Code:
{include file="customer/dialog.tpl" title=$lng.lbl_returning_customer content=$smarty.capture.dialog additional_class="flc-left-dialog`$left_ext_additional_class`"}
and change it to...
Code:
{include file="customer/checkout-dialog.tpl" title=$lng.lbl_returning_customer content=$smarty.capture.dialog additional_class="flc-left-dialog`$left_ext_additional_class`"}
and find
Code:
{include file="customer/dialog.tpl" title=$lng.lbl_new_customer content=$smarty.capture.dialog additional_class="flc-right-dialog`$right_ext_additional_class`"}
and change it to
Code:
{include file="customer/checkout-dialog.tpl" title=$lng.lbl_new_customer content=$smarty.capture.dialog additional_class="flc-right-dialog`$right_ext_additional_class`"}

What we are doing is changing the instances of dialog.tpl to our new checkout-dialog.tpl. This will make the "returning customer" and "new customer" boxes square, but it should work. Please note that I have not tried it yet, but I will and make any corrections if necessary.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote