Customization for the featured products |
Post Reply |
Author | |
ym
Newbie Joined: 22-January-2009 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 29-May-2010 at 2:03pm |
Long time ago, for some reason, I made a customization to the featured product, so the products numbers per row always stays at 4 (I made the control panel unable to change the product number per row on purpose). Now I'd like to reconnect to the control panel, but I can't remember which I file I made a customization. I'd appreciate your help.
|
|
intour
Senior Member Joined: 30-June-2006 Location: United Kingdom Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Can you give us a URL please so we can take a look at the page you are referring to.
Nigel
|
|
ym
Newbie Joined: 22-January-2009 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
The url is http://www.espressotec.com/index.asp.
I'd appreciate your help. |
|
Brett
Groupie Joined: 22-April-2008 Location: Phoenix, AZ Status: Offline Points: 89 |
Post Options
Thanks(0)
|
Hey ym,
If you want to edit the number of columns for all horizontal displays, you could probably edit includes/settings.asp LINE 65: private const scPrdRow = 3 private const scPrdRow = NUMBER OF COLUMNS YOU WANT I haven't tested this, but it seems like a very simple change. Alternatively, if you only want to change the number of columns for your featured product display, you can probably edit pc/HomeCode.asp LINE 259: If i > (scPrdRow-1) then If i > (NUMBER OF COLUMNS YOU WANT-1) then ...If you do that, you'll probably also want to edit line 299 on the same file: intColSpan=scPrdRow intColSpan=NUMBER OF COLUMNS YOU WANT ...That should do what you want it to. Be sure to look around for any other instances of scPrdRow if you decide to use the second method. |
|
ym
Newbie Joined: 22-January-2009 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Thank you so much.
The second method solved the problem. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |