View Single Post
  #1  
Old 01-28-2008, 03:08 PM
 
mahou mahou is offline
 

Member
  
Join Date: Sep 2007
Posts: 13
 

Default Adding button background picture on the Categories

Hi Everyone,

I am trying add a background background picture behind each categories on the side meun bar. To be exact only on for the Main Categores section On the client/customer interface. I don't need to have rollover yet, just a plan static pictture.

I believe it is the edit should be some where under skin1\customer\categories.tpl

I thought the code should be between these lines, but I can't seem to find where it is point to the new tpl file. Is it on a CSS file?

<table cellpadding="0" cellspacing="0" {if $main eq "catalog" and $current_category.category eq ""}class="CategoriesCustomBox"{else}width="100 %"{/if}>
<tr>
<td valign="top">
{if $active_modules.Fancy_Categories ne ""}
<table cellpadding="0" cellspacing="0" {if $main eq "catalog" and $current_category.category eq ""}class="CategoriesCustomBoxFC"{else}width="150"{ /if}>
<tr>
<td valign="top">

{include file="modules/Fancy_Categories/categories.tpl"}
{assign var="fc_cellpadding" value="0"}
</td>
</tr>
</table>

Can someone please help me out? Hmm... Marthastewart web site is a good example. I don't need the interactive effect after you click it. Just a button look picture behind the meun. Sorry, I don't know PHP too well either.

http://www.marthastewart.com/home-decorating?lnc=4f3fcafb74ece010VgnVCM1000003d370a0 aRCRD&rsc=globalnavigation_home_decorating-with-accents

What I am seeing is that Xcart will first create a "table", then create a different "row" or <TD> to fill each category it has. I was trying to see if I can insert a default picture

I have spend 2 days on this issue. still no luck. would really appreciate if someone can point me to the right direction.

Thanks in advance

Sincerely,
Attached Thumbnails
Click image for larger version

Name:	side_meun_bar_sample.jpg
Views:	153
Size:	48.0 KB
ID:	749  
__________________
/X-Cart Gold v. 4.1.6/

Last edited by mahou : 01-28-2008 at 03:21 PM. Reason: upload sample picture
Reply With Quote