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 categories mod and help mod from cart (https://forum.x-cart.com/showthread.php?t=15700)

mmoskva 08-04-2005 03:28 PM

remove categories mod and help mod from cart
 
I am trying to eliminate the categories mod and help mod from appearing on the main menu and any other pages that they may show up on but I can't find where its located.

In the admin I tried editing my setting in "general settings" and "modules" but nothing happened. Don't know what to do?

balinor 08-04-2005 03:38 PM

Modules? Do you mean the menus?

mmoskva 08-04-2005 03:44 PM

Yea..sorry about that. How to remove menue(s)?

balinor 08-04-2005 03:53 PM

Open up customer/home.tpl and comment them out. Categories is categories.tpl and help is help.tpl.

mmoskva 08-04-2005 04:02 PM

thanks Ryan

mmoskva 08-04-2005 04:05 PM

question, how do you comment it out?
Thanks man

mmoskva 08-04-2005 04:11 PM

I tried

/*

{* $Id: categories.tpl,v 1.23 2004/06/24 09:53:29 max Exp $ *}
{capture name=menu}
{if $active_modules.Fancy_Categories ne ""}
{include file="`$fancycategories_config.modules_path`/fancy_categories.tpl"}
{else}
{if $config.General.root_categories eq "Y"}
{section name=cat_num loop=$categories}
<FONT class="CategoriesList">{$categories[cat_num].category}</FONT>

{/section}
{else} {section name=cat_num loop=$subcategories}
<FONT class="CategoriesList">{$subcategories[cat_num].category}</FONT>

{/section}
{/if}
{/if}
{/capture}
{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu }


*/

but nothing happens?

balinor 08-04-2005 04:21 PM

No, you need to open up home.tpl, not categories.tpl. In home.tpl, replace this:

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

with this:

{*
{ include file="customer/categories.tpl" }
*}

Do the same for the help.tpl include.

mmoskva 08-04-2005 04:23 PM

thanks so much man.

mmoskva 08-04-2005 04:27 PM

Was this the only way to do this? Thanks for the help.


All times are GMT -8. The time now is 01:25 PM.

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