TCwho Posted December 18, 2004 Share Posted December 18, 2004 Does anyone know how to change the format of how the numbers in the bestsellers box is displayed.... I was able to find this in includes/boxes/bestsellers.php: <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_BESTSELLERS); new infoBoxHeading($info_box_contents, false, false); $rows = 0; $bestsellers_list = '<table border="0" width="100%" cellspacing="0" cellpadding="1">'; while ($best_sellers = tep_db_fetch_array($best_sellers_query)) { $rows++; $bestsellers_list .= '<tr><td class="infoBoxContents" valign="top">' . tep_row_number_format($rows) . '.</td><td class="infoBoxContents"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $best_sellers['products_id']) . '">' . $best_sellers['products_name'] . '</a></td></tr>'; } $bestsellers_list .= '</table>'; $info_box_contents = array(); $info_box_contents[] = array('text' => $bestsellers_list); new infoBox($info_box_contents); ?> ....but I could only change it Starting Count..... Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
TCwho Posted December 19, 2004 Author Share Posted December 19, 2004 Strike #2 :( Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
kagg Posted December 19, 2004 Share Posted December 19, 2004 Change tep_row_number_format($rows) to $rows in the above code. Link to comment Share on other sites More sharing options...
TCwho Posted December 19, 2004 Author Share Posted December 19, 2004 YES!!!!! ahhh its the little things sometimes...........heheheh thanks kagg. I would not have gotten that one on my own.... where can I go to learn something like that....what would you suggest to someone who thinks all this is fun ...and wants to learn more..... :lol: :lol: :lol: :lol: TCwho Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.