Zen Cart Logo
Forums / All Other Contributions/Addons / Yahootreemenu with ajax.

Yahootreemenu with ajax.

Locked

Views: 80,451

Results 121 to 140 of 290
This thread is locked. New replies are disabled.
19 Jan 2007, 11:39 AM
#121
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Yahootreemenu with ajax.

mvveelen:

Thanx !

Is it OK when I only see the load.gif and the triangle-shaped gifs ?

Woot ! Woot !

So you are only seeing the triangles and load.gif with no categories?

19 Jan 2007, 4:52 PM
#122
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

When I copied the tree.css to the stylesheet.css file I just don't get the load or triangle gifs. How can I get everything working 100%. Great mod though.

22 Jan 2007, 1:31 PM
#123
mvveelen avatar

mvveelen

New Zenner

Join Date:
Jan 2007
Posts:
27
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

ctcentralinfo:

So you are only seeing the triangles and load.gif with no categories?

As far as I know, I can see all the images. The triangles (up/down/right/open/closed/loading) an also the subcategories are there :)

23 Jan 2007, 7:17 AM
#124
mvveelen avatar

mvveelen

New Zenner

Join Date:
Jan 2007
Posts:
27
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Andrew_Yer:

The workaround is:

In the includes/templates/template_default/sideboxes/tpl_yahootreemenu.php
find (~ 217 line) the code

   foreach ($categories[$expanded[$i]]['child_list'] as $cat) {
      $ret .= renderNode($categories, $cat, $expanded[$i], $categories[$cat]['child_count'], ($categories[$cat]['categories_id'] == $expanded[$i+1]) and ($i < $iter_num - 1), $cat == $expanded[$i + 1], YAHOOTREEMENU_WITHOUT_AJAX);
    }
>  
> And replace it with the code:
>  
> ```
      if (is_array($categories[$expanded[$i]]['child_list'])) {
        foreach ($categories[$expanded[$i]]['child_list'] as $cat) {
          $ret .= renderNode($categories, $cat, $expanded[$i], $categories[$cat]['child_count'], ($categories[$cat]['categories_id'] == $expanded[$i+1]) and ($i < $iter_num - 1), $cat == $expanded[$i + 1], YAHOOTREEMENU_WITHOUT_AJAX);
        }
      }

This workaround doesn't work for me (1.3.7 with v.09)......and I really want the menu to open the categories when I click them.....

Any idea ?

23 Jan 2007, 9:30 AM
#125
mvveelen avatar

mvveelen

New Zenner

Join Date:
Jan 2007
Posts:
27
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

hmm, strange.........now it works ;) ??

23 Jan 2007, 10:59 AM
#126
mvveelen avatar

mvveelen

New Zenner

Join Date:
Jan 2007
Posts:
27
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

hhmmmm, strange.........it DOESN'T work !!

The error is gone, but the subcategories are displayed TWICE beneath eachother, like this :

MAIN

  • sub1
  • sub2
  • sub3
  • sub4
  • sub1
  • sub2
  • sub3
  • sub4

What's wrong ??

I can't seem to get it back to what it was before. When I open a MAIN category, it is ol, but when I click a subcategory, it shows all the subcategories twice.....help ?

23 Jan 2007, 11:13 AM
#127
mvveelen avatar

mvveelen

New Zenner

Join Date:
Jan 2007
Posts:
27
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Pffffff, well I found out it was the last setting in yahootreemenu.php :

define('YAHOOTREEMENU_WITHOUT_AJAX', false);

I had turned it to "TRUE" and my menu didn't like that....so it's "false" again ;)

Great work by-the-way !

25 Jan 2007, 12:16 AM
#128
hbtrading avatar

hbtrading

New Zenner

Join Date:
Jan 2006
Posts:
82
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

md5577:

This is a great mod, for some reason the arrows don't show up in internet explorer but they work fine for firefox, is there anything I am missing? thanx :)

I'm not sure if this issue was resolved in the forums..anyhow the fix to this problem is to rename the tree.css file to stylesheet_tree.css

25 Jan 2007, 2:56 PM
#129
andrew_yer avatar

andrew_yer

New Zenner

Join Date:
Feb 2006
Posts:
59
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

hbtrading:

I'm not sure if this issue was resolved in the forums..anyhow the fix to this problem is to rename the tree.css file to stylesheet_tree.css
This issue (and some others) fixed in the v1.0. Not realised yet.

30 Jan 2007, 8:12 AM
#130
handkraft avatar

handkraft

New Zenner

Join Date:
Jan 2007
Posts:
8
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Hi Andrew_Yer,

You're doing a great work!!! When are you going to publicate a new release?

1 Feb 2007, 2:26 PM
#131
sophwise_com avatar

sophwise_com

New Zenner

Join Date:
Apr 2006
Location:
Sunny California
Posts:
44
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Yes, excellent work! I too would like to know if the 1.0 is around anywhere.

I'm also interested in the ajax cart summary sidebox if anyone knows what the status of that one is...[holding breath]

3 Feb 2007, 4:45 PM
#132
robbbert avatar

robbbert

New Zenner

Join Date:
Feb 2007
Posts:
1
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Hi, thanks for providing ZenCart and the YahooTreeMenu.

I was trying to use the YahooTreeMenu with 15,000 products and 5,000 categories. After 30 seconds, it regularly times out at that point:

    while(!$productsCount->EOF) {
      if (array_key_exists($productsCount->fields['categories_id'], $categories)) {
```Any ideas?
8 Feb 2007, 9:02 AM
#133
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Yahootreemenu with ajax.

