hey All,
On the featured products page (which im customizing the lay-out), in the product thumb table cell the code is rendering 4 of these <br clear="all"> and is making for a shoddy looking page.
i'm looking in ' tpl_module_product_features_listing.php ' but not seeing where those br tags are being generated. is it part of MoveNext() ..?
i've removed many of the display options to try and track down the problem
PHP Code:
<td width="<?php echo IMAGE_FEATURED_PRODUCTS_LISTING_WIDTH + 10; ?>" valign="top" class="main" align="center">
<?php
$disp_sort_order = $db->Execute("select configuration_key, configuration_value from " . TABLE_CONFIGURATION . " where configuration_group_id='" . $group_id . "' and (configuration_value >= 1000 and configuration_value <= 1999) order by LPAD(configuration_value,11,0)");
while (!$disp_sort_order->EOF) {
if ($disp_sort_order->fields['configuration_key'] == 'PRODUCT_FEATURED_LIST_IMAGE') {
echo $display_products_image;
}
$disp_sort_order->MoveNext();
}
?></td>
how is the code above generating 4 <br clear="all"> beneath the thumb?
Bookmarks