Thread: category page

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Feb 2007
    Posts
    61
    Plugin Contributions
    0

    Default category page

    Hi,

    I want the categories that appear in the catgory sidebox to appear on the main content page. So there is no need for the category sidebox and I will have a link to that page on another sidebox.

    See the categories appear here on content page as well as sidebox?

    http://www.fastlec.co.uk/

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

    Default Re: category page

    You can turn off the categories box in admin > Tools > Layout Boxes Controller.
    I believe you already have set in Configuration > Layout Settings for categories to always show on main page; I don't think that will stop when the sidebox is turned off. Try it and see.

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

    Default Re: category page

    OK, I have just tested it and the above settings will do what you want.

  4. #4
    Join Date
    Feb 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: category page

    hi,

    q1)The 2 other big sections in the content page as well (new products and featured products), I don't want them to appear unless I click a link. How do i get rid of those sections.

    q2) What about getting the categories to appear in a html table . I know the code but you would need to link to a mysql DB. I believe you can't ad php/mysql toa page.

    q3) The main page is already set, but what i want is the catgories to appear in the main content section instead of the sidebox which i turned off. I still can't do this with the instructions given.
    Last edited by jagguy; 19 Feb 2007 at 10:44 AM.

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

    Default Re: category page

    1: Configuration > Index Listing will let you do a lot of things with what shows.

    2:You already have the categories appearing on the main page content area, and they work from the DB. The appearance can be altered using the stylesheet and possibly some tweaking in tpl_ and module files, depending on what you want. If you make your own HTML to do this, it will not be dynamic and you will have to adjust it any time you change a category.

    3: Are you wanting the big categories spread to appear on all pages? That seems unwise, as they take up a lot of prime real estate. Or what is it that you do want?

    PS - If you want the categories not in a sidebar on all pages, use the categories-tabs menu in the header. It will appear below the logo, and can be customized in appearance and even function.

  6. #6
    Join Date
    Feb 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: category page

    q2) when i 1st load the site I want the categories to appear on content area and not sidebar ( which i can turn off). How do i set this or do i need to tweak certain files/
    When you said create own html and not dynamic? Does that mean you can't pull data from mysql with php on a new page?


    q4)Also when doing a new ezpage and add php

    eg<?php echo "hello" ?>
    MEEE
    test
    <?php echo "hhe" ?>

    it ignores the php lines. Can I make this happen.
    Last edited by jagguy; 19 Feb 2007 at 11:42 AM.

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

    Default Re: category page

    "set in Configuration > Layout Settings for categories to always show on main page" means go there in your admin and set that if you haven't already. I misunderstood at first that the link you gave was not your site and you just wanted yours to work like that.

    You certainly can access the DB with code you write in files; however the ezpages are themselves just data in the DB and I don't believe PHP works from there. I believe define_main_page.php will actually edit that file.

  8. #8
    Join Date
    Feb 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: category page

    Quote Originally Posted by gjh42 View Post
    "set in Configuration > Layout Settings for categories to always show on main page" means go there in your admin and set that if you haven't already. I misunderstood at first that the link you gave was not your site and you just wanted yours to work like that.

    You certainly can access the DB with code you write in files; however the ezpages are themselves just data in the DB and I don't believe PHP works from there. I believe define_main_page.php will actually edit that file.
    Ok you said something I want to know.
    If I want to add a new page with php/mysql can I do this in ZC. I am told no you can't elsewhere here or why would you?

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

    Default Re: category page

    I've gotten to the limits of my knowledge on this facet of Zen Cart. I plan to have an entry page which I want to build inside ZC, and hope and think the above will work; however, I haven't really gotten into it yet.

    I know you can add PHP and mySQL interfacing to files - many people here have done it. To make a new page, your best bet is probably the "About Us" mod in Downloads, which is really more of a tutorial on how to make your own custom ZC page from scratch.

  10. #10
    Join Date
    Feb 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: category page

    I couldn't add php code to a ezpage as it fails.

    If you know how to ad php content to new webapges then let me know. I think from responses I have got that ZenCart is a basic ecommerce package, no frills and no dynamic content to be added. A beginners package.
    It seems a good initial test for ecommerce though.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 New Category has no category page but displays main page when clicked
    By Mike D in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 12 May 2015, 02:15 AM
  2. v151 Display Category Description below category Title on the Product page
    By Alexander81 in forum General Questions
    Replies: 11
    Last Post: 13 Apr 2013, 12:13 AM
  3. Bottom Align Sub Category Text & Image on Category Page
    By yorkshiregc in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Aug 2011, 02:01 AM
  4. Remove / Hide category link from category image on home page
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 15 Mar 2010, 11:50 PM
  5. Display Category Description below category Title on the Product page
    By nigelt74 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 4 Sep 2009, 02:06 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