View Single Post
  #1  
Old 04-17-2009, 06:33 AM
 
Darntoothysam.com Darntoothysam.com is offline
 

Member
  
Join Date: Mar 2009
Posts: 19
 

Default Changing the categories.tpl categories

I'm not exactly sure what I need to do here, or if it is even possible, but what I'm looking for is for the ability to change the categories that are linked to on the default categories template.

The code says -

{*
$Id: categories.tpl,v 1.33 2008/11/06 16:53:53 max Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{capture name=menu}

{if $active_modules.Fancy_Categories}

{include file="modules/Fancy_Categories/categories.tpl"}
{assign var="additional_class" value="menu-fancy-categories-list"}

{else}
{strip}
<ul>
{foreach from=$categories_menu_list item=c}
<li><a href="home.php?cat={$c.categoryid}" title="{$c.category|escape}"><strong>{$c.category} </strong></a></li>
{/foreach}
</ul>
{/strip}
{assign var="additional_class" value="menu-categories-list"}

{/if}

{/capture}
{include file="customer/menu_dialog.tpl" title=$lng.lbl_categories content=$smarty.capture.menu}


And the category that is being linked is called /Digital-Camera-Parts.html (The X-Cart clean URL I believe)
What I need it to be changed to is /Digital_Camera_Parts.html, which is my static page I created.

Is this possible to do? Or do I need a mod to be able to change it?

Thanks and sorry for the rather inept way of describing all this, I'm still new at the X-Cart format
__________________
X-Cart Version - 4.2.0
License products:
X-Cart Gold
Reply With Quote