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

Yahootreemenu with ajax.

Locked

Views: 80,450

Results 1 to 20 of 290
This thread is locked. New replies are disabled.
21 May 2006, 3:58 AM
#1
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

Yahootreemenu with ajax.

Following on from this thread by Andrew Yer
http://www.zen-cart.com/forum/showthread.php?t=31384&highlight=ajax

I was wondering if anyone has worked out how to change it to use it if your store is in a directory (ie not in the route).

21 May 2006, 12:18 PM
#2
magicpants avatar

magicpants

Zen Follower

Join Date:
Aug 2005
Posts:
314
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Hey Reesy, maybe I'm confused by your question -- but my store is not in the root and the yahootreemenu works great for me. Maybe you're referring to a post by Andrew that says categories.php needs to be in the root. That's because that file in the contrib was just floating outside of the folder structure and confused some of us where to put it. Anyway, he means to place it in the root of your shop, whereever that might be.

By the way, I just compared the standard categories sidebox to the yahootreemenu -- I went from 1100 database queries on a random page with the standard cat sidebox to 85 with andrew's contrib! Wow!

21 May 2006, 3:00 PM
#3
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

Re: Yahootreemenu with ajax.

Hi Majicpants,
Thanks for your reply. I can also confirm that it works wonders, and the main reason I implemented it was as you said that your query number can be drastically reduced.

I actually got a bit confused and was refering to one of Andrew`s other contribs (also using ajax) which doesnt currently work if your site is in a directory.
Please excuse any confusion on my part.

Thanks
James

22 Jun 2006, 12:34 AM
#4
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Re: Yahootreemenu with ajax.

hi...

can someone take a look at my still-under-development site http://melaka.mschosting.com/~toprace/d1mart2! i am using the ajax yahoo tree menu by andrew on v1.3.0.1! what a great mode! i tried to PM andrew but no luck! at my site, when you try to click and expand the food categories, it wont expand! before this, its working nicely...any thoughts?!

22 Jun 2006, 2:28 AM
#5
magicpants avatar

magicpants

Zen Follower

Join Date:
Aug 2005
Posts:
314
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

What's different about the food category? What's at the next level? Just categories? Or are products mixed in?

Can you try to figure out if the food category differs in any way from the other categories? Have you tried creating a new category, and reimporting the products into that category to see if it works?

22 Jun 2006, 7:03 AM
#6
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Re: Yahootreemenu with ajax.

thanx magicpants for trying to help me! i just got it fix...thanx for tips! :thumbsup:

23 Aug 2006, 4:53 AM
#7
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Can anyone tell me how to change name YahooMenu to Categories ?I think i need change that name...
This addon is so cool :D

23 Aug 2006, 5:05 AM
#8
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

Re: Yahootreemenu with ajax.

admin>tools>developerstoolkit>enter whatever text you like into the very bottom box et voila it will tell you in which files that text is.

This is definately one of the best contribs Ive come across and I think it should be integrated into the next version of zen cart personally!

23 Aug 2006, 5:18 AM
#9
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Copy the following file:
includes/languages/english/extra_definitions/yahootreemenu.php

And save to your override directory:
includes/languages/english/extra_definitions/YOUR_TEMPLATE/yahootreemenu.php

And if you have another language, also save it to your override directory of another language:
includes/languages/YOUR_LANGUAGE/extra_definitions/YOUR_TEMPLATE/yahootreemenu.php

Then modify the line below:

define('BOX_HEADING_YAHOO_TREEMENU', 'YahooMenu';

Please note, only change the text YahooMenu to the text you prefer. And do not change the two quotation marks ' '.

.

23 Aug 2006, 5:42 AM
#11
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

It missing the image files for the cursors and pointer to display.

Copy the following dirctory and images inside it:
includes/templates/template_default/images/menu/.

to your template override dirctory:
includes/templates/YOUR_TEMPLATE/images/menu/.

It should have 8 image files.

.

23 Aug 2006, 5:55 AM
#12
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Thanks all.I was fixed my problems.
Best regard :smile:

23 Aug 2006, 6:55 AM
#13
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Re: Yahootreemenu with ajax.

please check carefully those files that need to be in their corret directories! it seems that it can't find the image for expanded category! check your images file...

23 Aug 2006, 4:37 PM
#14
zapisto avatar

zapisto

Zen Follower

Join Date:
Aug 2005
Posts:
163
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

did this contrib work with 1.3.0.x ?
i try and dont seem to work.
thanks

24 Aug 2006, 5:46 PM
#17
zapisto avatar

zapisto

Zen Follower

Join Date:
Aug 2005
Posts:
163
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

work great on windows but not at all on IE
any info to fix this problem ?

thanks

24 Aug 2006, 5:50 PM
#18
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

Re: Yahootreemenu with ajax.

It works fine in ie 6, ff, netscape, and zencart 1.3.0.2, 1.2.7 and 1.2.5
If its not working you have prob not installed it correctly.

24 Aug 2006, 6:42 PM
#19
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

Zapisto:

work great on windows but not at all on IE
any info to fix this problem ?

thanks
Windows and IE should coexist normally, isn't it? :smile:

If you had downloaded the file form the download area. I had tested with IE6.

Please check that in your
includes/templates/template_default/sideboxes/tpl_yahootreemenu.php
and / or
includes/templates/YOUR_TEMPLATE/sideboxes/tpl_yahootreemenu.php

Do you have the lines below around line 40.

		// Replaced yahooTreeMenu by yahootreemenuContent for v1.3.x override 
    . '  tree = new YAHOO.widget.TreeView("yahootreemenuContent");' . "\n"
25 Aug 2006, 5:01 AM
#20
zapisto avatar

zapisto

Zen Follower

Join Date:
Aug 2005
Posts:
163
Plugin Contributions:
0

Re: Yahootreemenu with ajax.

seethrou:

Windows and IE should coexist normally, isn't it? :smile:

If you had downloaded the file form the download area. I had tested with IE6.

Please check that in your
includes/templates/template_default/sideboxes/tpl_yahootreemenu.php
and / or
includes/templates/YOUR_TEMPLATE/sideboxes/tpl_yahootreemenu.php

Do you have the lines below around line 40.

	// Replaced yahooTreeMenu by yahootreemenuContent for v1.3.x override 
. '  tree = new YAHOO.widget.TreeView("yahootreemenuContent");' . "\n"


i have this in 
includes/templates/MY_TEMPLATE/sideboxes/tpl_yahootreemenu.php

and sorry
i mean firefox :) not windows :)