Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Apr 2005
    Location
    Atlanta, GA
    Posts
    9
    Plugin Contributions
    0

    Default Expanded Category List by Anant Bhatia - question

    Hey folks! I was reading about the Expanded Category List shown here:
    http://www.zen-cart.com/index.php?ma...roducts_id=392

    It seems like many of you use it.

    The "readme.txt" file says he will be uploading another sidebox with includes only categories and sub-categories (no products).
    Does anybody know where that is or if anything like that exists? I would like to show both categories and sub-categories in my sidebox.

    Terry


    Using:
    ZC 1.3.8 - fresh install
    with PureOrange Template

  2. #2
    Join Date
    Jun 2006
    Posts
    123
    Plugin Contributions
    0

    Default Re: Expanded Category List by Anant Bhatia question

    Hi Terry,

    Just came across your question - hope this is still relevant. You can make a simple change to this contribution, which will remove the products and keep only the categories and sub-categories.

    Edit the file includes/classes/category_list.php

    Find line #82 - it should look like this:

    PHP Code:
    $this->build_products($category_id$category_link,$level); 
    Simply comment it out by adding a double-slash at the beginning:

    PHP Code:
    // $this->build_products($category_id, $category_link,$level); 
    Save, upload and test - the sidebox should be product-free now.
    Hope this helps

  3. #3
    Join Date
    Mar 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: Expanded Category List by Anant Bhatia - question

    I really like this mod! however, I'm wondering how to get it to NOT show the categories that are turned off. It seems to show everything. Right now I don't want to show my holiday cat, but I will in Dec.

    Thanks!

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

    Default Re: Expanded Category List by Anant Bhatia - question

    Do you want to show the products? If not, there are other mods that will work more in line with ZC settings, like fragfutter's Uncollapsed Categories Tree (available from his site, or bundled with Categories Dressing where it will generate a correct <ul> list).

  5. #5
    Join Date
    Mar 2010
    Location
    Royston, UK
    Posts
    14
    Plugin Contributions
    0

    Default Re: Expanded Category List by Anant Bhatia - question

    Hi gjh42,

    Might you be able to answer my question wrt the Expanded Category List module?! Desperately need guidance, this is for a client so will make a contribution for a little support :-)

    1.) A problem: no products are displayed, only cats & sub-cats! Any known issues/adminsettings you are aware of that might be causing this?

    2.) And further - Ultimately I wish to display the list elsewhere within zencart content pages and select the categories/sub-categories of which products to list. Could you advice please:

    a) which code sniplet can i grab to display the tree elsewhere in other files (other than side box), or do I need to create a whole new set of files/pages or as a non-sidebox module?
    b) is it possible to tell the module to list sub-categories and products under certain sub-cat only, say category_id '160'?

    Thank you kindly!

    Annika

    ps. I am sorry to hear the contributor Clyde Jones has suddenly died :-(

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

    Default Re: Expanded Category List by Anant Bhatia - question

    Oh my! So sorry to hear about Clyde.

    I am not deeply familiar with the code for this mod, and haven't even looked at it in a year or two. Anything is possible, but I would have to study it quite a bit to advise at this point.

 

 

Similar Threads

  1. Expanded Category List - How to Bold?
    By jburleigh1 in forum Addon Sideboxes
    Replies: 2
    Last Post: 29 Sep 2011, 09:44 AM
  2. Expanded Category List is showing Hidden Product
    By khopek in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 18 Apr 2010, 06:43 AM
  3. Expanded Category List and BetterCategories
    By wasana in forum Addon Sideboxes
    Replies: 6
    Last Post: 6 Jan 2009, 11:50 PM
  4. expanded category list and 1.3.8
    By jafma in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 4 Sep 2008, 03:17 PM
  5. Expanded Category List not working
    By julieoolie in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 5 Feb 2008, 05:11 AM

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