Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32
  1. #1
    Join Date
    May 2006
    Posts
    24
    Plugin Contributions
    0

    switch product listings to a grid layout

    I'm trying to customize my template...it's supposed to look like this: studiolaguna.com/portfolio/artists2.htm

    Which file do I need to change to make a grid layout work? I'm running version 1.3. Also, any suggestions on what code changes need to be made?


    I'm a bit of a newbie to zen...any help is greatly appreciated!!!
    ~ Liquid Lead Artist ~
    www.liquidlead-art.com

  2. #2
    Join Date
    Feb 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: switch product listings to a grid layout

    first thing you have to do is make a new tempate file, then copy
    includes/templates/template_default/common/tpl_main_page.php
    to
    includes/templates/your_temp/common/tpl_main_page.php
    then open that bit of code up to see how Zen aranges information and the 3 box layout.
    then also copy the header and footer files and look how they work.
    then you will see where zen places information.
    then you will need to build a 4 cell table(or CSS), as follows:
    Code:
    <!--body table -->
    <table class="yourtableclass">
    <TR><TD colspan="2" name="header">
    Header code
    </TD>
    </TR>
    <TR><TD name="leftnav">
    Left bar content
    </TD>
    <TD name="body">
    Body code
    </TD>
    </TR>
    <TR><TD name="footer" colspan="2">
    footer contet
    </TD></TR></table>
    obviously enter the php from tpl_main_page to the spots you want it and change widths and lengths.

    tpl_default_left holds the information for the left bars(the layout and whatnot)
    change those files as you like and you will start to see how easy it really is to change everything.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: switch product listings to a grid layout

    Desopolis' suggestion, while useful information, is not what you need specifically.

    What you're after is the "column/grid layout" mod ... which will be accessible for download shortly once our contributions area comes back online.

    Meanwhile, I've attached it here.
    Attached Files Attached Files
    .

    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.

  4. #4
    Join Date
    Apr 2006
    Posts
    146
    Plugin Contributions
    0

    Default Re: switch product listings to a grid layout

    Hey look everyone Doc is back... wondered where you were man

  5. #5
    Join Date
    May 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: switch product listings to a grid layout

    Thanks guys!

    DrByte, I've copied the files from the column/grid system and followed the instructions provided, but now I'm just getting 1 column for all the pages. Is the grid system all CSS?

    This is what it looks like after installing the grid layout:
    http://www.studiolaguna.com/portfoli...ctlistings.gif

    I'm probably missing something obvious but I'm clueless as to knowing what i need to change.

    thx,
    ~ Liquid Lead Artist ~
    www.liquidlead-art.com

  6. #6

    Default Re: switch product listings to a grid layout

    are you wanting to have 3 or 4 columns instead of one??? is that your question?
    if so all you do is go to admin/product listing/Product Listing - Columns Per Row and set how many ever columns you want.

  7. #7
    Join Date
    May 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: switch product listings to a grid layout

    yes, ultimately I want to have a 4x4 grid. I've tried controlling it through the admin with no success. I have it set to 4 right now, but changing it doesn't seem to make a difference. I've followed the instructions from the 'grid layout' a few times now, thinking it was some error I'd made...yet it's still not working. Any suggestions?
    ~ Liquid Lead Artist ~
    www.liquidlead-art.com

  8. #8

    Default Re: switch product listings to a grid layout

    did you upload all the correct files in the right place and then go to tools/sql patches and copy and paste the code (provided in the download) there and hit send? when i did that. it worked perfectly and let me change the column numbers in the product layout place in admin

  9. #9
    Join Date
    May 2006
    Posts
    24
    Plugin Contributions
    0

    Default Re: switch product listings to a grid layout

    dang, i'm pullin my hair out trying to figure this out...has anyone else had this problem?
    I followed the instructions step by step. Still no change. Do I need to add something to the stylesheet??? I've been using the ZenCss template as a base for my template...does anyone know if the grid layout is compatible with the zen css template?
    ~ Liquid Lead Artist ~
    www.liquidlead-art.com

  10. #10
    Join Date
    Sep 2004
    Location
    Coming soon to a location near you
    Posts
    45
    Plugin Contributions
    0

    Default Re: switch product listings to a grid layout

    Quote Originally Posted by liquidlead
    dang, i'm pullin my hair out trying to figure this out...has anyone else had this problem?
    I followed the instructions step by step. Still no change. Do I need to add something to the stylesheet??? I've been using the ZenCss template as a base for my template...does anyone know if the grid layout is compatible with the zen css template?

    I'm having the exact same problem. I've installed the mod as instructed, changed to 3 columns, but I still get 1 column. Something's not right.

    ***Edited

    I found it. There's a second option I had to change from rows to columns.
    Product Listing - Layout Style
    Last edited by Tim_B; 13 May 2006 at 09:07 PM.
    Outside a dog, a book is a man&#39;s best friend.
    Inside a dog, it&#39;s too dark to read.
    Groucho Marx

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Masonry Grid Product Listings
    By pricediscrimination in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Mar 2015, 06:56 PM
  2. "GRID" Layout for Product Listings
    By port_2512 in forum Setting Up Categories, Products, Attributes
    Replies: 12
    Last Post: 21 Aug 2010, 04:34 PM
  3. Column Grid Product Layout
    By charmedbytina2 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 2 May 2008, 03:59 PM
  4. All Product Listings - background color shows 'grid lines'
    By wasana in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Jul 2007, 05:26 PM
  5. Column Grid Layout - trouble with product listing/layout
    By mellonade in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 4 May 2007, 11:18 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