Hi, I just need a quick clarification as I couldnt get this to work with local libraries:

I have extracted the YUI libraries as follows:

ls D:\xampp\htdocs\drupal.511\files\lib\yui
README
build
examples
tests
assets
docs
index.html

What should the "system location of YUI library" be set to?

I tried both: "files/lib" or "file/lib/yui" but neither works.

If I set it to http://yui.yahooapis.com/2.5.0, works fine, but I'd like the libraries to be local.

Thanks!

Comments

bakyildiz’s picture

On YUI Common Settings page set Location of YUI library to http://yourserver/files/yui and extract the yui libraries under the files directory (like files/yui). That should help you.

http://yourserver/files/yui/build/.... is the correct path and that must be seen in your html body.

tborrome’s picture

thanks. good info to add to docs. great module!

kattkung’s picture

well, I put yui in the path drupal-6.4/sites/default/files/lib/yui/build...
In the path, I refer to files/lib/yui. But it didn't work. It is 2.5.0 version.

bakyildiz’s picture

I refer to files/lib/yui.

did you put your http://yourserveradress/ in front of your path?

kattkung’s picture

yes, I put http://agemiddle.net/files/lib/yui in front of path in production. As I said that Yui is in drupal-6.4/sites/default/files/lib/yui/build...

bakyildiz’s picture

May be the problem ise the sites/default path. Try to give the path in yui common settings like http://agemiddle.net/sites/default/files/lib/yui

kattkung’s picture

Version: 5.x-2.4-beta2 » 6.x-1.1-beta3

OK it works now.

bakyildiz’s picture

Assigned: Unassigned » bakyildiz
Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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