View Single Post
  #3  
Old 10-18-2009, 08:38 PM
 
nataliem nataliem is offline
 

Newbie
  
Join Date: Jan 2009
Posts: 6
 

Default Re: Multiple Category Menus - is this possible

Thanks Steve for your quick response. Please can you bear with me for a bit longer..

Am I correct in that the two files that I need to add this if statement to are top_menu.tpl (horizontal)and menu.tpl (vertical)? I have copies of the files below. Where abouts specifically within those files should I place the if statements? If I'm totally on the wrong track, would you be able to make the changes for me to the code for a service fee? I would also be looking to get rid of the more drop down box and replace that with a graphic/text which states Browse By Category. I could supply you with the graphic. I can be contacted direct here to discuss pricing etc.

menu.tpl

{* $Id: menu.tpl,v 1.3 2006/01/12 15:04:42 max Exp $ *}
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="VertMenuTitleBox">
<table cellpadding="0" cellspacing="0" width="100%" class="MenuTitleBg{$menu_position}">
<tr>
<td><img src="{$ImagesDir}/spacer.gif" width="19" height="24" alt="" /></td>
<td class="VertMenuTitle" width="100%">
{if $link_href}
<a href="{$link_href}" class="VertMenuTitle">{$menu_title}</a>
{else}
<font class="VertMenuTitle">{$menu_title}</font>
{/if}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" class="VertMenuBox">
<table cellpadding="14" cellspacing="0" width="100%" class="VertMenuBorder{$menu_position}">
<tr>
<td>{$menu_content}<br /></td>
</tr>
</table>
</td>
</tr>
{if $bottom_border eq "Y"}
<tr>
<td class="VertMenuBorder"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td>
</tr>
<tr>
<td class="MainArea"><img src="{$ImagesDir}/spacer.gif" width="1" height="6" alt="" /></td>
</tr>
{/if}
</table>

top_menu.tpl

{if $printable ne ''}
{include file="customer/top_menu_printable.tpl"}
{else}
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="1"><img src="{$ImagesDir}/spacer.gif" width="1" height="3" alt="" /></td>
</tr>
{if $speed_bar}
<tr>
<td valign="top" align="right">
<table cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><img src="{$ImagesDir}/custom/top_border.gif" width="1" height="12" alt="" /></td>
{section name=sb loop=$speed_bar}
{if $speed_bar[sb].active eq "Y"}
<td height="20" nowrap="nowrap">&nbsp;&nbsp;<a href="{$speed_bar[sb].link}" class="TabLink">{$speed_bar[sb].title}</a>&nbsp;&nbsp;</td>
<td valign="top"><img src="{$ImagesDir}/custom/top_border.gif" width="1" height="12" alt="" /></td>
{/if}
{/section}
<td valign="top" width="43">&nbsp;</td>
</tr>
</table>
</td>
</tr>
{/if}
</table>
{/if}

Hoping to hear from you soon.

Natalie
__________________
X-Cart version 4.1.11
X-Cart directory/home/wwwswc/public_html
PHP 5.2.6
GD bundled (2.0.34 compatible)
MySQL server5.0.67-community
MySQL client5.0.67
Web server Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8b DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.25
Operation system Linux
Perl 5.008008
Details >>XML parser (expat)found
Reply With Quote