Page 9 of 25 FirstFirst ... 789101119 ... LastLast
Results 81 to 90 of 249
  1. #81
    Join Date
    Mar 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Simple Category Tree

    Hi Yellow, I have successfully implemented your "all products in sub cats" mod and it works except for some very strange behaviour. I have one subcat below a top cat that does not expand or show subcat or products.

    See my development site:
    http://www.alwaysriding.co.uk/always...=index&cPath=1

    The problem only occurs under SHOP FOR MEN > MOUNTAIN > subcats. It works fine for all other sub cats??

    I have checked the database table and all looks fine. Also, I have left the zen cart categories sidebox in below so you can see the categories work.

    Any ideas?

    Thanks
    DanP

  2. #82
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple Category Tree

    I see this:
    <!--

    On your page, looks like something is wrong.
    BTW, try to print out:
    print_r($_SESSION['category_tree']->retrieve_deepest_level_children(14));
    And see which cats are printed out.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #83
    Join Date
    Nov 2007
    Posts
    57
    Plugin Contributions
    2

    Default Re: Simple Category Tree

    Hey yellow1912,

    Thanks heaps for this mod... about to install it now.

    Thanks again!

  4. #84
    Join Date
    Mar 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Simple Category Tree

    Quote Originally Posted by yellow1912 View Post
    I see this:
    <!--

    On your page, looks like something is wrong.
    BTW, try to print out:
    print_r($_SESSION['category_tree']->retrieve_deepest_level_children(14));
    And see which cats are printed out.
    Array ( [0] => 3 [1] => 4 [2] => 5 [3] => 6 [4] => 7 ) is printed out. Looks like something is broken. Checked database and all looks fine.

    I have added the line on the site, take a look.

    Thanks
    Dan

  5. #85
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple Category Tree

    Did you call the function build_deepest_level_children() before trying to retrieve?
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  6. #86
    Join Date
    Mar 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Simple Category Tree

    Quote Originally Posted by yellow1912 View Post
    Did you call the function build_deepest_level_children() before trying to retrieve?
    No, but added it and made no difference! I am stumped!

    DanP

  7. #87
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple Category Tree

    Copy your code here. I really cant help if you just say you add it and I dont know if you did use the right code or not.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  8. #88
    Join Date
    Mar 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Simple Category Tree

    Quote Originally Posted by yellow1912 View Post
    Copy your code here. I really cant help if you just say you add it and I dont know if you did use the right code or not.

    $_SESSION['category_tree']->build_deepest_level_children();
    print_r($_SESSION['category_tree']->retrieve_deepest_level_children(14));

    and in the sidebox

    $_SESSION['category_tree']->build_deepest_level_children();
    echo $_SESSION['category_tree']->build_category_string('ul', 'li', '<br>', $_GET['cPath'], 4, false, true) ;

    Thanks, DanP

  9. #89
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple Category Tree

    It is not built correctly for some reason.
    Try to update to this:
    https://svn.rubikintegration.com/zen...ories_tree.php

    You can also PM the ftp info so I can take a look
    Quote Originally Posted by DanP View Post
    $_SESSION['category_tree']->build_deepest_level_children();
    print_r($_SESSION['category_tree']->retrieve_deepest_level_children(14));

    and in the sidebox

    $_SESSION['category_tree']->build_deepest_level_children();
    echo $_SESSION['category_tree']->build_category_string('ul', 'li', '<br>', $_GET['cPath'], 4, false, true) ;

    Thanks, DanP
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  10. #90
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple Category Tree

    @DanP: fixed. That was indeed a bug.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

 

 
Page 9 of 25 FirstFirst ... 789101119 ... LastLast

Similar Threads

  1. Category Tree
    By fneergaard in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Aug 2010, 11:42 PM
  2. Redesigning Category Tree
    By moomo in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 30 Dec 2009, 01:53 PM
  3. Category tree
    By ner0tik in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 10 Aug 2006, 02:19 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR