Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2010
    Posts
    1
    Plugin Contributions
    0

    Default I want to display all categories on home page

    [FONT="Arial Narrow"]I want to display all categories on home page . Can anybody help me out..[/FONT]

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

    Default Re: I want to display all categories on home page

    In your Admin Panel for your shop:

    ADMIN >>> CONFIGURATION >>> LAYOUT SETTINGS... Categories - Always Show on Main Page . . . . . . (set to 1)
    20 years a Zencart User

  3. #3
    Join Date
    Dec 2009
    Location
    Grangeville Idaho
    Posts
    1
    Plugin Contributions
    0

    Idea or Suggestion Re: I want to display all categories on home page

    Hey Schoolboy. My site is at www.johnglossa.com

    My site was showing the 3 top level categories at the top of the home page. I disabled it the other day. Now I cannot get the top level categories to show again.

    I did this in Admin, Layout Settings

    admin > config > layout settings > Categories - Always Show on Main Page SET TO 1


    Do you think by disabling it once that I screwed it up somehow?

    Any help would be appreciated. I"m a web designer, so not a noob knucklehead. Used and setup zen cart many times.

    thanks!

    mary

  4. #4
    Join Date
    Feb 2009
    Posts
    79
    Plugin Contributions
    1

    Default Re: I want to display all categories on home page

    I don't know what would make it so that your categories aren't displaying if you set the admin setting to "1" for Categories - Always Show on Main Page....
    There is probably a problem with your code.

    Look at this file: YOUR_STORE/includes/init_includes/init_category_path.php

    Very close to the top of the file (right after the version info and such) is this batch of code:
    Code:
    }
    $show_welcome = false;
    if (isset($_GET['cPath'])) {
      $cPath = $_GET['cPath'];
    } elseif (isset($_GET['products_id']) && !zen_check_url_get_terms()) {
      $cPath = zen_get_product_path($_GET['products_id']);
    } else {
      if (SHOW_CATEGORIES_ALWAYS == '1' && !zen_check_url_get_terms()) {
        $show_welcome = true;
        $cPath = (defined('CATEGORIES_START_MAIN') ? CATEGORIES_START_MAIN : '');
      } else {
        $show_welcome = false;
        $cPath = '';
      }
    }
    This code has not been changed directly (through the code itself), but I have the "Categories - Always Show" setting in my admin set to 0 (hence the "false" settings?). Hope this helps you figure out what's wrong.
    Flip Perry
    S~Scents

 

 

Similar Threads

  1. v154 I like to have my home page opened with the categories showing all the categories box
    By cj.dekrijger in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Aug 2015, 09:32 PM
  2. v150 Display ALL Sub-Categories in Center of Home Page
    By Aahz in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 4 Aug 2012, 05:00 AM
  3. Want to Display images of my products on my home page
    By adityagm5 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 28 Apr 2010, 05:01 PM
  4. Show all categories on separate page, not home?
    By JHouse in forum General Questions
    Replies: 5
    Last Post: 5 Aug 2009, 10:32 PM
  5. Listing all Categories and all products on home page
    By dgeere in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 5 Dec 2007, 06:32 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