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)
-   -   Remove a sidebox? (https://forum.x-cart.com/showthread.php?t=32964)

typologist 08-01-2007 07:50 PM

Remove a sidebox?
 
Hi,

I have searched for hours, and could not find how to remove a sidebox (one of those not listed in the "modules" section of the admin).

1. I need to remove the authentication box in my site, but I dont want to do it by deleteing the code, but commenting it. I think this is the code:

In /customer/home.tpl

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


I tried commenting those lines as I read somewhere, using {* and *} but only resulted in errors.

2. I also need to completely remove the header (the top row of the site).

Thanks for your help,:-)

imexhouse 08-01-2007 07:56 PM

Re: Remove a sidebox?
 
{***************************
{if $login eq "" }
{include file="auth.tpl" }
{else}
{include file="authbox.tpl" }
{/if}
***************************}

should work.

Comment out:

{include file="head.tpl" } like this:

{******************
{include file="head.tpl" }
******************}

in skin1/customer/home.tpl to remove the header.

typologist 08-01-2007 08:19 PM

Re: Remove a sidebox?
 
Excellent, that worked!! Thanks for the quick response.


All times are GMT -8. The time now is 11:54 PM.

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