Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Posts
    57
    Plugin Contributions
    0

    help question Only homepage without right and left column sideboxes

    I started fiddling with zencart today and it really overwhelmed me especially when I am newbie. Also, I have been through tutorials.

    I have made custom folder and copied all default templates into custom folder so that I can customize the templates.

    Only the things I wanted to do are:
    1) remove all sideboxes on right and left columns on homepage (front page).
    2) on homepage, the page will be "image-heavy" and the navigation at top.
    3) after click somewhere on image or nav on the homepage, it should take us to the secondary pages with right column sidebox of the category links and product images.

    Is it possible to do these three? since sideboxes would be controlled from layout controller for homepage and they will disappear, i do not know how to make sidebox on right column appear without using layout controller which is solely for homepage? Also, how to use images and some small nav links on the front page (homepage) without sideboxes? Can html be used only? or must it be modified in php?

    The help will be very much appreciated.

    Thank you for your time.

  2. #2
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Only homepage without right and left column sideboxes

    There are settings in admin for controlling the right and left sideboxes throughout the site, under admin/Tools/Layout Boxes Controller. There you can tell it which boxes to show in which column, and can turn a column off or on entirely. And there are more settings in admin/Confirguration/Layout Settings to adjust the sideboxes width and such. And then of course, you can fine tune the appearance in the stylesheet.

    Then, to turn them off entirely on the home page, follow the instructions in this thread.

    Hope this gets you started.

    Rob

  3. #3
    Join Date
    Dec 2008
    Posts
    57
    Plugin Contributions
    0

    Default Re: Only homepage without right and left column sideboxes

    Thank you. I think that you didn't answer some of my questions. I know about layout controller and I have turned sideboxes off.

    My question is that I only want to put images and nav on the homepage without sideboxes - Can it be done with html? Or do I have to put some php function to make it work?
    Then on secondary page, it should have a sidebox on right for product category links. If I use layout controller to turn sidebox on, it will appear on homepage. so ..

    As for your link reference, I will take a look and hopefully it could help me with my question.

    Thank you for your reply.

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Only homepage without right and left column sideboxes

    Quote Originally Posted by dreamlex View Post
    My question is that I only want to put images and nav on the homepage without sideboxes - Can it be done with html? Or do I have to put some php function to make it work?
    All of Zen Cart pages are created with php. You may need to modify the php files which together make up the home page. But explore the many settings in admin/Configuration first.

    Quote Originally Posted by dreamlex View Post
    Then on secondary page, it should have a sidebox on right for product category links. If I use layout controller to turn sidebox on, it will appear on homepage.
    The link I provided has instructions to do that. So turn on the right column, put the sideboxes in it that you want on other pages, then follow the linked instructions to turn them off on the home page.

    Rob

  5. #5
    Join Date
    Dec 2008
    Posts
    57
    Plugin Contributions
    0

    Default Re: Only homepage without right and left column sideboxes

    thank you for your help! I have succeed making sideboxes and stuff disappear.

  6. #6
    Join Date
    Dec 2008
    Posts
    57
    Plugin Contributions
    0

    help question Re: Only homepage without right and left column sideboxes

    Quote Originally Posted by rstevenson View Post
    All of Zen Cart pages are created with php. You may need to modify the php files which together make up the home page. But explore the many settings in admin/Configuration first.


    The link I provided has instructions to do that. So turn on the right column, put the sideboxes in it that you want on other pages, then follow the linked instructions to turn them off on the home page.

    Rob
    I did turn off all the right columns and turn on only one sidebox on left column for categories - still the secondary pages (not homepage) have two columns appear. I have been trying to work on zencart for quite some time and I am still stuck at header and body for products.

    how do we know where to edit the pages where products appears (what is new, featured, product page with "add" button etc)?

  7. #7
    Join Date
    Feb 2008
    Posts
    174
    Plugin Contributions
    0

    Default Re: Only homepage without right and left column sideboxes

    I have attempted to do this in both the includes/templates/template_default/common AND includes/templates/MY TEMPLATE/common directories and nothing changes.

    Is it possible that - because I am using a MonsterTemplate template - it won't be this simple?

    I just want to turn off columns on home page.
    I have tried un-commenting, and adding snippets found in these threads. neither works.

 

 

Similar Threads

  1. Space between left layout column and right content column
    By eazy in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 Mar 2013, 02:16 AM
  2. turning off right, and left column, and keep the sideboxes
    By keneso in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 26 Jan 2012, 12:17 PM
  3. Remove Left Column and add images on right column
    By steve Nezia in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 13 Jun 2011, 03:40 PM
  4. Replies: 5
    Last Post: 1 Oct 2009, 03:32 PM
  5. Right column only to display on homepage?
    By RobM in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Aug 2009, 12:45 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