![]() |
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? |
Modules? Do you mean the menus?
|
Yea..sorry about that. How to remove menue(s)?
|
Open up customer/home.tpl and comment them out. Categories is categories.tpl and help is help.tpl.
|
thanks Ryan
|
question, how do you comment it out?
Thanks man |
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? |
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. |
thanks so much man.
|
Was this the only way to do this? Thanks for the help.
|
For the help menu, is their a way for me to remove the box bg and just have the text links?
|
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} |
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?
|
Hi,
Open the file skin1/customer/tab.tpl and do the modification as you wish. |
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.