Andrew-

What will be implemented in the next version?

  1. The method to also display product links in the uncollapsed sub category menus.
    Will that feature be in the new version 1.0 you are coming out with soon?

Woody

8 Feb 2007, 6:39 PM
#134
andrew_yer avatar

andrew_yer

New Zenner

Join Date:
Feb 2006
Posts:
59
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Woodymon:

Will that feature be in the new version 1.0 you are coming out with soon?
I think yes, but not shure.

18 Feb 2007, 10:21 PM
#135
immersive avatar

immersive

New Zenner

Join Date:
Oct 2006
Location:
Alaska
Posts:
48
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Is there anyway to make is so when you click a top category it shows the subcategories instead of going to the category page? I.e., make is so when the top category is clicked it is as if the [+] button was clicked and it just opens up the subcategories.

19 Feb 2007, 6:16 AM
#136
andrew_yer avatar

andrew_yer

New Zenner

Join Date:
Feb 2006
Posts:
59
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

immersive:

Is there anyway to make is so when you click a top category it shows the subcategories instead of going to the category page?
includes/extra_datafiles/yahootreemenu.php
YAHOOTREEMENU_SHOW_CATEGORY_LINK

Play with this option.

19 Feb 2007, 7:24 PM
#137
immersive avatar

immersive

New Zenner

Join Date:
Oct 2006
Location:
Alaska
Posts:
48
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Thanks, I didn't know that was on by default. Everything seems to be working ok exept for the loading gif that animation is cut off a a bit.

19 Feb 2007, 7:27 PM
#138
immersive avatar

immersive

New Zenner

Join Date:
Oct 2006
Location:
Alaska
Posts:
48
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Ok I figured it out. In the css file I had to made the width on the loading.gif wider.

19 Feb 2007, 9:25 PM
#139
immersive avatar

immersive

New Zenner

Join Date:
Oct 2006
Location:
Alaska
Posts:
48
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

One more thing, how could I make the top category not be bold once a subcategory is selected? I would still like the subcategory to remain bold. Thank you. BTW, awesome mod!

27 Feb 2007, 3:57 PM
#140
hernando avatar

hernando

New Zenner

Join Date:
Feb 2007
Posts:
2
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Hello yahoo tree menu is great stuff, i'm setting up zencart (1.3.7) and i installed this sidebox, but i have problem. I read whole this thread, but no luck with fixing my ytm. Problem is that on windows (i tested it just under explorer) it doesn't show plus and minus images. Anyone had same problem? Plz reply me, i'm trying to make it for for whole month, and i'm going to be hopeless.Thanks in advice