X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Getting the l/p entries to line up NEXT TO personal/billing/etc info in register.tpl (https://forum.x-cart.com/showthread.php?t=31152)

HWT 05-14-2007 11:18 AM

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

balinor 05-14-2007 11:54 AM

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 :)

HWT 05-14-2007 12:03 PM

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.

balinor 05-14-2007 12:34 PM

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.

HWT 05-15-2007 01:44 PM

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.


:D/ =D> 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!! :mrgreen:

Thanks again Padraic!

balinor 05-15-2007 01:46 PM

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.

HWT 05-15-2007 01:48 PM

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.


All times are GMT -8. The time now is 02:10 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.