Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  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.

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Expanded Category List by Anant Bhatia - question

    I have a completely re-written version of this mod done for a clients site, but the documentation isn't complete. But PM me an email address and I'll send it over as is.

    It does display the products (though I've included a switch to turn that off as I don't much like it).

    It's not designed to be used outside of a sidebox as the way the code is built for sideboxes is different to other locations, but I'll give that some thought.

    It is possible to set a root for the top of the category tree displayed that is different to the root for the whole site.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  8. #8
    Join Date
    Aug 2011
    Posts
    17
    Plugin Contributions
    0

    Default Re: Expanded Category List by Anant Bhatia - question

    Hello i need help please

    I install and all fine.
    I have only this problems:

    I have disabled some category in my admin panel ( i dont use) but still show online inside category listing.... how can i solve it ?

    when i have the normal category of zen cart dont show the disabled category....

    thanks

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

    Default Re: Expanded Category List by Anant Bhatia - question

    You would have to compare and merge the coding for display filters between this mod and the stock sidebox. If you're not up for that, you need to use another expanded categories mod that does work correctly for this.

  10. #10
    Join Date
    Nov 2004
    Location
    Deal, Kent, UK
    Posts
    332
    Plugin Contributions
    0

    Default Re: Expanded Category List by Anant Bhatia - question

    Quote Originally Posted by kuroi View Post
    I have a completely re-written version of this mod done for a clients site, but the documentation isn't complete. But PM me an email address and I'll send it over as is.

    It does display the products (though I've included a switch to turn that off as I don't much like it).

    It's not designed to be used outside of a sidebox as the way the code is built for sideboxes is different to other locations, but I'll give that some thought.

    It is possible to set a root for the top of the category tree displayed that is different to the root for the whole site.
    Is this offer still open? I'm using the original mod but it shows inactive products - did you manage to fix this?
    Thanks in advance.

 

 
Page 1 of 2 12 LastLast

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