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)
-   -   Desprately needing help (https://forum.x-cart.com/showthread.php?t=4029)

japanchick 08-17-2003 03:24 PM

Desprately needing help
 
Hi Guys,

I am in the middle of remodelling my website...currently, the new website address is : www.glamour-hut.com/ghshop/customer/home.php

I eliminated the first hand column, but modifying the /customer/home.tpl..(the code i modified is displayed below).

HOWEVER, when I click on "login", "view cart" etc..or try to view categories eg. www.glamour-hut.com/ghshop/customer/home.php?cat=1 the whole ALIGNMENT is messed up...

can anyone tell me what I'm doing wrong or which templates to look for? its driving me nuts - been spending the past 5 hours trying to figger it out! =D

Here is the code that I played around with...Im not sure if that is the correct way to do it:

Code:

{* $Id: home.tpl,v 1.42 2002/10/22 10:27:05 olga Exp $ *}
{ config_load file="$skin_config" }
<html>
<head>
<title>{$lng.txt_site_title}
{if $main eq "catalog"}
        {if $location eq ""}  {$lng.txt_subtitle_home}
        {else}
        {strip}
        {section name=position loop=$location start=0 }
        {if %position.last% eq "true"} - {$location[position].0|escape}{/if}
        {/section}
        {/strip}
        {/if}
{elseif $main eq "product"}
        {if $product.product ne ''} - {$product.product}{/if}
{elseif $main eq "help"}
{$lng.txt_subtitle_help}
{elseif $main eq "cart"}
{$lng.txt_subtitle_cart}
{elseif $main eq "checkout"}
{$lng.txt_subtitle_checkout}
{elseif $main eq "order_message"}
{$lng.txt_subtitle_thankyou}
{/if}
</title>
{ include file="meta.tpl" }
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}">
</head>
<body LEFTMARGIN=0 TOPMARGIN=0 RIGHTMARGIN=0 BOTTOMMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
{ include file="rectangle_top.tpl" }
{ include file="head.tpl" }

<table border=0 width=100% cellpadding=0 cellspacing=0>
<td width=20></td>
<td valign=top>

































{include file="customer/home_main.tpl"}


</td>
<td width=20></td>
<td width=150 valign=top>
{ include file="customer/menu_cart.tpl" }
{if $login eq "" }
{ include file="auth.tpl" }
{else}
{ include file="authbox.tpl" }
{/if}
{ include file="news.tpl" }


{ include file="poweredby.tpl" }
</td>
</tr>
<tr>
<td class=VertMenuBox></td>
<td class=VertMenuBox></td>
<td></td>
<td>{ include file="copyright.tpl" }</td>
<td></td>
<td></td>
</tr>
</table>
{ include file="rectangle_bottom.tpl" }
</body>
</html>


Thanks so much for your help!

rodneyw 08-17-2003 05:39 PM

I think you have a table issue becasue when I take a look at the outputted source code you have some table problems on the www.glamour-hut.com/ghshop/customer/home.php?cat=1.


<*sorry lost connection while posting*>

I think you need to tak a look at the template files that make up the right side. There may be a missed or additional <table> <td> <tr> tag somewhere.

rodneyw 08-17-2003 06:21 PM

took another look at the source code. If you want to send me you're tpl files that you are using to make up the right side I think I can help.

PM me, I'll be up about another 30 minutes.

thundernugs 09-23-2003 03:54 PM

i think i am having a similar issue with an open tag somewhere :?

anyone care to take a look at what may be causing my copyright.tpl to not be justified at the bottom of the page?

http://www.netmedicalsupply.com/xcart/customer/cart.php

also, i don't understand why there is a scrollbar.....

thanks for your help!

mike

thundernugs 09-24-2003 09:49 AM

problem fixed, got it all worked out by upgrading!

by the way, shan does a great job at a great price!

http://www.netmedicalsupply.com


All times are GMT -8. The time now is 09:26 PM.

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