I've tried several ways to get this module to work.
I've read the documentation on renaming the path from the Yahoo! server - http://yui.yahooapis.com/2.6.0 (also tried http://yui.yahooapis.com/2.5.0), and uploading the YUI (downloaded from Yahoo!, vs 2.6.0) to http://www.sitename.com/sites/default/files/yui and http://www.sitename.com/sites/default/files/lib/yui.
Also tried with no www. in the URL...

I have created a new Primary meny item, enabled and expanded it, then added new menu items under it...
I set the YUI Menu settings to all possible variations of "Menu Display type", all with and without "Animated Menu" ticked...
No drop downs appear...???

What I found is:
The YUI Rich Text Editor (which I have installed too) works when I have http://yui.yahooapis.com/2.6.0 (or http://yui.yahooapis.com/2.5.0), but the menu (Primary and Navigation) don't work - I.e. No drop down menus appear.
If I change the "Location of YUI library" to the local path (with the various options as described above), then both menu drop downs and Rich text editor do not work...

I've tried this on Drupal v6.9, Drupal v6.8, using IE7 with XP and service pack 3...

Any suggestions?

Thank you...

Comments

stoinov’s picture

Version: 6.x-1.1-rc1 » 6.x-1.x-dev
Priority: Normal » Critical

I have the same issue - with a twist.
I have installed YUI-2.6.0 locally on my server. At fist both RTE and menu dint want to work unless I use YUI from the yahoo site. But after some moving around and renaming the yui folder to yui-2.6.0 RTE started working from the local files but the menu still shows only buttons for the 1-st level and doesn't show sub levels. I can see the info for the tree structure is in the source but it just doesn't show the dropdowns unless I use YUI directly from the yahoo site. I tried all the version and its working OK from 2.5.0 to 2.6.0 from the site but with non of them locally.

P.S. YUI Menu on IE8 is very unusable unless you choose compatibility mode.

cloxzime’s picture

I am having this problem too. Why they created such modules that work and need to configure very hard and difficult. Makes people headache like me. I hate it!

What is buzzing around my head right now is 'files/lib' ... what it that mean? Install inside the folder/directory or just write the 'files/lib' for unknown purpose...?

Please, somebody explain more about this. Yui..yui..yui...why are those modules are created but difficult to understand the needs....

asb’s picture

Hi,

confirming, similar problem here: no dropdowns appear (Opera 9.x)

Greetings, asb

Net Mystic’s picture

I am also trying to install the YUI library locally, so I can edit the CSS for theming. The menu drop downs work fine when pulling from Yahoo's server, but not when YUI is installed locally.

Can someone PLEASE help us out! Thanks in advance!

~ Net Mystic

Seabolt’s picture

Component: User interface » Code
Category: support » bug

I'm also having this problem.
For me, it is because the script tags are in the wrong order.
It seems that this is due to the use of drupal_set_html_head() instead of drupal_add_js() in yuimenu.module and yui.module.

tnlone’s picture

Priority: Critical » Normal

I had the same problem with the YUI menu. I tried this work about and it's working with breeze.
I hope this helps people:

1.Download and install YUI module in your module directory.

2.Download and install YUI Menu Module in your module directory.

3.Enable both the modules at you admin/build/modules page

4.add this code to your page.tpl.php page at sites/all/themes/

if (module_hook('yuimenu','menu') && ("tns" == variable_get('yuimenu_type','tns') || "tnm"==variable_get('yuimenu_type','tns')) ){

print html_menu(variable_get('yuimenu_root','1') );

}

where ever you want the YUI menu to be visible.

5.Downlaod the latest library from the Yahoo API or this link. Extract the library in your root folder of localhost. NOT YOUR DRUPAL FOLDER.

6.Rename the extracted folder 2.0.5

7.Now check it's accessible from the browser by typing this http://localhost/2.5.0 or http://yoursitename/2.5.0

8.Now go to admin/settings/yu page and change the Location of YUI library: to http://sitename/2.5.0 where (sitename is to be replaced by your sitename)

9.Click save and go to admin/settings/yuimenu and mark your preferences.

10.This should solve the problem.

carneeki’s picture

Hello tnlone,

Thanks, your instructions worked like a charm in D6! :)

Regards,

Adam

DarrellDuane’s picture

I wasn't able to get the dropdown menus to work with the latest releases. I fixed this problem by reverting to yui 6.x-1.1-beta3 and yuimenu 6.x-1.1-beta4

murari’s picture

Component: Code » Miscellaneous

I had this problem and I'm using YUI - 6.x-1.1 & YUI Menu - 6.x-1.1. I got it working by entering the full path to the YUI Library ie, sites/all/themes/[themename] or sites/default/files/[yui-lib].

The instruction in the YUI Menu module is misleading in asking for a simple "files/lib" path, it needs the complete path to the library and should work...

parolin’s picture

@DarrellDuane -

You saved me hours of researching and fiddling around. Thanks for posting your solution. I was having the exact same problem of the dropdowns not working. My path to the lib was correct, but still no go. I downgraded to yui 6.x-1.1-beta3 and yuimenu 6.x-1.1-beta4, and presto. All was good in the world again.

Thanks!

(Note: I was using YUI - 6.x-1.1 & YUI Menu - 6.x-1.1, and it was not working. Thus, I downgraded.)

bakyildiz’s picture

Status: Active » Fixed

Hello guys. I have added the following lines into readme.txt file within the yuimenu module. I am sorry for missing directions.


IMPORTANT note before starting installation
------------------------------------------
Did you follow the instrtuctions in yui module? Before you start following the instructions below please check the
readme.txt file in yui module. Set up the yui library first and then follow this file.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

asiby’s picture

The readme.txt is unbelievably vague. And the YUI itself is almost impossible to download.

Last time I tried to download it, the file size was 13MB. Never gonna happen.

I will use nice menu instead.

Bye bye YUI menu.

cathyF’s picture

I'd like to know wher to find the library, where to put it and its name.
When I go there: http://developer.yahoo.com/yui/2/ , I can't figure out what to download exactly.
A client bought a theme from templatemonster and the menu works fine on the demo. But after I installed drupal and the theme, the menu disn't work at all.
It only works if I reset the default way to yahoo library.
Any help?
Thank you!

rajmataj’s picture

I found a temporary solution to get it working here: Yahoo YUI » Issues » YUI menu not working after update to 1.2 » #16