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!