A A A

Please consider registering
guest

Log In RegisterMembers

Login form protected by Login LockDown.


Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
theme questions - gridfront
February 2, 2009
12:05 pm
dfobare
Guest

1) Can you manipulate the number of columns in a grid?

2) Does a grid have to have perfectly aligned rows? Is it possible to have grid spots of varying length inside a row?

3) Some grid spots I'd like to have a small banner in from an affiliate, others just plain text(seasonal tips, etc), while others I'd like to have text with an affilate link, etc. Possible? Anyone doing something like that?

February 5, 2009
12:09 am
dfobare
Guest

Anyone?

February 5, 2009
2:53 am
Member
Forum Posts: 127
Member Since:
October 3, 2008
Offline

Hi dfobare!

You can probably do all the things you want as long as you can change the code. Some thing are more easy than others and some things might take too much effort.

I know for sure that you can change the number of columns in the grid because I did it. Regarding grid spots of varying length, I am not sure….you'ed probably need to fiddle a lot to do that.

About question 3, the storefront takes the photos you have specified for each product and creates the grid with thumbnails, so again I am not sure what you can do for that.

February 10, 2009
10:39 am
dfobare
Guest

Anyone?

February 10, 2009
1:59 pm
Admin
Forum Posts: 5058
Member Since:
March 16, 2008
Offline

Since what you're asking falls into the "customization" category, I can't offer the code to everything you'll need to make it happen.   (Since we'd have to spend some time customizing a test installation in order to tell you what the code was)

But…  I can tell you that the file you're going to be working with to make the changes is "frontdoor.php".

At or around line #14 you can set the number of total products to show. 

$wp_query->query('category_name=products&showposts=24'.'&paged='.$paged);

Ideally, you'll want it to have that number set as a multiple of the # of columns you have.  The stock version shows 6 columns, so you'll see that the initial value is 24 (24 = 6 x 4).

At or around line #45, you can set the number of columns.  The line you're looking for is:

<?php if ($i % 6 == 0)

You'll change the "6" to however many columns you want.

Hopefully this helps.

Forum Timezone: UTC 0

Most Users Ever Online: 47

Currently Online: celrus
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

icy1: 2373

wreed06: 175

laurie390: 168

StitchTek Services, LLC: 144

boutiqueelliette: 130

yiorgos: 127

Member Stats:

Guest Posters: 428

Members: 2252

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 4

Topics: 2987

Posts: 16060

Moderators: Market Admin (5058)

Administrators: Market Admin (5058)

Market takes e-commerce to the next level with an easy to use, quick setup platform. Learn more or take the tour.