Results 1 to 7 of 7
  1. #1
    Join Date
    May 2007
    Posts
    11
    Plugin Contributions
    0

    red flag where can i change the design for the center column?

    i want to change all the template to using Divs and the design is done. Now the problem is i cant find the page to change it. i checked to

    common/tpl_main_page.php but it doesn't show those center column ( Featured Products, new product and so on). the tpl_main_page shows only the sideboxes code and banners, which is good, but i want more.


    i gonna make a template with 1 leftside with boxes, do i have to change the design in checkout page too?

    cheers

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

    Default Re: where can i change the design for the center column?

    There is not one template file that controls the whole page. tpl_main_page.php controls the framework, and calls in tpl_header.php, column_left.php, one of several center column files depending on what is wanted, and so on.

    To make a two column layout with left sideboxes, first turn off the right column in admin > Configuration > Layout Settings > Column Right Status - Global. That will affect all pages. It is possible to have one page like checkout different if you want it to be.

  3. #3
    Join Date
    May 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: where can i change the design for the center column?

    so if i make a framework that show exactly on every page, like left columm contains categories, shopping cart, and so on, do check only 1 tpl_main_page.php or is there other files in other folder?

    cheers

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

    Default Re: where can i change the design for the center column?

    Unless you are getting fancy with pages having very different layouts, you only need one tpl_main_page.php. After you have turned off Column Right Status in Layout Settings, go to Tools > Layout Boxes Controller and set the location and sort order of the boxes you want in the left column. This will give you the basic shape of the template. You can change some sizes and widths of elements in admin, but most of that will be in your stylesheet, as well as colors, fonts and images.

    Before doing a lot of work on a template, read all you can about templates and overrides in Zen Cart. Start with the "Second step in setting up your cart - templates" thread in the First Steps & General Customization Issues forum.

  5. #5
    Join Date
    May 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: where can i change the design for the center column?

    not fancy, here is the test, http://www.lansemall.com/index.jpg .
    i know i can switch off the right column, but hm...i tried to put a head before and it wasn't working with table. but maybe i tried it once again. basically i just want to remove the >table< to div.

    i use my custom template folder, which i think it is a good when a system knows take custom template first and second default template

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

    Default Re: where can i change the design for the center column?

    Nice looking shop, and shouldn't be hard to get exactly that if you're good with CSS - or is that a screenshot of your actual cart already?

    There is only one table used in the default Zen Cart installation, and it is there because it is very difficult to make the page work completely right without it. People have done it and said as much. Everything else uses divs, except for some things that really are tables.
    Is this a purchased template that has tables? Many of them do use deeply nested tables that make customization difficult.

  7. #7
    Join Date
    May 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: where can i change the design for the center column?

    hi, that is a pic from photoshop, i am almost done with coding part. i am quite good at css but still some part i need to edit templates php file.

    i dont buy templates, i make one when i need to :). once i change the index/start page, i have also change the other pages late sub-cats, new prod etc...

 

 

Similar Threads

  1. Replies: 2
    Last Post: 1 Feb 2015, 03:35 PM
  2. how do I change the color to just the center Column
    By ScottDB in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 6 Sep 2011, 12:53 PM
  3. where is the center column template file?
    By BuddyH in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 May 2011, 09:00 PM
  4. How can I change the width where all the products are listed?
    By sharontan in forum Setting Up Categories, Products, Attributes
    Replies: 15
    Last Post: 20 Nov 2010, 03:53 PM
  5. How can I have random products in the center column of the zencart first page.
    By lifetimewebhost in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Nov 2007, 07:49 PM

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