Here's what I had to do.. Please note, this may not work for you.
You can compare that with your /includes/templates/whatever/sideboxes/tpl_featured.php fileCode:<?php /** * Side Box Template * * @package templateSystem * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: tpl_featured.php 2982 2006-02-07 07:56:41Z birdbrain $ */ $content = ""; $featured_box_counter = 0; while (!$random_featured_product->EOF) { $featured_box_counter++; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">'; $content .= ' <div class="dt prod2_TH1"> <div class="dr"> <div class="dc"> <div class="center"> <a href="' . zen_href_link(zen_get_info_page($random_featured_product->fields["products_id"]), 'products_id=' . $random_featured_product->fields["products_id"]) . '">' . zen_image(DIR_WS_IMAGES . $random_featured_product->fields['products_image'], $random_featured_product->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br> </div> </div> </div> </div> <div class="dt prod2_TH2"> <div class="dr"> <div class="dc"> <div class="center link1"><a href="' . zen_href_link(zen_get_info_page($random_featured_product->fields["products_id"]), 'products_id=' . $random_featured_product->fields["products_id"]) . '">' . $random_featured_product->fields['products_name'] . '</a></div> </div> </div> </div> <div class="center"> <span class="price_txt">' . preg_replace('/(<span class="productSpecialPrice")/i', '<br><span class="productSpecialPrice"', preg_replace('/(Save: \d+%\soff)/i', '',str_replace(' ','<br>', $featured_box_price))).'</span> </div>'; $content .= '</div>'; $random_featured_product->MoveNextRandom(); } ?>
Or email me that file at dave @ straightrazorplace . com and I'll try and help.. Or contact whomever you got the template from.. If it's a Monster template, like mine is, then they probably coded it incorrectly..
dw



