Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Column Layout Grid for just ONE category

Column Layout Grid for just ONE category

Locked

Views: 1,935

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
21 Aug 2007, 4:04 AM
#1
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Location:
Michigan
Posts:
168
Plugin Contributions:
0

Column Layout Grid for just ONE category

:unsure: Is there a way to add the **Column layout grid install **tojust one category and have all the other catagories using the row layout?

Thank you in advance for your quick response.:mellow:

21 Aug 2007, 4:48 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Column Layout Grid for just ONE category

No ... that's not a built-in feature of the mod.

first question .... "why" ?
second: what's your URL ?

22 Aug 2007, 12:20 AM
#3
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Location:
Michigan
Posts:
168
Plugin Contributions:
0

Re: Column Layout Grid for just ONE category

:huh:First answer....Why? you ask....because I WANT IT:blush:...LOL....

Well...just being honest here...:laugh:
Here's the situation. I have a custom template that I've revised and on one of my categories instead of the row version I have, I would like to have the grid version. I want this only for the category that says " In-Stock Units". If you go to "Custom Units" category, you will see the row version....

To answer your second question, My website is http://www.lacefrontsecrets.com

I knew that it was probably far fetched to get this option, but you all here have helped me create WONDERS with my site, so I guess I was hoping for a Miracle Super-Code from the Gurus here...:blush:LOL

Never hurts to ask!!:cool:

DrByte:

No ... that's not a built-in feature of the mod.

first question .... "why" ?
second: what's your URL ?

22 Aug 2007, 1:51 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Column Layout Grid for just ONE category

NOTE: Currently you are skipping the Product Listing for that In Stock Category totally as there is only 1 product and you have in the Configuration ... Layout Settings ... turned on:

Skip 1-prod Categories
Skip single-product categories
If this option is set to True, then if the customer clicks on a link to a category which only contains a single item, then Zen Cart will take them directly to that product-page, rather than present them with another link to click in order to see the product.
Default: True

22 Aug 2007, 2:33 PM
#5
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Location:
Michigan
Posts:
168
Plugin Contributions:
0

Re: Column Layout Grid for just ONE category

:blink:UMmmm....:huh:Huh?
:unsure:Let me look into this because I'm not understanding what you are saying here...Since I'm pretty knew at this whole thing, I always have to break each line of code until I understand it completely before it clicks in my crazy brain....:wink:.... I'll shall be back!

Ajeh:

NOTE: Currently you are skipping the Product Listing for that In Stock Category totally as there is only 1 product and you have in the Configuration ... Layout Settings ... turned on:

22 Aug 2007, 2:39 PM
#6
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Location:
Michigan
Posts:
168
Plugin Contributions:
0

Re: Column Layout Grid for just ONE category

:oops: Ajeh...what would I ever do without you. I never even noticed this as an option... Thanks again!!!

ljdream00:

:blink:UMmmm....:huh:Huh?
:unsure:Let me look into this because I'm not understanding what you are saying here...Since I'm pretty knew at this whole thing, I always have to break each line of code until I understand it completely before it clicks in my crazy brain....:wink:.... I'll shall be back!

22 Aug 2007, 5:39 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Column Layout Grid for just ONE category

Your center column for listings is so narrow it doesn't seem practical to get a grid in there and actually save much space (without cramping the text)...

23 Aug 2007, 12:10 AM
#8
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Location:
Michigan
Posts:
168
Plugin Contributions:
0

Re: Column Layout Grid for just ONE category

:blink: Too Narrow for the grid option you say?...

:unsure: Really?

:mellow:After looking at it again, I believe you are absolutely correct. My center column IS too narrow for the grid.
I would have to get rid of the right column in which I'm willing to do if I can use the grid for that category only....:unsure:

gjh42:

Your center column for listings is so narrow it doesn't seem practical to get a grid in there and actually save much space (without cramping the text)...

23 Aug 2007, 9:06 AM
#9
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Column Layout Grid for just ONE category

It would require some PHP coding, but I expect you could set up a test to include/require or whatever the column/grid version of the product listing files when cPath = your chosen category.

And you can either move all desired sideboxes to one side and disable the other globally, or set up a test in tpl_main_page.php to disable one of them for the appropriate cPath.