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)
-   -   hide menu on static pages and help pages? (https://forum.x-cart.com/showthread.php?t=47141)

webdesignhelper 04-24-2009 02:26 AM

hide menu on static pages and help pages?
 
i want to hide part of the site when me users go to either my static pages for help pages, what if statement do i need to use in my templates to do this ?

ElegantXMods.com 04-24-2009 03:14 AM

Re: hide menu on static pages and help pages?
 
Open skin1/customer/home.tpl and find the line

Code:

<!-- main area -->

after this line, insert this code

Code:

{if $main eq "pages"}
    {include file="customer/home_main.tpl"}
{else}


now scroll down and find

Code:

{include file="rectangle_bottom.tpl" }

and ABOVE this insert this line:

Code:

{/if}


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

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