Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Getting the l/p entries to line up NEXT TO personal/billing/etc info in register.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-14-2007, 11:18 AM
  HWT's Avatar 
HWT HWT is offline
 

eXpert
  
Join Date: Jan 2005
Location: Massachusetts, USA
Posts: 392
 

Default Getting the l/p entries to line up NEXT TO personal/billing/etc info in register.tpl

In 4.1.6, I'm trying to shorten the registration and anonymous checkout pages to reduce scrolling.

To that end, I'm trying to get:

HTML Code:
{include file="main/register_shipping_address.tpl" userinfo=$userinfo} {include file="main/register_additional_info.tpl" section='A'} {if $config.General.disable_cc ne "Y"} {include file="main/register_ccinfo.tpl"} {/if} {include file="main/register_account.tpl" userinfo=$userinfo} {if $active_modules.Special_Offers and $usertype ne "C"} {include file="modules/Special_Offers/customer/register_bonuses.tpl"} {/if} {if $active_modules.News_Management and $newslists} {include file="modules/News_Management/register_newslists.tpl" userinfo=$userinfo} {/if} {if $active_modules.Image_Verification and $show_antibot.on_registration eq 'Y' and $display_antibot} {assign var="antibot_err" value=$reg_antibot_err} {include file="modules/Image_Verification/spambot_arrest.tpl" mode="advanced" id=$antibot_sections.on_registration} {/if}

to show up to the right of

HTML Code:
{include file="main/register_personal_info.tpl" userinfo=$userinfo} {include file="main/register_billing_address.tpl" userinfo=$userinfo} {include file="main/register_contact_info.tpl" userinfo=$userinfo}

Everything I've tried has been to no avail. No table design I've used has worked yet.

Anybody have pointers on how to make it happen?????

TIA
__________________
x-cart 4.0.13 and 4.1.7 and 4.1.10
Reply With Quote
  #2  
Old 05-14-2007, 11:54 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Getting the l/p entries to line up NEXT TO personal/billing/etc info in register.tpl

Just create a two column table and add the includes into each table cell. I do it all the time
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-14-2007, 12:03 PM
  HWT's Avatar 
HWT HWT is offline
 

eXpert
  
Join Date: Jan 2005
Location: Massachusetts, USA
Posts: 392
 

Default Re: Getting the l/p entries to line up NEXT TO personal/billing/etc info in register.tpl

LOL That's what I thought too!!!

However, it doesn't seem to work. There's some <tbody> insanity going on in the 4.1.x branch that I've never had to deal with before. Somehow, every time I write a simple two column table, and dump that stuff in, the result is one above another. I'm sure I've simply missed something very, very simple, but I've just been chasing my tail with this.
__________________
x-cart 4.0.13 and 4.1.7 and 4.1.10
Reply With Quote
  #4  
Old 05-14-2007, 12:34 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Getting the l/p entries to line up NEXT TO personal/billing/etc info in register.tpl

Sorry, forgot that you will need to edit the individual include templates (like register_billing.tpl) to close the tables around each or it will break the main table.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 05-15-2007, 01:44 PM
  HWT's Avatar 
HWT HWT is offline
 

eXpert
  
Join Date: Jan 2005
Location: Massachusetts, USA
Posts: 392
 

Default Re: Getting the l/p entries to line up NEXT TO personal/billing/etc info in register.tpl

Quote:
Originally Posted by balinor
Sorry, forgot that you will need to edit the individual include templates (like register_billing.tpl) to close the tables around each or it will break the main table.

That was it!! I spent all day yesterday trying to get this done. When you posted the above solution, I *knew* I'd already done that . . . so I gave it 24 hrs working on something else. 15 min. of work this afternoon and it's done!!

Thanks again Padraic!
__________________
x-cart 4.0.13 and 4.1.7 and 4.1.10
Reply With Quote
  #6  
Old 05-15-2007, 01:46 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Getting the l/p entries to line up NEXT TO personal/billing/etc info in register.tpl

Just be careful if you have a checkout mod installed, as the two column display messes up the checkout if you have the login and register boxes side by side. I usually use one registration template for the internal registration form, and one for the checkout registration.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 05-15-2007, 01:48 PM
  HWT's Avatar 
HWT HWT is offline
 

eXpert
  
Join Date: Jan 2005
Location: Massachusetts, USA
Posts: 392
 

Default Re: Getting the l/p entries to line up NEXT TO personal/billing/etc info in register.tpl

Thanks for the tip. I'll put it to good use.
__________________
x-cart 4.0.13 and 4.1.7 and 4.1.10
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:01 PM.

   

 
X-Cart forums © 2001-2020