Hi All,
I am trying to add the YUI library to my development installation of Elgg, but every time I add it into the mod folder, it causes all the screens to blank out as white. Ideally, I'd like to create functionality that allows me to drag and drop profile widgets.
Apologies in advance if this has already been covered, I did look for it, and also if I am asking a stupidly silly question!!
Many thanks
Luke

Comments
Put
ini_set('display_errors', 'On');
near the top of /mod/yui/lib.php
and see if you get any error messages.
Strange - When I add the line mentioned only the index page is displayed, when I navigate to another page it displays nothing.
Could this be due to other plugins installed on my elgg - currently have, media gallery, explode/generic widgets and the message plugin installed.
I've been doing some futher testing and I've found that if I copy just the build directory of the YUI pliugi, excluding the lib.php and config.php files I can manually navigate to manage_widgets.php and make use of the YUI in the AJAX interface. Sounds like a configuration issue?
When I naviagate to manage_widgets.php, just before the page loads, an error does show on the screen for less than a second?
"function yui_pagesetup doesn't exist"
Is this all part of the same problem?
Thanks for your help anyone. :-)
You do need /mod/yui/lib.php and /mod/yui/config.php to get the plugin to work properly.
There seems to be something wrong with your version of /mod/yui/lib.php. Take a look at that. It should be a very short file.