View Single Post
  #8  
Old 02-06-2013, 05:19 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: style flyout menu

Quote:
Originally Posted by totaltec
Well you can always reference the specific categoryid and then insert a little code snippet containing the image. For instance:
Code:
{if $catid eq 101 or $catid eq 105} Sale! <img src"yourimage.png" /> {/if}

Bg-Colors worked like a charm. But couldn't work out the thing with the image. I entered:

{if $catid eq $catid eq XXX}
Sale! <img src"yourimage.png" />
{/if}


into this file /common_files/modules/Flyout_Menus/Icons/fancy_subcategories.tpl

Of course I replaced XXX with the cat ID
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote