If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Changing width of "New Products" listing under main content(different for me?)

Changing width of "New Products" listing under main content(different for me?)

Started by curbsidestudiosnet on 23 Feb 2011, 12:58 AM · Views: 1,065

Results 1 to 9 of 9
23 Feb 2011, 12:58 AM
#1
curbsidestudiosnet avatar

curbsidestudiosnet

New Zenner

Join Date:
Jun 2010
Posts:
32
Plugin Contributions:
0

Post #1 by curbsidestudiosnet

I seen this was answered on another thread but aparantly its not the same for me.

http://force-test.com

As you can see the "new products" width is not 100%...but....CANT FIND IT!.....NOWHERE!

23 Feb 2011, 1:25 AM
#2
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #2 by rbarbour

ADMIN > CONFIGURATION > INDEX LISTING

find:
New Products Columns per Row

change to 2

Hope that helps!

26 Feb 2011, 12:23 AM
#3
curbsidestudiosnet avatar

curbsidestudiosnet

New Zenner

Join Date:
Jun 2010
Posts:
32
Plugin Contributions:
0

Post #3 by curbsidestudiosnet

what if I just wanted 1 column just wanted it stretched out across the page? Anyone know? Did I find a question the ZEN CART FORUMS CAN"T ANSWER?

26 Feb 2011, 12:42 AM
#4
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #4 by rbarbour

curbsidestudiosNET:

what if I just wanted 1 column just wanted it stretched out across the page?

then reset

ADMIN > CONFIGURATION > INDEX LISTING

find:
New Products Columns per Row

change to 1

pretty sure it will make it 100%

I think the problem may be in your /includes/modules/CUSTOM_TEMPLATE/new_products.php, look like the products name is being truncated

look for something that looks like this:
. substr($new_products->fields['products_name'],0,45)

I could be wrong tho, just a suggestion.

26 Feb 2011, 12:58 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #5 by kobra

Try this

admin > config > index listing > New Products Columns per Row > set to "1"

Zen-Venom Get Bitten

26 Feb 2011, 10:03 PM
#6
curbsidestudiosnet avatar

curbsidestudiosnet

New Zenner

Join Date:
Jun 2010
Posts:
32
Plugin Contributions:
0

Post #6 by curbsidestudiosnet

rbarbour:

then reset

ADMIN > CONFIGURATION > INDEX LISTING

find:
New Products Columns per Row

change to 1

pretty sure it will make it 100%

I think the problem may be in your /includes/modules/CUSTOM_TEMPLATE/new_products.php, look like the products name is being truncated

look for something that looks like this:
. substr($new_products->fields['products_name'],0,45)

I could be wrong tho, just a suggestion.

totally right! The 45 was the character limit. I raised it and it filled up the page. You are ON IT, rbarbour! Thanks. I've been looking for that solution for a week!

26 Feb 2011, 10:32 PM
#7
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #7 by rbarbour

glad I could help!

you could replace:
. substr($new_products->fields['products_name'],0,45)

with:
. $new_products->fields['products_name'] .

& it will display the full name no matter the amount of characters

26 Feb 2011, 10:45 PM
#8
curbsidestudiosnet avatar

curbsidestudiosnet

New Zenner

Join Date:
Jun 2010
Posts:
32
Plugin Contributions:
0

Post #8 by curbsidestudiosnet

ok. so...you figured my issue out and then 1UPed it. NICE.

26 Feb 2011, 11:16 PM
#9
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #9 by rbarbour

curbsidestudiosNET:

Anyone know? Did I find a question the ZEN CART FORUMS CAN"T ANSWER?

Everyone is great on here when it comes to helping and finding solutions. I just have a large client base that all use ZC so I am on here allot and when I am searching the forums for solutions to my clients needs I try to help others where I can.