Guest m00n1 Posted November 12, 2005 Share Posted November 12, 2005 Well, this should be in the mods forum, but I was denied permissions there. I simply wanted to see an absolute count as well as a % count in the popular product stats page in the admin. Just go to /admin/stats/index.php Look for <td class="<?php echo $cellColor; ?>" nowrap='nowrap'><span class="copyText"><img src="../images/statsBar.gif" width="<?php echo sprintf("%.0f",$percentage); ?>%" height="10" /> <?php echo sprintf("%.2f",$percentage); ?>%</span></td> replace with <td class="<?php echo $cellColor; ?>" nowrap='nowrap'><span class="copyText"><img src="../images/statsBar.gif" width="<?php echo sprintf("%.0f",$percentage); ?>%" height="10" /> <?php echo sprintf("%.2f",$percentage); ?>% (<?php echo $results[$i]['popularity']; ?>)</span></td> It's that easy... Quote Link to comment Share on other sites More sharing options...
Guest vrakas Posted November 13, 2005 Share Posted November 13, 2005 but I was denied permissions there. strange Could you please give more details to what exactly this mod offers when applyed. ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.