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.

mmoskva 08-04-2005 04:48 PM

For the help menu, is their a way for me to remove the box bg and just have the text links?

balinor 08-04-2005 06:36 PM

Yep, that is the only way.

If you want to remove the box around the help menu, open up help.tpl and remove these pieces of code:

Code:

{capture name=menu}

{/capture}
{ include file="menu.tpl" dingbats="dingbats_help.gif" menu_title=$lng.lbl_help menu_content=$smarty.capture.menu link_href="help.php"}


mmoskva 08-04-2005 07:26 PM

On the top headder of my main cart page I see 3 navigation buttons "Home, Shopping Cart and Contact Us" Those have what looks like a background image. How do I remove the background for those buttons and just keep the text?

Dongan 08-04-2005 11:59 PM

Hi,

Open the file

skin1/customer/tab.tpl and do the modification as you wish.

TelaFirma 08-05-2005 03:38 AM

mmoskva - No offence here but if you are going to be editing your templates like that it will pay you to visit smarty.php.net and do some reading on the template system that X-Cart uses...


All times are GMT -8. The time now is 01:53 AM.

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