alex298 Posted September 11, 2006 Posted September 11, 2006 Hi, I know I can change the number of rows of New Products For Month in the Admin Panel. I would like to change the number of rows in the PHP file. It seems that new_products.php is not the correct file to edit. I think this may be done by setting the maximum number of new products display. But I have no idea which file to set the maximum number of new products display. Please help. Thanks and best regards Alex Alex
jasonabc Posted September 11, 2006 Posted September 11, 2006 http://www.oscommerce.com/forums/index.php?s=&...st&p=930388 Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
alex298 Posted September 11, 2006 Author Posted September 11, 2006 Jason, Thanks for the link. However the linked topic only discuss how to change the number of COLUMNS in the New Products For Month. Actually I wish to know how to change the number of ROWS in PHP file. Please help. Thanks and best regards Alex Alex
jasonabc Posted September 11, 2006 Posted September 11, 2006 The number of rows is dependent on: 1) The number of columns set 2) The number of products you wish to display. The latter is done via Admin: Configuration > Maximum Values > New Products Module Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
angelkelly Posted May 24, 2007 Posted May 24, 2007 This lets you change the amount of products displayed but doesnt tell you how to create new rows. I think the piece of code that needs editing is this: $col ++; if ($col > 5) { $col = 4; $row ++; } } in modules/new_products.php Anyone know how to change this so that I can have 4 rows instead of the single row I have at the moment? I have set my maximum values already. Thank you!!!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.