Thread: Noob in Need!

Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2009
    Location
    Far Far Away
    Posts
    20
    Plugin Contributions
    0

    red flag Noob in Need!

    Hey All,

    I recently started using zen cart, and I have just started to learn on how to create your own custom layout. Now from what I have read so far, it seems that your website uses the same layout for each page. I have 6-10 different layouts in mind for my website. Is it possible to have a different layout for each page on my website using zen cart.

    E.g

    Home Page = Layout 1
    Categories selection = Layout 2
    Products Page = Layout 1
    Description Page = Layout 3
    etc...

    If so can someone point me in the direction where I can learn on how to effectively setup each page individually using the layouts I have in mind for each of the pages.

    Regards,
    Johan
    a.k.a. Noob in Need!

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Noob in Need!

    Exactly what are the differences between each of those layouts?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jul 2009
    Location
    Far Far Away
    Posts
    20
    Plugin Contributions
    0

    Default Re: Noob in Need!

    Quote Originally Posted by Kim View Post
    Exactly what are the differences between each of those layouts?
    essentially all layouts are based around the 3 column concept but some have some alterations.

    e.g.
    Layout 1:


    Layout 2:


    Layout 3:


    Layout 4:


    and so on.

    Regards,
    Johan
    a.k.a. Noob is Need!

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Noob in Need!

    At first glance, some may be possible - but may require lots of re-coding. Some "custom" layouts can be controlled by "element-specific" stylesheets. Other pages can be influenced by page-specific headers.

    You need to talk to a zencart guru about how best this is achieved. While your images refer to "columns", you do not specify what content is to appear in each column. This will require a detailed and comprehensive brief from you, and is probably in the realm of "Commercial Help Wanted" as there would be a lot of work involved.
    20 years a Zencart User

  5. #5
    Join Date
    Jul 2009
    Location
    Far Far Away
    Posts
    20
    Plugin Contributions
    0

    Default Re: Noob in Need!

    Quote Originally Posted by schoolboy View Post
    At first glance, some may be possible - but may require lots of re-coding. Some "custom" layouts can be controlled by "element-specific" stylesheets. Other pages can be influenced by page-specific headers.

    You need to talk to a zencart guru about how best this is achieved. While your images refer to "columns", you do not specify what content is to appear in each column. This will require a detailed and comprehensive brief from you, and is probably in the realm of "Commercial Help Wanted" as there would be a lot of work involved.
    Ok, so lets step back then in technical level. Can you build specific pages by say:

    homepage uses a white left sidebar
    about us has left sidebar disabled
    shopping cart has left and right sidebar disabled

    Or do they all you the same body layout?

    Regards,
    Johan

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Noob in Need!

    There's a file in includes/templates/classic/css called css_read_me.txt which discusses (briefly) page-specific stylesheets, which is where I think you'd want to start, using display:none; in the proper places.

  7. #7
    Join Date
    Jul 2009
    Location
    Far Far Away
    Posts
    20
    Plugin Contributions
    0

    Default Re: Noob in Need!

    Quote Originally Posted by stevesh View Post
    There's a file in includes/templates/classic/css called css_read_me.txt which discusses (briefly) page-specific stylesheets, which is where I think you'd want to start, using display:none; in the proper places.
    Thank you, I will look into to it and comeback with my outcome

  8. #8
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Noob in Need!

    You can disable header, footer and side-columns for specific pages, by editing tpl_main_page.php in the COMMON folder of your template. If it is not there, then use the DEFAULT file, and when edited, put it in includes/templates/YOUR-TEMPLATE/common/tpl_main_page.php .

    (This may also require that you CREATE a folder called "common" in your custom template folder - at the location I show above.)
    20 years a Zencart User

  9. #9
    Join Date
    Jul 2009
    Location
    Far Far Away
    Posts
    20
    Plugin Contributions
    0

    Default Re: Noob in Need!

    Quote Originally Posted by stevesh View Post
    There's a file in includes/templates/classic/css called css_read_me.txt which discusses (briefly) page-specific stylesheets, which is where I think you'd want to start, using display:none; in the proper places.
    Thank you, I will look into to it and comeback with my outcome

  10. #10
    Join Date
    Jul 2009
    Location
    Far Far Away
    Posts
    20
    Plugin Contributions
    0

    Default Re: Noob in Need!

    Quote Originally Posted by schoolboy View Post
    You can disable header, footer and side-columns for specific pages, by editing tpl_main_page.php in the COMMON folder of your template. If it is not there, then use the DEFAULT file, and when edited, put it in includes/templates/YOUR-TEMPLATE/common/tpl_main_page.php .

    (This may also require that you CREATE a folder called "common" in your custom template folder - at the location I show above.)
    Seems easier that option

 

 

Similar Threads

  1. v151 hi i'm a noob...need noobie help
    By Tobi Goodboy in forum General Questions
    Replies: 5
    Last Post: 2 Mar 2013, 11:22 AM
  2. super noob
    By zethyl in forum General Questions
    Replies: 1
    Last Post: 16 Jul 2009, 02:08 PM
  3. Noob here need help on Templates
    By dathaeus in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 17 Sep 2008, 05:35 PM
  4. Total Noob
    By Paradigm81 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 16 Aug 2006, 06:01 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