Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change amount to display on row?


balloons

Recommended Posts

Currently on my site when you go to the first content page the items show up in rows of 3, but I would like to get them to display in rows of 2 but am not sure where is the setting in the admin section to specify that?

 

Can anybody tell me where the setting is as I have tried everything but it still displays in rows of 3!!

Link to comment
Share on other sites

its always a good idea to use words that people are likely to use/understand: what is first content page? one could only guess - why not use the file name or the url shown on browser title bar?

anyway heres my guess: the new product module under includes/modules/new_products.php

 

look for this

	if ($col > 3) {
  $col = 0;
  $row ++;
}

(at bottom of the file)

change the number 3 to 2 would get you two culonm per row.

 

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Link to comment
Share on other sites

Thanks for the reply Gemrock.

 

I have checked the html and I already have that set to 2 but that just changes the menu buttons and how many to list side by side.

 

I am looking for what I need to change to make the images display in rows of 2 instead of 3 on the home page.

Link to comment
Share on other sites

what you were talking about was the sub-category images shown on the HOME page - if only you'd made this clear...

 

Ken

That worked treat cheers for the help guys!

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...