Guest Posted July 23, 2005 Share Posted July 23, 2005 How to change list 3 row 3 col to 4 row 3 col?? Link to comment Share on other sites More sharing options...
mi_jaiten Posted July 23, 2005 Share Posted July 23, 2005 How to change list 3 row 3 col to 4 row 3 col?? <{POST_SNAPBACK}> Do you mean add a row Change The Number Of New Product Colums Introduction The number of columns shown in the New Products box can be changed by editing the includes/modules/new_products.php file. Solution Around line 36, the number if ($col > 2) should be changed appropriately. The following code will show 2 columns: <?php $col ++; if ($col > 1) { $col = 0; $row ++; } ?> Count starts at 0 not 1 therefore ($col > 1) means 2 colomns and ($col > 2) = 3 Read ths in the knowledge base http://www.oscommerce.info/kb?search=add+row+to+products Hope this is what you want! Kind Regards, Michelle. Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2005 Share Posted July 24, 2005 Thanks,edit includes/modules/new_products.php,it can change to 4 or more colomns, but i want to change to 4 or mor line! Do you mean add a row Change The Number Of New Product Colums Introduction The number of columns shown in the New Products box can be changed by editing the includes/modules/new_products.php file. Solution Around line 36, the number if ($col > 2) should be changed appropriately. The following code will show 2 columns: <?php ? $col ++; ? if ($col > 1) { ? ? $col = 0; ? ? $row ++; ? } ?> Count starts at 0 not 1 therefore ($col > 1) means 2 colomns and ($col > 2) = 3 Read ths in the knowledge base http://www.oscommerce.info/kb?search=add+row+to+products Hope this is what you want! Kind Regards, Michelle. <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2005 Share Posted July 24, 2005 In admin>>configuration>>maximum values there is a setting for the number of products for the module to display - adjust this :P Matti Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2005 Share Posted July 24, 2005 In admin>>configuration>>maximum values there is a setting for the number of products for the module to display - adjust this :P Matti <{POST_SNAPBACK}> Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.