Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2007
    Location
    Michigan
    Posts
    187
    Plugin Contributions
    0

    help question Column Layout Grid for just ONE category

    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.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default 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 ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2007
    Location
    Michigan
    Posts
    187
    Plugin Contributions
    0

    help question Re: Column Layout Grid for just ONE category

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

    Well...just being honest here...
    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...LOL

    Never hurts to ask!!



    Quote Originally Posted by DrByte View Post
    No ... that's not a built-in feature of the mod.

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

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Jun 2007
    Location
    Michigan
    Posts
    187
    Plugin Contributions
    0

    Default Re: Column Layout Grid for just ONE category

    UMmmm....Huh?
    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........ I'll shall be back!


    Quote Originally Posted by Ajeh View Post
    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:

  6. #6
    Join Date
    Jun 2007
    Location
    Michigan
    Posts
    187
    Plugin Contributions
    0

    Default Re: Column Layout Grid for just ONE category

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


    Quote Originally Posted by ljdream00 View Post
    UMmmm....Huh?
    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........ I'll shall be back!

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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)...

  8. #8
    Join Date
    Jun 2007
    Location
    Michigan
    Posts
    187
    Plugin Contributions
    0

    Default Re: Column Layout Grid for just ONE category

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

    Really?

    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....


    Quote Originally Posted by gjh42 View Post
    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)...

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 23 Mar 2012, 03:28 PM
  2. Column layout grid for product listing - one column only
    By london mummy in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 26 Oct 2009, 10:06 AM
  3. Column Grid Product Category Listing Layout
    By gee38l in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Jan 2009, 11:48 AM
  4. Major issues with Column Layout / Grid Layout for Products Listing
    By kinget in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 27 Jul 2007, 10:11 PM
  5. Column Layout Grid for 1.2.7
    By k4satin in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jul 2006, 08:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg