View Single Post
  #3  
Old 06-11-2004, 07:48 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,068
 

Default

I would just create a new style in the style sheet for featured products (example NewDialogTitle) and have it reference that class instead by editing the dialog.tpl and in this line:

Code:
<TD height=15 class=DialogTitle background="{$ImagesDir}/dialog_bg_n.gif" valign=bottom>{$title}</TD>

Edit it to have something like:
Code:
<TD height=15 {if $title eq $lng.lbl_featured_products } class=NewDialogTitle {else} class=DialogTitle {/if} background="{$ImagesDir}/dialog_bg_n.gif" valign=bottom>{$title}</TD>

This is NOT tested, so I'm not sure if it will work, but it should be a start and keep you from hard coding anything.

Backup first!

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote