Jennifer1 Posted August 21, 2010 Posted August 21, 2010 What I really like about OS commerce I can google everything and find a solution to almost every issue, this is the one thing I have had an issue with.. You know the "new products" right? I am trying to change the spacing (i read default spacing is 100pixles) I am trying to make that like 25.. what file/line is this in to edit? Thanks!! *kisses in advance*
Jennifer1 Posted August 21, 2010 Author Posted August 21, 2010 I found this and it looks like no one knew or helped her http://www.oscommerce.com/forums/topic/310728-modify-new-products-in-july/ hopefully someone here knows!!
multimixer Posted August 21, 2010 Posted August 21, 2010 I found this and it looks like no one knew or helped her http://www.oscommerce.com/forums/topic/310728-modify-new-products-in-july/ hopefully someone here knows!! I think the answer of spooks to the OP of the topic you mention is very clear. Since it is a table, you can set how many columns you want to have. I think the topic answer it all My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Jennifer1 Posted August 21, 2010 Author Posted August 21, 2010 Im sorry that is extremly confusing to me I only been doing this for 7 hours of my life its saying to edit $col ++;if ($col > 2) {$col = 0;$row ++; if thats the colums why does it say 2 when it already has 3 by default.. if I can have 4 that might fix the problem but I read through that whole thread 4 times and it's not being processed.. :blush: anyway to dumb it down as if I just got a computer for the first time in my life 20 minutes ago? :rolleyes:
multimixer Posted August 21, 2010 Posted August 21, 2010 so, ok, lets try 1) Go to file includes/modules/new_products.php, make a copy of it and call it new_products_backup.php 2) Open file ncludes/modules/new_products.php 3) Find where it says [size="2"]$col ++; if ($col > 2) { $col = 0; $row ++;[/size] Changing the number to something higher will result that you have more columns 4) Find where it says 'params' => 'class="smallText" width="33%" valign="top"' change it too 'params' => 'class="smallText" width="width="'.(100/X) .'%"" valign="top"', Now replace the X of (100/X) with the number you set in point 3 Playing around will get you to the result you want I hope. I didn't try it out, and I did't found the solution, I just "translated" what spooks said in his post you found Post if it works My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.