Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

remove categories mod and help mod from cart

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-04-2005, 03:28 PM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default 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?
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #2  
Old 08-04-2005, 03:38 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Modules? Do you mean the menus?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-04-2005, 03:44 PM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

Yea..sorry about that. How to remove menue(s)?
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #4  
Old 08-04-2005, 03:53 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Open up customer/home.tpl and comment them out. Categories is categories.tpl and help is help.tpl.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 08-04-2005, 04:02 PM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

thanks Ryan
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #6  
Old 08-04-2005, 04:05 PM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

question, how do you comment it out?
Thanks man
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #7  
Old 08-04-2005, 04:11 PM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

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?
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #8  
Old 08-04-2005, 04:21 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 08-04-2005, 04:23 PM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

thanks so much man.
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #10  
Old 08-04-2005, 04:27 PM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

Was this the only way to do this? Thanks for the help.
__________________
x-cart 4.0.16v
linux server
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020