Thread: home questions
View Single Post
  #4  
Old 11-13-2008, 06:41 AM
 
adimex adimex is offline
 

Newbie
  
Join Date: Nov 2008
Location: East Lyme, CT, USA
Posts: 1
 

Default Re: home questions

edit the templates under customer, add {if $login ne ""} at the beginning and {/if} at the end of the template files used for the main page.

Edit the central section of home.tpl to add the login box in the middle

{if $login eq ""}
{include file="auth.tpl"}
{/if}

Then remove the login box from the right of the screen. Get rid of the
{if $login eq ""}
{include file="auth.tpl"
{else}

and leave this, (replacing the else statement)

{if $login ne ""}
{include file="authbox.tpl"}
{/if}
__________________
X-Cart version 4.1.11

Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g
Reply With Quote